Search

Setup project error: Unable to update the dependencies of the project by Lee Gillie

Closed
as Other Help for as Other

48
Sign in to vote
1
Sign in to vote
Sign in
to vote
Type: Bug
ID: 119625
Opened: 3/23/2006 1:02:08 PM
Access Restriction: Public
Duplicates: 107429
5
Workaround(s)
33
User(s) can reproduce this bug
Hierarchy section of a setup project becomes corrupt. Once this happens "Unable to update the dependencies of the project" errors occur when building setup. Also REFRESH DEPENDENCIES fails with "The operation can not be completed".
Details (expand)
Product Language
English
Version
Visual Studio 2005 Release Candidate
Category
Other
Operating System
Windows 2000 Professional
Operating System Language
US English
Steps to Reproduce
Create component projects in VS 2003. Create an appliction project in VS 2003. Convert solution containing all projects to VS 2005. Add setup project under VS 2005. Build setup. Exit. Return to solution. Advance version of setup project, each component, and the application. Build setup. Reported errors are then seen.
Actual Results
Examining Setup.vdproj file reveals the Hierarchy section contains bogus and duplicate entries.
Expected Results
Project to build without error. Suggested we delete Hiearchy section that VS will remake it, but this has never worked for us, and does not correct the problem. We have had limited success with a tool we wrote to walk dependencies of application using reflection, and remaking the Hierarchy section ourselves, but our knowledge of what is here is too incomplete to work in all scenarios. If we don't advance versions then installer won't update components. Costs us many hours each week. Many others have communicated similar symptoms to me.
File Attachments
1 attachments
Sign in to post a comment.
Posted by Microsoft on 3/29/2006 at 10:22 PM
Thank you for reporting this issue. The team will take a look and post some more comments once they have more information.

- David Guyer -- Visual Basic
Posted by Microsoft on 4/27/2006 at 4:46 PM
Thanks for reporting this issue, Lee. I am not able to reproduce this issue without hand-modifying the Hierarchy section of the project file. Could you (or anyone else) please attach a solution along with complete steps that will get the setup project into this state?

Thanks,
Mike Wade
Visual Basic .NET
Posted by Microsoft on 7/20/2006 at 2:47 PM
(My apologies: I tried to post this request to this site months ago, but it never appeared.)

Would anyone be willing to contact me directly with their solution? I can understand why no one would want to post a repro onto newsgroup forums or on the MS feedback site. I will will make every reasonable effort to make sure that you feel comfortable in supplying a repro. Please contact me at vsw586416@hotmail.com if you are interested.

Thanks,
Mike Wade
Visual Basic .NET
Posted by Enrique Blanco on 8/6/2006 at 11:30 AM
Is this solved already? Anybody at MS on it now?
I can provide a failing solution...
I think the problems started when I added the solution to VSS, but I can't assure. Fell free to contact me for more info.

Enrique Blanco
MCSD MCDBA
enrique.blanco@gmail.com
www.eblanco.com
Posted by Brecht[at]Invenso on 9/7/2006 at 11:26 PM
Noticed something very strange when manually editing the setup .vdproj file (with WordPad).

All of a sudden in the file (in Hierarchy), an Asian character appears and the formatting of the text changes...

I've put a screenshot on http://www.invenso.com/119625.png
Posted by Unable to update the dependencies //help on 1/26/2007 at 6:18 AM
if there is a solution for this problem?
if it is necessaryi can send a solution with this problem
Posted by Microsoft on 5/8/2007 at 5:53 PM
Thanks for reporting this issue. We are not able to reproduce this issue without hand-modifying the Hierarchy section of project file.

Could you please attach a solution file along with complete steps that would get setup project into this state.

If anyone else is also facing the same issue & can reproduce this problem using Visual Studio, please send us the solution file with complete steps.

Thanks,
Visual Studio Application deployment team.
Posted by ghoshy on 7/11/2008 at 4:44 AM
Is this issue resolved. I could see the status as closed. If that is the case where is the solution or hotfix? Is that the workaround the only solution available. Please comment