Visual Studio - 如何使用现有的 vsproj 项目设置作为新项目的模板?

发布于 2024-08-30 20:29:14 字数 207 浏览 1 评论 0原文

我想为一些软件编写插件。该软件包含一些示例插件。我想创建一个新的项目,但我想使用示例插件 vsproj 的项目设置之一作为模板。

似乎不太清楚如何做到这一点。如果我执行“从现有代码新建项目”,则仅将 cpp、h 等文件导入到新项目中。

现在我能看到复制示例项目设置的唯一方法是打开两个相邻的 VS2005 实例并简单地模仿设置...肯定有一个内置方法可以做到这一点吗?

There is some software I want to write a plugin for. The software includes some sample plugins. I want to create a new fresh project but I want to use one of the sample plugin vsproj's project settings as a template.

It doesn't seem very clear on how to do this. If I do "New Project From Existing Code" that only imports the cpp, h, etc files into the new project.

Right now the only way I can see to copy a sample projects settings is to open two instances of VS2005 next to each other and simply mimic the settings... Surely there is a built in method of doing this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浮生面具三千个 2024-09-06 20:29:14

您可以复制项目文件并从中删除所有源文件。

然后将您的新源添加到其中。

软件没有提供模板吗?当我开发允许开发人员编写自己的插件的工具包时,我们提供了这些。

You could copy the project file and remove all the source files from it.

Then add your new source to that.

Doesn't the software provide a template? When I worked on toolkit that allowed developers to write their own plugins we provided these.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文