Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving a project
Message
From
10/01/2011 07:23:24
 
 
To
10/01/2011 07:16:25
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01495397
Message ID:
01495406
Views:
39
>>>HI
>>>
>>>I'm looking at a .NET project which contains references to several external dlls.
>>>
>>>I want to move the project but when I do it cabn't find the dlls any more as the refernces to the dlls have changed and are pointing to an invalid location.
>>>
>>>What am I doing wrong.
>>
>>Hi,
>>The references are probably stored as relative paths from the main project. Take a look at the raw .csproj file of the project you moved to check this (specifically the ItemGroup/ProjectReference XML elements). You'll either need to move the related projects along with the main project or re-establish the links to reflect the new relative path....
>>HTH
>
>Thanks Viv
>
>I'm re establishing the links. Its a bit tiresome :-(

Catch 22. If MS had gone with an absolute path then moving *all* the projects to a new location would generate the same problem.
And that's probably the more common scenario (retrieving from source control for example)
Previous
Reply
Map
View

Click here to load this message in the networking platform