I am having a really strange issue, when I try to build solution it fails
The command ""(solution)\packages\DotNet.Contracts.1.10.20606.1\Bin\ccrewrite.exe" "@(project)ccrewrite.rsp"" exited with code -1.
When I set detailed build output, I get some more information:
21> Reading assembly 'xyz' from '(yyy)\bin\xyz.dll' resulted in errors.
21> ccrewrite : error : Rewrite aborted due to metadata errors. Check output window
21> Could not resolve type reference: [System.Web.Mvc]System.Web.Mvc.IClientValidatable.
What I tried so far:
- clean, rebuild, deleting bin folder
- upgrading Visual Studio to latest version
- repairing Visual Studio version
Btw, if I am Building that xyz project - it builds without problems
From manage nuget packages for solution
I see that Microsoft.Aspnet.Mvc
is only in that "xyz" project