I am wondering if it is possible to build a project into two identical dlls that have different assembly names and guids. similar to the post build macros that allow one to copy and rename the dll - I imagine something like a pre-build command to build dll #1 with assembly name 1 and guid 1 and then build the same project again with assembly name 2 and guid 2. I have searched the net but everything I could find pointed to the usual post build macros for renaming the dll file. Many thanks in advance.
-
1I haven't done that specifically, but I can imagine you can create a second project with a different assembly name/GUID, link files from the source project, and you can compile both simultaneously. You can use Project Linker to help keep the projects synchronized. EDIT: I've done this to simultaneously compile Silverlight and Xamarin.Android projects from the same source code.Chris Sinclair– Chris Sinclair2014-02-13 02:15:32 +00:00Commented Feb 13, 2014 at 2:15
-
great suggestion! didnt know project linkertimkado– timkado2014-02-13 02:16:57 +00:00Commented Feb 13, 2014 at 2:16
Add a comment
|
1 Answer
I haven't done that from a single project, but you can create a second (or third or fourth) project with a different assembly name/GUID, link files from the source project, and you can compile both simultaneously from the same solution.
You can use Project Linker to help keep the projects synchronized.
1 Comment
Chris Sinclair
@timkado: VS2013 installation instructions: stackoverflow.com/a/21630385/1269654