SolutionCop icon indicating copy to clipboard operation
SolutionCop copied to clipboard

Check referenced assemly versions

Open imanushin opened this issue 8 years ago • 1 comments

SolutionCop can check consistency of the referenced assembly versions. See csproj fragments below. Projects can have different references required. In this case compilation can be succeeded, however assembly load exception will be appeared after application start

csproj 1:

<Reference Include="Newtonsoft.Json, *Version=6.0.0.0*, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">

csproj 2:

<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">

imanushin avatar Apr 28 '16 09:04 imanushin

Did you have a case when it was broken?

Litee avatar May 01 '16 17:05 Litee