PDA

View Full Version : Two Project outputs fails to deploy detected assemblies



flagrant99
12-09-2015, 04:39 PM
IIS Root\WebApp1\VirtualDir1\bin
IIS Root\WebApp1\VirtualDir2\bin

I have two separate visual studio 2015 project outputs going to each bin folder.
Each .NET component output is set with .NET Settings -> .NET Scan at Build -> Dependencies and Properties
If I look under Application Data\Files and Folders\Primary output Dependencies from Scan at build INSTALL SHIELD displays the correct Dependencies for both outputs.

However at deployment time it refuses to deploy duplicates in VirtualDir2\bin folder.
For example both reference Microsoft.Practices.EnterpriseLibrary.Common.dll. However the deployer only installs it to \VirtualDir1\bin.

The thing I don't get is Install Shield knows about both. Why does it refuse to install both.

I have seen a similar question here
https://community.flexerasoftware.com/showthread.php?214445-Installshield-Visual-Studio-quot-primary-output-quot-and-missing-dependencies&highlight=missing+dependencies+visual+studio

But I don't understand the answer.