I have an ASP.NET MVC 2 application.
- The web project contains a link to SomeProject
- SomeProject contains links to ExternalAssembly1 and ExternalAssembly2.
- SomeProject explicitly calls ExternalAssembly1, but not ExternalAssembly2.
- ExternalAssembly1 calls ExternalAssembly2
When I do a local build, everything is cool. All DLLs are included in the bin \ debug folder. The problem is that when I use the Publish Web command in Visual Studio 2010, it deploys everything except ExternalAssembly2.
It seems to ignore assemblies that are not used directly (remember, ExternalAssembly2 is used only by ExternalAssembly1).
Is there any way I can tell Visual Studio 2010 to enable ExternalAssembly2?
I can write a dummy method that calls ExternalAssembly2. This really works, but I really don't want to have dummy code for the sole purpose of getting VS2010 to publish DLLs.
build-process visual-studio-2010 deployment asp.net-mvc-2 msdeploy
manu08 May 12 '10 at 1:29 2010-05-12 01:29
source share