问题描述
我正在学习Monogame.
I'm learning Monogame.
但是当我创建一个新的Monogame Windows Project时,我可以在以下位置找不到内容文件夹 template .
But when I create a new Monogame Windows Project, I can't find content folder intemplate.
应该有更多文件夹.在我朋友的电脑上工作正常.我们都安装了Visual Studio Community 2015和Monogame.我真的希望有人可以帮助我,因为 没有人遇到同样的问题.
There should be more folders. It works fine in my friend's computer. We both installed Visual Studio Community 2015 and Monogame. I really want someone can help me, since no one had the same problem.
我重新安装了Visual Studio和Monogame,但无法正常工作.
I reinstalled Visual Studio and Monogame but it won't work.
推荐答案
欢迎来到MSDN论坛.
Welcome to MSDN forum.
由于Monogame是第三方扩展,因此建议您转到以下位置: http://community.monogame.net/获得专业支持.
Since Monogame is a third-party extension, I suggest you could go to here:http://community.monogame.net/ for a professional support.
我发现其他人遇到了同样的问题,并在此处报告:http://stackoverflow.com/questions/31893755/monogame-templates-in-visual-studio-2015
I found the others meet the same issue and report it here:http://stackoverflow.com/questions/31893755/monogame-templates-in-visual-studio-2015
MonoGame安装程序将模板放在Visual Studio 2015的错误文件夹中.
The MonoGame installer puts the Templates in the wrong folder for Visual Studio 2015.
VS2015的正确文件夹是
The correct folder for VS2015 is
C:\ Users \ user \ Documents \ Visual Studio 14 \ Templates \ ProjectTemplates \ Visual C#
C:\Users\user\Documents\Visual Studio 14\Templates\ProjectTemplates\Visual C#
MonoGame安装程序将安装到C:\ Users \ user \ Documents \ Visual Studio 2015 \ Templates \ ProjectTemplates \ Visual C#
The MonoGame installer installs to C:\Users\user\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#
因此,当该文件夹中的MonoGame文件夹移至第一个文件夹,并且执行了devenv.exe/installvstemplates命令时,模板就会显示出来.
So, when the folder MonoGame inside that folder gets moved to the first one, and the devenv.exe /installvstemplates command gets executed, the templates show up.
最好的问候,
乔伊斯
这篇关于Monogame项目丢失了模板中的内容文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!