all groups > visual studio .net enterprise tools > may 2004 >
You're in the

visual studio .net enterprise tools

group:

File dependency problem in installation project


File dependency problem in installation project daurizio NO[at]SPAM usa.net
5/7/2004 3:55:34 AM
visual studio .net enterprise tools:
Hi,

I've got the same problem as this:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&frame=right&th=f7352968831db53c&seekm=5I86k%24t%24CHA.1640%40cpmsftngxa06.phx.gbl#link1

Basically, I've got a large solution with a few setup projects and at
some point recently they all seem to have gone bad. I get the
following error, among others:

Unable to update the dependencies of the project. The dependencies
for the object 'dotnetfxredist_x86.msm' cannot be determined.

I've tried Refresh Dependencies, and I get the following error:
Exception Occurred.

Here's my environment:
Visual Studio 7.1.3088
Framework 1.1.4322

Has anyone figured out a solution to this?

Re: File dependency problem in installation project daurizio NO[at]SPAM usa.net
5/10/2004 11:37:47 AM
Have some additional info:

If I go ahead and delete the outputs from the File System Editor
window, then re-add them, I can build the setup. This is easier than
re-creating the entire setup project, but I'm still hoping to find a
fix for this.

Also, is there any logging that might give me more information than
"Exception Occurred." when I try to refresh dependencies? It's not
writing anything to the event viewer.

Thanks,
Re: File dependency problem in installation project daurizio NO[at]SPAM usa.net
5/11/2004 8:19:17 AM
And a bit more:

I did a diff between the setup project files that worked and those
that didn't, and the only significant difference I can see is that the
broken project files had double entries in the MergeModule section.
Here's an example of a broken one:

=========================================================
"MergeModule"
{
"{35A69C6E-5BA4-440D-803D-762B59A45393}:_ED92953B0BDC4D88B98BDF822FC7E0BE"
{
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:TRUE"
"SourcePath" = "8:dotnetfxredist_x86.msm"
"Properties"
{
}
"LanguageId" = "3:1033"
"Exclude" = "11:TRUE"
"Folder" = "8:"
"Feature" = "8:"
"IsolateTo" = "8:"
}
"{35A69C6E-5BA4-440D-803D-762B59A45393}:_FA5D32956734448686E73172FB34B044"
{
"UseDynamicProperties" = "11:TRUE"
"IsDependency" = "11:TRUE"
"SourcePath" = "8:dotnetfxredist_x86.msm"
"Properties"
{
}
"LanguageId" = "3:1033"
"Exclude" = "11:TRUE"
"Folder" = "8:"
"Feature" = "8:"
"IsolateTo" = "8:"
}
}
=============================================

The only way I've been able to get it working again at this point is
to do the following:

1. Go into File System Editor and delete the Primary Output from the
project(s).
2. Open the .vdproj file in a text editor. You will notice one entry
in the MergeModule section for every merge module that was detected
already. Delete them all, leaving

"MergeModule"
{
}

Save and close that file.
3. Reload the file in Visual Studio, and re-add the Primary Output and
whatever else you need from your solution.

This is a pain, but easier than starting over, especially when you are
using VSS and other people already have the project.

If anyone else runs into this problem, hopefully this will help.

Thanks, and have a good day.
AddThis Social Bookmark Button