开发者

Resharper says I need to reference a dll, which is already referenced. code compiles ok

I have a strange problem with resharper.

I have a project file which is modified so that references are made by using an environment variable like so:

<Reference Include="$(DllLocation)My.Companies.dll">
  <Private>false</Private>
</Reference>

The project references another project, which also has the reference to the same dll in the same way.

Resharper flags usages of the type from this dll as errors and says Module My.Companies.dll version blah pub key blah should be referenced.

The projects compile fine. If I modify both projects in the ide by removing the reference and then re-adding the reference to the same file, then the issues go away.

Is there some workaround for this? I'm using 3.1 and visual studio 2008, although 2005 has same issue. I'd like to upgrade to 4.5, but not sure the 开发者_StackOverflowcompany will pay for it yet. Will I still have this issue in 4.5?


You should ask the ReSharper support. They may tell you best and are quite friendly.


I've not encountered this issue, neither in 4.5 nor 5.0, so I'm guessing it might be fixed.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜