Different Web Setup Projects should have different output directories in Visual Studio 2005

I have 2 similar Setup Projects in Visual Studio 2005 solution. Actually second project was copied from the first one and some changes were done.


The first project has ouput file set as “ReleaseProject1.msi” and the second ““ReleaseProject2.msi”. I expected that “build solution“ will create both .msi files in the output directory.
However the second project cleans the output directory during build , and the Project1.msi was deleted.


The solution was to change output directory of the second project, e.g. ““Project2ReleaseProject2.msi”.