Does Visual Studio for Mac 2019 not work with mono-game along with pipeline?

心不动则不痛 提交于 2021-01-29 05:19:42

问题


I'm starting to use MonoGame and use a MacOS Mojave. I downloaded version 3.7.1 from the official website along with the standalone pipeline(THOUGH I DOWNLOADED PIPELINE ONLY FOR ADDITIONAL TOOLS).

After installation I opened VS 2019 and checked the project template and no new MonoGame template.

I thought that it should work right away? Do I need to download an older VS version?


回答1:


It doesn't seem to work for now, but you cann use one of the those two work around:

1) If you already have VS2017 installed, you can copy the templates to the 2019 folder and they will appear in the laqunch.

%USERPROFILE%\Documents\Visual Studio 2017\Templates\ProjectTemplates\Visual C#\MonoGame 
to 
%USERPROFILE%\Documents\Visual Studio 2019\Templates\ProjectTemplates\Visual C#\MonoGame

2) You can create it using the following commands:

dotnet new --install MonoGame.Templates.CSharp
dotnet new mgdesktopgl -o MyGame


来源:https://stackoverflow.com/questions/56607671/does-visual-studio-for-mac-2019-not-work-with-mono-game-along-with-pipeline

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!