2

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.

2
  • 1
    I 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. Commented Feb 13, 2014 at 2:15
  • great suggestion! didnt know project linker Commented Feb 13, 2014 at 2:16

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

@timkado: VS2013 installation instructions: stackoverflow.com/a/21630385/1269654

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.