Visual Studio - “刷新”的目的解决方案资源管理器中的按钮

发布于 2024-08-30 17:04:48 字数 53 浏览 3 评论 0原文

解决方案资源管理器窗口中的“刷新”命令的用途是什么? (当我们选择一个项目时,该按钮启用)

what's the purpose of the 'Refresh' command on the solution explorer window?
(When we select a project, the button is enabled)

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

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

发布评论

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

评论(3

月棠 2024-09-06 17:04:48

当您在 Web 应用程序项目中打开“显示所有文件”时,它确实很有帮助(这可能适用于其他项目类型)。通过刷新,您可以看到在文件系统级别添加的文件,并右键单击它们以将它们包含在您的项目中。

Its really helpful when you have Show All Files is turned on in a Web application project (this might work for other project types). With the Refresh, you can see files added on the file system level and right-click them to include them in your project.

稚气少女 2024-09-06 17:04:48

这可能是一个过于简单的响应,但我经常使用刷新按钮来使用在 VS 外部创建的文件填充解决方案资源管理器。

例如,我使用单独的 IDE 来执行 Actionscript 工作,其中添加了许多文件,而 VS 直到我刷新解决方案资源管理器窗口才意识到这些文件。它们出现后,我现在可以将它们提交给 SourceSafe。

This may be an overly simple response, but I use the refresh button quite often to populate the Solution Explorer with files that have been created outside of VS.

For example, I use a separate IDE to do my Actionscript work where lots of files get added which VS is not aware of until I refresh the solution explorer window. After they appear, I can now commit them to SourceSafe.

从此见与不见 2024-09-06 17:04:48

如果您有版本控制集成,则树视图将用源代码控制状态注释进行装饰。当它们不同步时,刷新会更新它们。

If you have version control integration, the tree view is decorated with source control status annotations. Refresh updates these when they get out of sync.

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