Force a file to open when a solution file (.sln) is opened

爷,独闯天下 提交于 2019-12-11 07:12:38

问题


I know that Visual Studio stores and persists opened files in the *.user files that it generates, but these files are not supposed to be checked in to TFS or shared between a team.

We have README.md files that are "solution items" in a lot of our solutions in TFS. What I want is, when a solution is opened, have the README.md file open if it is not open already. (Sort of mimicking how GitHub shows you the readme file when you browse to the project homepage, but this is strictly TFS and Visual Studio.) Documentation is huge for us, so we want to forcibly display it to anyone who opens a solution, making it hard to miss.

Is this possible with any sort of configuration line in the .sln file, or an XML entry in a .csproj file, or possibly an extension? I would like this to be something that can persist between different workstations using TFS (unless it's just an extension, in which case we can all install that).


回答1:


You can customize the Open a file from the solution directory on opening a solution extension for Visual Commander to open README.md.



来源:https://stackoverflow.com/questions/38229249/force-a-file-to-open-when-a-solution-file-sln-is-opened

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!