“Unable to update dependencies of the project” after committing to Subversion

前端 未结 13 1055
野性不改
野性不改 2021-01-31 06:50

I have a setup project in .NET. When I save the project and the other projects to subversion, the setup project no longer compiles. I get the error \"Unable to update dependenci

13条回答
  •  既然无缘
    2021-01-31 07:17

    Here are a couple of solutions that work:

    1) Removing one of the problem DLLs from the setup project, and then re-adding just that one resolved the problem for me. This worked even when there were many DLLs with the problem. Removing and adding just one of them triggered VS2010 to fix them all up somehow.

    2) Rebuild the solution, then try updating the dependencies again. The rebuild helps visual studio discover what the dependencies are, because it may be struggling to find the dependencies with nothing built.

    3) Restart Visual Studio

    The VS2010 hotfix linked above didn't work for me. Sometimes restarting VS2010 will fix the problem and when that doesn't work, doing the above works.

提交回复
热议问题