Q VS2008I have an installation project that installs Primary output of one application to the application folder and Primary Outputthe class library project to a subfolder of the application directory.
Both projects reference several third-party assemblies (some elements of the DevExpress UI ).
When I install the application, the subfolder is created successfully, and the assembly of the class library is correctly placed there. However, all third-party assemblies are duplicated in this folder (they are located in the main application folder and subfolder).
Another completely strange behavior (IMO) is that if I delete additional assemblies manually from a subfolder, I run the executable in the application folder, the deleted assemblies will be copied to the subfolder again.
Then I modified the installation project to install the assembly of the class library from its Debug folder (as opposed to Primary Output). When I install the application, the DLLs DevExpressstill go to both folders. (However, if I remove the additional assemblies and run the executable, additional dependencies will not appear this time.)
What's going on here? All I want is a class library that I add Setup Projectto display in a subfolder, and the executable and all the dependencies are in the application folder.
, VS2005, . VS2008, ?