views:

6

answers:

0

I have a Web Setup project in VS. I'll be switching to WiX, but that's in the future and currently I need to solve the following issue.

I need to exclude some common dlls from the project. So I build the project, VS updates the list of Detected Dependencies. I exclude them and the setup builds. 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 do the build, some of the dependencies do not show as excluded! And so they end up in the MSI. (This is what is happening on the build machine).

I think that the problem might be with the fact that these are second-level dependencies: my app -> NHibernate.dll -> Antlr3.Runtime.dll (Antlr dll ends up in the MSI).

Is this a bug or am I missing something?