Visual Studio for Mac 2019不能与单一游戏以及管道一起使用吗?

时间:2019-06-15 05:38:02

标签: c# monogame visual-studio-mac

我开始使用MonoGame和MacOS Mojave。我从官方网站上下载了3.7.1版以及独立的管道(我仅下载了其他工具的管道)。

安装后,我打开VS 2019并检查了项目模板,没有新的MonoGame模板。

我认为它应该立即起作用?我需要下载旧版VS吗?

1 个答案:

答案 0 :(得分:1)

它似乎暂时不起作用,但是您不能使用这两种方法之一:

1)如果已经安装了VS2017,则可以将模板复制到2019文件夹中,它们将显示在laqunch中。

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

2)您可以使用以下命令创建它:

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