Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Your project.json doesn't list 'win' as a targeted runtime

$
0
0

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


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>