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.cs
compiles simpleType.cs
to MyCodeLibrary.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.
You can have a single solution, with multiple projects. Building the solution compiles each of the projects. Is this not what you want?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.