【问题标题】:Does Visual Studio for Mac 2019 not work with mono-game along with pipeline?Visual Studio for Mac 2019 是否不适用于单游戏和管道?
【发布时间】:2019-06-15 05:38:02
【问题描述】:

我开始使用 MonoGame 并使用 MacOS Mojave。我从官方网站下载了 3.7.1 版本以及独立管道(虽然我下载管道仅用于附加工具)。

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

我认为它应该立即工作?我需要下载旧版本的 VS 吗?

【问题讨论】:

标签: c# monogame visual-studio-mac


【解决方案1】:

它现在似乎不起作用,但您不能使用这两种解决方法之一:

1)如果你已经安装了VS2017,你可以将模板复制到2019文件夹,它们会出现在laquunch中。

%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

【讨论】:

  • 我已经安装了 Mono + MonoGame 所以它没有dotnet 命令还有其他选择吗?
  • 我不知道很遗憾,对不起!
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-11-25
  • 2023-03-20
  • 2019-11-03
  • 2017-11-18
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多