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
I had the similar problem and found a fix in this very long and old discussion on MSDN.
As the user 'Jeff Hunsaker' on Thursday, August 26, 2010 5:51 PM answered (direct link not possible):
I just encountered this when upgrading Visual Studio 2008 Deployment Projects to VS 2010. Hans' (above) solution worked for me.
- Edit the .vdproj file in Notepad.
- Search for "SourcePath" = "8:
- For each assembly/dll, provide the full path
- Save file
Within my .vdproj file, I had several entries simply referencing the assembly:
"SourcePath" = "8:MyAssembly.DLL"Even though Visual Studio [somehow] knew the file location, I received the "Unable to update the dependencies of the project" error until I provided the full path:
"SourcePath" = "8:..\..\..\build\bin\MyCompany.MyAssembly.DLL"
Regards,
Jeff...
I noted which dependencies were reported by Visual Studio and wrote a script to fix them in case this is required.
Note that this now gives me a warning "Two or more objects have the same target location ('[targetdir]\MyAssembly.dll'). But I can live with that.