I am having the same problem with clean installations of VS2019 on 2 different PC’s. My main dev PC (and another) both progressively upgraded from previous MonoGame versions are fine (can create new MG projects and open old ones).
On trying to create a new MonoGame project using ‘MonoGame Windows Project’ template, on hitting the ‘Create’ button I get the following error:
Getting similar on trying to open a 3.8 project (built and running fine on main dev PC) with the MonoGame project not loading (this also happens with a virgin ‘MonoGame Windows Project’ made on the good PC):
With the error message:
C:\TEST\FishORama21\FishORamaEngineLibrary\FishORamaEngineLibrary.csproj : error : The imported project “C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\MonoGame\v3.0\MonoGame.Content.Builder.targets” was not found. Also, tried to find “MonoGame\v3.0\MonoGame.Content.Builder.targets” in the fallback search path(s) for $(MSBuildExtensionsPath) - “C:\Program Files (x86)\MSBuild” . These search paths are defined in “C:\Users\chris\AppData\Local\Microsoft\VisualStudio\16.0_8477f579\devenv.exe.config”. Confirm that the path in the declaration is correct, and that the file exists on disk in one of the search paths. C:\TEST\FishORama21\FishORamaEngineLibrary\FishORamaEngineLibrary.csproj
I have tried multiple reinstallations and additional VS components and cant for the life of me see the difference between my working installations and the problematics ones.
I need to find a clear solution to this as I have to get students to install and setup VS2019 to be able to run and work in a MG3.8 project I will be distributing to them, and if a fresh VS2019 install and following the guide above creates problems I need to have a fix / specific guidance for them.
Appreciate any assistance