I have an ASP .NET Core (.NET Framework) project. It is a csproj project, and the version is 14. It doesn't have a project.json. It has a packages.config. This project has been working fine until today. I was able to hit run, and Kestrel would start up. As of today, I'm getting this compilation error and I have no idea why...
Your project.json doesn't list 'win' as a targeted runtime. You should add '"win": { }' inside your "runtimes" section in your project.json, and then re-run NuGet restore.
As I mentioned, I don't even have a project.json. There is an issue logged on the repo here:
https://github.com/Microsoft/msbuild/issues/394