VS 2010:解决方案设置存储在哪里?
您知道如何转到解决方案属性并能够更改启动项目吗?您可以选择当前选择、单个启动项目或多个启动项目。它存储在磁盘上的什么位置?
我问这个问题是因为我们使用 SourceGear Vault 作为代码存储库,其中我们的代码有三个独立的分支:开发、暂存和生产。因为我们在月中进行临时部署,以便客户可以在完成后看到版本中的各个项目,所以我们不断删除和重新分支分支。这导致我们每次都会丢失这些设置。这比什么都麻烦。我想做的是告诉解决方案指向文件夹外部的文件,以便解决方案设置始终存在。
You know how you go to solution properties and are able to change the startup project? You can choose current selection, single startup project, or multiple startup projects. Where is this stored on disk?
I ask because we use SourceGear Vault for our code repository where we have three separate branches for our code: dev, staging, and production. Because we do mid-month staging deployments so the client can see various items in the release as they are completed, we are constantly deleting and rebranching branches. This results in us losing these settings every time. It's more of a nuisance than anything. What I would like to do is tell the solution to point to a file outside of the folder so that the solution settings will always be there.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它以二进制格式存储在 suo 文件中。此文件通常与 sln 文件放在同一文件夹中。
由于它是二进制文件,我不确定您是否能够直接用它做任何事情。所以 这个答案可能是相关的。
It is stored in the suo file in binary format. This file is usually placed in the same folder as your sln file.
Since its a binary I am not sure if you will be able to do anything with it directly. So this SO answer might be related.
此链接回答了我的问题:
http://connect.microsoft.com/VisualStudio/feedback/details/321663/allow-location-change-for-ncb-user-aps-suo-files
看起来像他们不会很快解决这个问题。不是一个阻碍,但重新定位 .suo 文件会很好。
This link answers my question:
http://connect.microsoft.com/VisualStudio/feedback/details/321663/allow-location-change-for-ncb-user-aps-suo-files
Looks like they won't be address this any time soon. Not a show stopper, but it'd be nice to relocate the .suo file.