Setup Project Error: Unable to update the dependencies of the project
Posted by Clayton James on June 5, 2006
UPDATED POST: 14/07/2006
Martin Wills has sent me some information about this problem. It is my lucky day 🙂
- Microsoft do now have a hot-fix for this problem – see http://support.microsoft.com/kb/917036/en-usYou need to ask for the fix – they then give you a web-site and a password.The fix seems to be working for me. After clearing the Hierarchy and File sections as described here and re-adding the files, I’ve had no recurrence of the issue.
Great work Martin and thanks very much for helping out.
OLD POST
I have been working on some Setup projects in vs2005 recently (which was converted from vs2003) and I have been receiving an error “Unable to update the dependencies of the project” when assembly versions change. The (setup) .vdproj file stores the version numbers for assemblies that it references. This file doesn’t update itself with the new version numbers and also REFRESH DEPENDENCIES fails with “The operation can not be completed”. I finally found a msdn feedback articleThis article has a workaround article which basically states the following:
Workaround Description:
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.
Workaround Steps:
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.
This workaround removes all of the files associated with the project, therefore, they will have to be re-added. A real pain until this issue is fixed.
Martin Wills said
Microsft do now have a fix for this problem – see http://support.microsoft.com/kb/917036/en-us
You need to ask for the fix – they then give you a web-site and a password.
The fix seems to be working for me. After clearing the Hierarchy and File sections as described here and re-adding the files, I’ve had no recurrence of the issue.
CJ said
Today must be my lucky day. I jump online and I have some news (a comment from Martin) that I have been wanting to hear for quite sometime. There is a HOT-FIX! Yeah!
Great work Martin and thanks very much for helping out.
dd said
Deleting the Hierarchy and file sections worked for me. Waiting for microsoft to send the hot fix. BTW there is a service pack coming out the end of Q3
Andrew Bassett said
I found that the workaround listed above did not work. It caused my project to be unloadable.
CJ said
Andrew
You need to be very careful when deleting the characters inside the Hierarchy and File sections. This file is very strict in its structure and one out of place character will make the project unloadable.
Laurent said
Thank you !!!
I had to cope with that issue all this morning. Not only I have a workaroud, but I also learnt there is a hotfix for that.
Again, thanks !!!
Rob said
Why does Microsoft suck so badly at making installers? Have you ever used ClickOnce? The internal data store gets corrupted every other time a user tries to update their application!
Idetrorce said
very interesting, but I don’t agree with you
Idetrorce
sathya said
I got the same problem with VS 2003, version 7.1.3088,.NET Framework 1.1.4322 & SP1.
The issue is with multi monitor setup. I have dual monitor setup and when IDE is on secondary monitor i could not change project dependencies but i can do when IDE is on primary monitor. It’s weird… but works
rauland said
Worked for me, thanks!
TJ said
I ran into this issue on a project converted from VS 2008 to 2010.
I tried your method, but VS2010 said it couldn’t read the vdproj after the edit.
After tearing my hear out and looking around the internet, I tried various different things, here is what worked:
1) Right Click on the ‘Detected Dependencies’ folder
2) Click ‘Refresh Dependencies’
3) Build the project
This worked for me. Hope someone else finds this useful.
jacques theron said
Worked for me too – seems great answer!
Jquery ajax data said
Might you intellect merely repost that to the blog? Quite
possibly to be certain credit score is given exactly where
it is credited. Have a good 1!
fahrrad-gps.de said
RV Handheld Shower Heads have been very instrumental in giving the user a shower experience that is hard to beat.
. As soon as a date is finalized, the guests would be informed.
Ravi Vooda said
Thanks it worked for me.
how to use coupons said
magnificent points altogether, you simply gained a logo new reader.
What would you recommend about your post that
you simply made some days ago? Any sure?
ventanadelpensamiento.blogspot.fr said
A fascinating discussion is worth comment.
There’s no doubt that that you should publish more on this issue, it may not be a taboo subject but generally people do not discuss such issues. To the next! Many thanks!!
online tutoring for sat preparation said
Unquestionably consider that that you stated. Your favorite reason appeared to be at
the internet the easiest factor to consider of.
I say to you, I certainly get irked even as folks think about
issues that they plainly do not recognize about.
You controlled to hit the nail upon the highest as neatly as
outlined out the whole thing with no need side-effects ,
other people could take a signal. Will likely be again to get more.
Thanks
game designer colleges said
I am no longer positive the place you are getting your info,
however great topic. I needs to spend a while finding out much
more or working out more. Thank you for great information
I was on the lookout for this information for my mission.
Estimating Project Software said
Fantastic site. Lots of helpful info here. I’m sending it to a few pals ans additionally sharing in delicious. And of course, thanks on your sweat!
Summer said
Have you ever thought about including a little bit more than just your
articles? I mean, what you say is valuable and everything.
Nevertheless think about if you added some great graphics
or video clips to give your posts more, “pop”! Your content is excellent but with images and video clips, this site could
certainly be one of the most beneficial in its niche.
Good blog!
company of heroes 2 serialz keygenerator said
Magnificent goods from you, man. I have understand
your stuff previous to and you’re just too wonderful.
I really like what you’ve acquired here, certainly like what you are stating and the way in
which you say it. You make it entertaining and you stilll care for to keep it
wise. I cantt wait to read ffar more from you.
This is really a great website.
Anh said
Thank you, I’ve just been searching for info
about this subject for ages and yours is the best I have came upon till now.
However, what about the bottom line? Are you positive in regards to the source?
Effie said
Howdy! This post couldn’t be written much better! Looking through this post
reminds me of my previous roommate! He continually kept
talking about this. I most certainly will forward this information to
him. Fairly certain he’ll have a great read. I appreciate you for sharing!
BINGO Blitz Cheats said
Except for the i – Phone 4, which will probably continue to
be sold as a low-end handset. Web pages render
much quicker as well and there is no lag or slowdown when loading
apps and navigating menus. This will appeal to young adults in their early 20’s and even teenagers who often beg for an i – Phone as their birthday gift.
Kitchen Scramble Cheats said
Except for the i – Phone 4, which will probably continue to be sold as a
low-end handset. This is used to identify a user
when unlocking the phone. Instead, you can simply switch the SIM card in the phone and use
the local GSM services, just like the way you have been using on any previous unlocked phone.
http://Issuu.com/skillfulpushove11 said
If you wish for to obtain a great deal from this paragraph then you have
to apply these strategies to your won blog.