Error CS1705: "which has a higher version than referenced assembly"
If you're using NuGet it is worth going to 'Manage NuGet Packages For Solution', finding the package which is causing issues and hitting update. It should then bring all of the packages up to the latest version and resolve the problem.
Worth a shot as it's a quick and easy.
3 ideas for you to try:
- Make sure that all your dlls are compiled against the same version of Common.
- Check that you have project references in your solution instead of file references.
- Use binding redirections in your web.config. (Originally linked version at wayback machine)
I had this error because "Rebuild" was not really rebuilding.
Solution: Close Visual Studio, really go and delete the bin folder, then rebuild, it might work better.
Also, sometimes Visual Studio lies about references, so check the HintPath
in your .csproj
files.