Visual Studio 2010 Publish Web feature not including all DLLs
Posted
by manu08
on Stack Overflow
See other posts from Stack Overflow
or by manu08
Published on 2010-05-12T01:29:40Z
Indexed on
2010/05/12
1:34 UTC
Read the original article
Hit count: 322
I have an ASP.NET MVC 2 application.
- Web project contains a reference to SomeProject
- SomeProject contains references to ExternalAssembly1 and ExternalAssembly2.
- SomeProject explicitly calls into ExternalAssembly1, but NOT ExternalAssembly2.
- ExternalAssembly1 calls into ExternalAssembly2
When I perform 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 appears to ignore assemblies that aren't directly used (remember, ExternalAssembly2 is only used by ExternalAssembly1).
Is there any way I can tell Visual Studio 2010 to include ExternalAssembly2?
© Stack Overflow or respective owner