Litee / SolutionCop

Tool for static analysis of Visual Studio solutions
Apache License 2.0
23 stars 3 forks source link

Check referenced assemly versions #28

Open imanushin opened 8 years ago

imanushin commented 8 years ago

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">
Litee commented 8 years ago

Did you have a case when it was broken?