如何在 Visual Studio 2008 中按项目名称排序?
我有一个包含 3 个文件夹(表格、通知、报告)的解决方案。在Notice 文件夹中我有大约100 个项目。问题是,它们是按创建日期排序的;虽然我更希望它们是按名字排序的。
我发现,如果我在文件夹中添加新项目,通过按字母顺序排序,情况确实会发生变化。但是,一旦我关闭 VS 2008,它就会在重新打开时恢复到创建日期。
I have one solution with 3 folders (Forms, Notices, Reports). In the Notice folder I have about 100 projects. The problem is, they are ordered by the creation date; while I would prefer that they were ordered by name.
I have seen that this does change, by sorting alphabetically, if I add a new project within the folder. But, once I close VS 2008 it resorts back to the creation date on reopening.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个已知的错误。
https://connect.microsoft.com/ VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=468874&wa=wsignin1.0
我知道的唯一解决方法是单击项目名称,就像要重命名它一样,然后只需将其单击到另一个项目名称即可项目节点。这会按字母顺序对列表进行重新排序,但它不会持续存在,当您重新打开 VS 时,您必须再次执行此操作。
It's a known bug.
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=468874&wa=wsignin1.0
The only workaround I know is where you click a project name like you're going to rename it, but then just click off it onto another project node. This re-sorts the list alphabetically, but it doesn't persist, you'll have to do it again when you reopen VS.