The project has several links to the Ninject library, which have their own version, and unit tests are not performed, error:
Message: System.IO.FileLoadException: Failed to load file or assembly "Ninject, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = c7192dc5380945e7" or one of its dependencies. The located assembly manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---- System.IO.FileLoadException: Failed to load file or assembly "Ninject, Version = 3.2.0.0, Culture = neutral, PublicKeyToken = c7192dc5380945e7" or one of its dependencies. The located assembly manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
1- csproj file
<Reference Include="Ninject, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
<HintPath>..\packages\Ninject.3.2.2.0\lib\net45-full\Ninject.dll</HintPath>
</Reference>
2- packages.config
<package id="Ninject" version="3.2.2.0" targetFramework="net462" />
3- app.config
<dependentAssembly>
<assemblyIdentity name="Ninject" publicKeyToken="c7192dc5380945e7" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>
4- help folder -> expand -> right-click on the Ninject ->
Version: 3.2.0.0
5 NuGet Package Management → installed → 
It looks somehow in my project referencing versions 4.0.0.0 and 3.2.0.0. I only want a link to version 3.2.2.0.
how to do it?
what are the differences between these links?
source
share