将自定义项目模板添加到Mac的Visual Studio预览版 [英] Add custom project template to Visual Studio Preview for Mac

查看:59
本文介绍了将自定义项目模板添加到Mac的Visual Studio预览版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将自定义项目模板添加到Mac的Visual Studio预览版,但是找不到添加它的正确位置或文件夹.

I'm trying to add a custom project template to Visual Studio Preview for Mac, but can't find the right place or folder to add it.

除了模板之外,我还有什么想法吗?

Any idea where I should but the template?

推荐答案

对于 Visual Studio Mac版,项目模板可以放置在〜/Library/Application Support/VisualStudio/7.0中/LocalInstall/Addins

For Visual Studio Preview for Mac the project templates can be placed in ~/Library/Application Support/VisualStudio/7.0/LocalInstall/Addins

适用于Mac的Visual Studio预览来自Xamarin Studio,后者又基于MonoDevelop.加载项为MonoDevelop创建项目模板",其说明在

Visual Studio Preview for Mac is forked from Xamarin Studio, which in turn is based on MonoDevelop. Creating 'project templates' for MonoDevelop is done with Add-ins, the instructions for which are outlined in the Documentation.

我通过从Xamarin Studio复制项目模板(加载项)并将其放在上述位置进行了快速实验,该模板显示在新项目"对话框中.

I did a quick experiment by copying a project template (Add-in) from Xamarin Studio and dropping it in the above location and it appeared in the 'New Project' dialog.

这篇关于将自定义项目模板添加到Mac的Visual Studio预览版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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