Warnings in VS2017 but everything is fine with VS2015

When loading my .NET Frameworkowrk 4.6.2 in Visual Studio 2017, this gives me the following warning:

Severity Code Description Project File Line Suppression State
Warning Your project is not referencing the ".NETFramework,Version=v4.6.2" framework. Add a reference to ".NETFramework,Version=v4.6.2" in the "frameworks" section of your project.json, and then re-run NuGet restore.

Other:

Warning IDE0006 Error encountered while loading the project. Some project features, such as full solution analysis for the failed project and projects that depend on it, have been disabled.   BigData     1   Active

However, loading in visual studio 2015 fully matches exactly the same files and solution structures.

Why is this and how can I solve it?

By the way, from what I read, in recent updates project.json merges again into .csproj, why here it still recommends something on project.json

+6
source share
2 answers

I found this as an error when creating right after reconfiguring the solution from vs2015 to 2017, and then also restructured git. As it turned out, I think git was the culprit.

, bin obj . ( .)

+18

, ? . , , ?

0

Source: https://habr.com/ru/post/1016341/


All Articles