I have a large solution which has multiple apps which all share some common site elements (masterpages, navigation, etc).
Currently, all of these get built into a single DLL
If my structure looks like:
WebRoot
- Common/
- Shared/
- Images/
- App1/
- App2/
- etc
Is there a build tool which will allow me to build WebRoot.dll, App1.dll, App2.dll? I don’t believe this is possible in VS2008 or the MSBuild tool.
You can do this by using Web Deployment Projects (WDP for VS 2008, WDP for VS 2010). After you download and install that on your web you can right click and select ‘Add Web Deployment Project’. Then you can just double click to configure that project. You can configure how the assemblies get generated. The four different options include.
Under the covers the WDP is simply invoking the aspnet_compiler.exe as well as aspnet_merge.exe.