Benny
Benny

Reputation: 8815

why referenced c# dll is in full path in VS2010?

why the referenced dll of a c# project is in full path? when i move the source code to a different pc, the reference is broken.

Upvotes: 1

Views: 954

Answers (1)

JaredPar
JaredPar

Reputation: 754575

Visual Studio tries not to use full paths to DLL's whenever possible to avoid situations like this. It tries to reference DLL's with a relative path if possible.

Is there a relative path in this scenario that would work? If so could you try editing the .csproj file manually and setting it to use this relative path and see what happens?

Upvotes: 2

Related Questions