Visual studio 2017 errors not showing

I am using Visual Studio 2017 Community v14.0.25431.01 Update 3 and no errors are displayed. As you can see in VS 2015, I see errors that are underlined, but not in VS2017.

VS2017 Example:

VS2017 example

VS2015 Example:

VS2015 example

+5
source share
1 answer

Ok, I had this problem too, Found a solution that is a quiet "barbarian" but works just fine ^^

Decision:
copy / paste all your cs files from the solution explorer into the solution explorer .. It will automatically create: "nameOfYourComponent - Copy.cs" Then you delete all the originals (those that are not called "- Copy.cs")

An exact copy no longer works in this error. I don't know why, but file recovery seems to fix it.

!!! Make sure you do not delete both files, please: - / At least if you have gitLab / gitHub repositery, then it’s good that you can delete everything by mistake, everything is stored on the Internet.

0
source

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


All Articles