BUG : Unable to update the dependencies of the project.

Hello ,

Yesterday , When building the setup project , I received the following error :

“Unable to update the dependencies of the project. The dependencies for the object ‘ name.dll ‘ cannot be determined..”

Also trying to Refresh Dependencies was not successful :

“The operation can not be completed.”

This problem occurs when .VDPROJ file is corrupted , to resolve this bug , you may follow these steps :

1) Open .VDPROJ file with a text editor :

2)Find “Hierarchy” & “File” Sections and Delete everything in them ,

3)Delete “Project Primary Output” And Add it again.

4)Reload the project .

5)Rebuild the project.

If the above solution did not work , you may need to DELETE the setup project and create it from the scratch.

Note : This BUG occured on a machine having Visual Studio 2005 Team Suite Edition with SP1 Installed .

This BUG is reported here :

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=119625

Microsoft has also published a hotfix that can be found here :

FIX: The Visual Studio 2005 IDE may corrupt the deployment files for a Web Setup Project and for a Setup Project

In this article , the author mentined that :

“This problem may occur when you have a Database Project and a Setup Project in the same solution”

But Keep in mind that this problem may occur even if the solution does not contain any Database Project , So the above quotation is not the accurate cause of the issue.

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: