开发者

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜