开发者

Load file on launch of Visual Studio

I know that when you close a project inside Visual Studio, the last file that you had open will be ope开发者_如何学JAVAned when you reopen the same project. I am wondering if this is an setting that I can use to always open a specific file when a project is launched?


You could modify your shortcut to devenv.exe and pass the file name as the first argument , however if the first argument is a file that is not a solution or project, that file will open in the appropriate editor, in a new instance of the IDE.


Ok, so after some research and testing I found out that what I want to do is not possible. The SUO file that is created by Visual Studio holds the information of the last file opened and there is no setting or property that I can use that will allow me to have this written into the project file itself.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜