Question: are you missing an assembly reference c# visual studio 2017?
Answer: Change framework version., "Restore NuGet Packages" options., Remove packages folder., Remove packages folder.