Question: are you missing an assembly reference visual studio 2017?
Answer: Right click on the project and select properties then click on build and change framework version and then build a project. Solution -2 - "Restore NuGet Packages" options to fix Missing an assembly reference problem in Visual Studio. It's an easy to step to restore Nuget packages. Solution - 3 - Remove a tag from ".