Member Controls

Developers > Visual Studio help...
pljonesLink to postposted: Sat Apr 02, 2005 11:11 am

Member since:
 2005-04-02
Posts:
 616
Hi,

I'm building SimPE from the CVS source. I'm very new to C# and Visual Studio. When I load up the project for "WOSimPe - DemoWizard", VS complains it can't find some of the references.

Now, the ones in the project file coded like this work:
                <Reference
                    Name = "System.XML"
                    AssemblyName = "System.Xml"
                    HintPath = "..\..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll"
                />
But the ones coded like this don't:
                <Reference
                    Name = "WOSimPE - Interfaces"
                    Project = "{833C3B98-5A2D-476B-8B4B-C9548C1C99B6}"
                    Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
                />

Is there any reason why they're coded differently? Would VS find the appropriate DLL (once built) if the HintPath approach were used instead?

(I realise I can get it to work by deleting the existing references and adding ones to where the appropriate assemblies have been built. But VS presumably puts these in relatively the same place for everyone. So I don't understand why the dependent projects can't reference them in the relative location.)

Thanks,

-- Peter
quaxiLink to postposted: Sun Apr 03, 2005 3:23 pm
Avator for quaxi

Member since:
 2006-04-28
Posts:
 3154
VS is doing this automatically.

The hint Path looks strange tho! Normally it is an absolute Path to the Windows Registry (which isn't better for multiple developers!)
pljonesLink to postposted: Sun Apr 03, 2005 6:15 pm

Member since:
 2005-04-02
Posts:
 616
I shall refrain from moaning about VS... :roll:


viewpost, 2516, 0