有没有办法禁用 Visual Studio 提示升级较旧的解决方案文件?

发布于 2024-11-03 08:52:34 字数 128 浏览 0 评论 0原文

有没有办法禁用 Visual Studio 提示升级较旧的解决方案文件?

我正在 VS2010 中打开该项目,是的,我希望您实际打开它,不,我不需要您的备份。

有什么方法可以永久绕过这个并让这个工作正常进行吗?

Is there a way to disable Visual Studio for prompting to upgrade an older solution file?

I'm opening the project in VS2010, yes I want you to actually open it, and no I don't want your backup.

Is there some way I can permanently bypass this and just have this work?

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

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

发布评论

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

评论(1

绮烟 2024-11-10 08:52:34

您在这里的选择有限。您可以使用 /upgrade 命令行选项启动 devenv.exe 来执行升级。这只是升级解决方案,并没有实际启动 IDE。备份始终进行,没有跳过备份的选项。在批量转换场景中很有用。从控制台窗口复制:

C:\projects\ConsoleApplication7>devenv /upgrade consoleapplication7.sln

Microsoft (R) Visual Studio Version 10.0.40219.1.
Copyright (C) Microsoft Corp. All rights reserved.

Upgrade completed successfully. Results can be seen in the
upgrade report:
C:\projects\ConsoleApplication7\UpgradeLog.XML

You have limited options here. You could start devenv.exe with the /upgrade command line option to perform an upgrade. That just upgrades the solution and doesn't actually start the IDE. The backup is always made without an option to skip it. Useful in batch conversion scenarios. Copied from the console window:

C:\projects\ConsoleApplication7>devenv /upgrade consoleapplication7.sln

Microsoft (R) Visual Studio Version 10.0.40219.1.
Copyright (C) Microsoft Corp. All rights reserved.

Upgrade completed successfully. Results can be seen in the
upgrade report:
C:\projects\ConsoleApplication7\UpgradeLog.XML
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文