Error 1 Unable To Update The Dependencies Of The Project
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or error unable to update the dependencies of the project. the dependencies for the object cannot be determined posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss
Unable To Update The Dependencies Of The Project. The Dependencies For The Object Cannot Be Determined
Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only unable to update the dependencies of the project vdproj takes a minute: Sign up Compile Setup project with devenv.com - “ERROR: Unable to update the dependencies of the project” up vote 21 down vote favorite 3 I have a Setup deployment project in VS 2010. The project compiles perfectly unable to update the dependencies of the project setup vdproj with the GUI interface of VS 2010, but any time I trying to compile it via vs cmd (devenv.com) it comes up with this error: ERROR: Unable to update the dependencies of the project. Notice that there is NO dll that mentioned in the error (e.g. the error does NOT contain "The dependencies for the object ‘xxx’ cannot be determined"). Please do not tell me to clean all the files in this setup and start from ground up - this is
Unable To Update The Dependencies Of The Project Installer
not a real solution! I have 5 projects with this exact error, and I don't want to re-arrange each one. More then that, this does not promise me that the problem will not re-occur in the future. Thanks very much! visual-studio-2010 devenv vdproj share|improve this question asked Oct 2 '11 at 8:04 Orad SA 4552715 3 support.microsoft.com/kb/2286556 –Hans Passant Oct 2 '11 at 11:55 2 The link is broken to this hot fix –gb2d Oct 7 '15 at 9:06 add a comment| 7 Answers 7 active oldest votes up vote 27 down vote I used to rebuild these installer projects from scratch when they stopped working (for whatever reason), but I've found a much much quicker (and less error-prone) workaround. It works for me. Maybe it will work for you. Remove the Installer project from your solution through the IDE interface Add the Installer project back into your solution (Add > Existing Project...) Rebuild It works practically every time for me... John share|improve this answer answered Jun 24 '14 at 22:11 John Kroetch 813713 This worked for me as well although afterwards I had to fix the shortcut targets for the desktop and program menu. –bic Jul 14 '14 at 14:44 Yes, sometimes I have to relink a couple of things, but it sure saved me tons of time & wasted debugging effort. :) –John Kroetch Jul 31 '14 at 16:51 2 I didn'
raised errors instead: ERROR: Unable to update the dependencies of the project. The dependencies for the object ‘MyAssembly.DLL' cannot be determined. Clicking the Refresh Dependencies command in the context menu of the setup project's Dependencies raised the error The operation could not be completed. These unable to update the dependencies of the project vs2010 errors occur in VS 2010, and seem to be around for several years now (connect, c# unable to update the dependencies of the project connect, connect). Workaround From the workarounds section of this Connect entry, this solution worked for me: 1. Open .VDPROJ file (in a text
Unable To Update The Dependencies Of The Project Vs2013
editor) 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 http://stackoverflow.com/questions/7625225/compile-setup-project-with-devenv-com-error-unable-to-update-the-dependencie 5. Rebuild the project. I removed the whole sections "Hierarchy" and "File", which also worked. However, the whole procedure seems cumbersome considering you may have more than one setup project in a solution, and probably more than one solution you are developing or maintaining. Fix The error still seems to be present in VS 2010 SP 1. Fortunately, MS in the meantime provides the hotfix KB2286556 which solved the problem for now. Share on Facebook (Opens in https://devio.wordpress.com/2011/04/28/vs-2010-setup-project-error-updating-dependencies/ new window)Click to share on Twitter (Opens in new window)Click to share on Google+ (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Tumblr (Opens in new window)Click to share on Reddit (Opens in new window)Like this:Like Loading... Related This entry was posted on Thursday, April 28th, 2011 at 12:18 and is filed under Error'd, Setup Project, Visual Studio. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site. Post navigation « Previous Post Next Post » 14 Responses to VS 2010 Setup Project: Error updatingdependencies amir says: August 25, 2011 at 15:43 hi i have donload in apply hotfix but error still remain Reply rajeesh says: September 25, 2012 at 7:19 Its worked for me and really helpful. Thanks Reply Bernhard says: December 16, 2011 at 19:22 After deleting these lines of the .vdproj, VS2010 complains that it cannot open the project. Also, KB2286556 didn't help me either, although the symptoms look exactly the same here…😦 Reply John says: March 13, 2012 at 3:02 I got the same thing - the project will no longer load at all… Reply Paul Barsby says: May 8, 2012 at 19:03 Hotfix worked for me on top opf VS 2010 SP1. Thanks. Reply Cyrus says: July 5, 2012 at 8:27 I go
2012 back to Visual Studio 2010 to do maintenance on another project. This project is currently stuck in Visual Studio 2010 until I have time to convert the old setup projects to WiX. I http://www.ipreferjim.com/2013/01/unable-to-update-the-dependencies-of-the-project/ often receive the following error message during Release builds: "Unable to update the dependencies http://www.databaseforum.info/2/507183.aspx of the project" Closing Visual Studio 2010 and reopening seemed to have fixed the problem up until about a week ago. I've found that installing this hotfix seems to resolve the issue. The only problem is that I've had to install the hotfix multiple times. The 'cause' on the hotfix page says the issue is a unable to result of how Visual Studio 2010 refreshes dependencies. I wonder if this is handled by Windows Updates updating the .NET Framework? Whatever it is, it's pretty annoying to have to apply this patch regularly. I guess it's just another reason for developers to move setup projects to WiX. http://support.microsoft.com/kb/2286556 Related posts: Windows Installer Dilemma Visual Studio 2010: Logging in Learning WCF: IIS 7 won't start service from web project Visual Studio unable to update error, debugger can't start WiX Installer Update git push: fatal: unable to read SHA1 Oracle Exception: Could not load file or assembly ‘Oracle.DataAccess, Version=2.111.7.20… Fluent NHibernate error: Unable to cast object of type ‘Oracle.DataAccess.Client.OracleConnection' to type ‘System.Data.Common.DbConnection'. Errorsfixwix Post navigation Previous PostMy Review of Values, Units, and ColorsNext PostCommonJS Modules, node's require() and private members Developer James Schubert shares his code and his thoughts. Tags.NET Advanced Algorithms angularjs ASP.NET ASP.NET MVC beginner C# Code droid eBooks Errors Examples Exploring fix Fluent NHibernate github Google Google APIs Google Maps hosting IL Javascript jQuery links LINQ linux msbuild nodejs oracle perl Projects Python rant Reflection Review Reviews Ruby SQL testing Tricks Ubuntu Visual Studio wix wordpress Archives Archives Select Month May 2016 (1) April 2016 (1) December 2015 (1) November 2015 (1) October 2015 (1) June 2015 (1) May 2015 (1) April 2015 (3) March 2015 (5) February 2015 (1) January 2015 (2) December 2014 (1) November 2014 (4) October 2014 (2) September 2014 (1) August 2014 (3) June 2014 (1) April 2014 (2) March 2014 (1) February 2014 (1) November 2013 (2) October 2013 (1) August 2013 (1) July 2013 (1) June 2013 (3) April 2013 (1) March 2013 (2) January 2013 (1) November 2012 (1) October 2012 (4) Septemb
time I try to check my program into source control after making changes. The project builds and works fine until I check it in and check it back out then it won’t build. I have deleted the setup project and built a new one only to have the same problem after checking it into source control. It also givs me a warning that " Assembly ' FolderName\FileName.exe ' is incorrectly specified as a file. Any suggestions would be helpful. Visual C#18 Ben Ryan Posted: Visual C# IDE, Unable to update the dependencies of the project Top I need a little more information to try to narrow things down. I should mention that there do seem to have been similiar problems reported before [see: http://www.dotnet247.com/247reference/msgs/49/247883.aspx]. That posting also mentions setup builds breaking after doing a checkout from SCC (although they used VSS) in their case.A few questions:1) Is there more to the error message that just "Unable to update the dependencies of the project" Most of the posts I've seen with this error also include the path to the dependency in the error message.2) What kind of project(s) are we dealing with Is the setup project referencing web projects, C# projects, etc. 3) Have you tried doing a Save All Files and then doing Compare on the setup project's files after you've done the CheckIn and CheckOut to see what has changed There is a posting about setup project builds breaking due to AssemblyVersion changing [see: http://www.thescripts.com/forum/thread420289.html].Thanks,Ben Lee Gillie Posted: Visual C# IDE, Unable to update the dependencies of the project Top Ben - Although it is marked as the answer, I am not sure this answers the question. What I find is that if I have several projects in a solution, and start advancing version numbers on multiple projects before doing a build of the setup project, it will corrupt the setup project. At this point I must trash the setup project and start over. I do not use VSS integrally with VS IDE, and this can happen without involving any check in or check out. It is my theory the GUIDS on the dependency chain for complex solutions with perhaps multiple projects dependent upon other projects do not update properly when version numbers are advanced. It is as though these projects become "orphaned" in the application folder of the setup project. You can remove the original output project, and yet these dependency projects remain, still with the error. Please let us know a fix is in the pipe. Rapid d