Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving a project
Message
De
10/01/2011 07:23:24
 
 
À
10/01/2011 07:16:25
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01495397
Message ID:
01495406
Vues:
41
>>>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform