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

后端 未结 6 1044
别那么骄傲
别那么骄傲 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条回答
  •  梦毁少年i
    2021-02-05 04:12

    This is copied from @timB33's external link, which works. All links to the MS hotfix appear to broken, so this was the only way I could find to fix without removing and recreating the setup project.

    I have consistently used this method to get around this bug instead of rebuilding my setup projects. This applies to both merge module projects AND setup projects. Manually remove the data in the Hierarchy and Files section of the project files.

    1. Open .VDPROJ file

    2. Find the "Hierarchy" section. Delete everything so the section looks like this: "Hierarchy" { }

    3. Find the "File" section. Delete everything so the section looks like this: "File" { }

    4. Reload the project

    5. Rebuild the project.

    6. You may need to re-add project outputs if missing something

提交回复
热议问题