relative references in .net
I browse to开发者_开发技巧 a a dll and add it as a reference. The problem is the reference absolute path is being stored. How do I change this to be a relative reference instead?
this link might be helpful to your problem.
I think VS adds relative path to the referenced assemblies.
You can always edit .csproj file as it's regular xml file:
<ItemGroup>
<Reference Include="XXX, Version=2.7.3424.39182,...">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\Lib\XXX.dll</HintPath>
</Reference>
精彩评论