Background: Custom workflow activities for Microsoft Dynamics CRM.
Currently we have one project per custom activity, with a single class file in each project.
We would like to have a single project, with multiple class files, each compiling to a separate DLL to allow us to update them individually.
Is this possible?
I don’t think you can do this directly in Visual Studio, but, if you manually invoke the compiler in a script or makefile, it should be pretty straightforward.
For example,
csc /t:library /out:MyCodeLibrary.dll simpleType.cscompilessimpleType.cstoMyCodeLibrary.dll.You could run this as a post build step, to generate the assemblies you want. However, just be careful that whoever is using the project understands what is going on… most developers would expect a single project to produce a single dll.