Compile Setup project with devenv.com - “ERROR: Unable to update the dependencies of the project”

后端 未结 6 1041
别那么骄傲
别那么骄傲 2021-02-05 03:33

I have a Setup deployment project in VS 2010. The project compiles perfectly with the GUI interface of VS 2010, but any time I trying to compile it via vs cmd (devenv.com) it co

6条回答
  •  一生所求
    2021-02-05 04:32

    This worked for me:

    1. Run a clean solution command from VS2010
    2. Open source code folder in explorer
    3. Search for *.exe files, sort by location
    4. Manually delete all files in Release folder

    If there exists some_project.vshost.exe locked up file, open properties of this project in VS, and uncheck "Enable the Visual Studio hosting process" under debug. Then remove it as well. It should build now.

提交回复
热议问题