For my C# apps I need to have default/neutral resources placed in a sattelight assembly, such that the output of a build looks like: MyApp.exe -AND- MyApp.resources.dll <- containing default/neutral resources How can I accomplish this using VS2008 and .NET runtime 2.0 or greater? Secondary question: How to keep the resources in the exe, and ALSO create a sattelite assembly dll for en (a complete one, not an empty one that falls back on looking in the main assembly exe).
+1
A:
Create a separate project called MyApp.Resources that only contains your resources. Have your main project depend on/refer to that project.
JSBangs
2009-12-17 19:57:05
While this could be done, I'm looking for a way to do it without creating a separate project.
Scott
2009-12-17 21:44:17
You could create a build task which compiles the resources into a separate assembly, or which copies them to the other project. That way you don't have to manually update two places.
Mikael Svenson
2009-12-18 09:08:09
Would this create an EXE without any embedded resources?I want an EXE without any embedded resources and a DLL with the default resources.
Scott
2009-12-23 19:19:07
Well, no one else has added any comment in some time, so, while I didn't exactly get the answer I was seeking, I'm going to accept what has been offered to this point as an acceptable solution.
Scott
2010-01-07 18:22:47