Visual Studio for Mac 2019 是否不适用于单游戏和管道? [英] Does Visual Studio for Mac 2019 not work with mono-game along with pipeline?

查看:72
本文介绍了Visual Studio for Mac 2019 是否不适用于单游戏和管道?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始使用 MonoGame 并使用 MacOS Mojave.我从官方网站下载了 3.7.1 版和独立管道(虽然我下载管道只是为了其他工具).

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).

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

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

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

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

推荐答案

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

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

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

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) 您可以使用以下命令创建它:

2) You can create it using the following commands:

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

这篇关于Visual Studio for Mac 2019 是否不适用于单游戏和管道?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆