I just installed Visual Studio 2017. When I open an existing website, I get all sorts of warning messages such as this one:
IDE1006 Naming rule violat
What this rule asserts is that fields must be private.
You can convert it to a Property by adding the {get;set;} after the field.
This removed the error for me.