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

前端 未结 13 1056
野性不改
野性不改 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:26

    I would like to add, that I get the same error when I edit the deployment project from my computer instead of the dedicated compiler computer.

    The last time I got that error I needed to roll back the last changes, and re-do it from the dedicated compiler computer.

    0 讨论(0)
  • 2021-01-31 07:27

    Restarting VS2010 didn't work for me but I managed to get everything working by doing a 'Clean Solution', then a 'Build Solution'. Trying 'Rebuild Solution' after the clean didn't work however. Then I could run the Solution with F5 as normal.

    0 讨论(0)
  • 2021-01-31 07:30

    This can also happen when you are trying to debug and have selected the Release mode. Got me just now :(

    0 讨论(0)
  • 2021-01-31 07:31

    Closing VS2010 and then re-opening it has always worked for me :)

    0 讨论(0)
  • 2021-01-31 07:34

    There is a long discussion thread about this on MSDN. It seems like there are many possible causes. The discussion includes a few links for this problem from Microsoft. Here is a hotfix for VS2005 and here is a workaround for VS2010.

    0 讨论(0)
  • 2021-01-31 07:36

    This solved the same problem for me: I added the assemblies that were mentioned in the error message to the GAC. When I recompiled the project the dll's appeared under "Detected Dependencies" in the Solution Explorer and I got the same error. Then I excluded the dll's (right-click and select Exclude) and the project finally compiled ok.

    0 讨论(0)
提交回复
热议问题