I have a web setup project in VS. I will switch to WiX, but in the future and now I need to solve the following problem.
I need to exclude some common DLLs from the project. Therefore, I am building a project, VS updates the list of detected dependencies. I exclude them and the assemblies are installed. I check the file list with Orca and the files are not included in the installer.
But when I clean my output directory, reload the solution and build, some of the dependencies do not appear as excluded! And so they end up in MSI. (This is what happens on the build machine).
I think the problem may be that these are second-level dependencies:
my app -> NHibernate.dll -> Antlr3.Runtime.dll
(Antlr dll gets into MSI).
Is this a mistake or am I missing something?
source
share