>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement