关闭VS2008没有文件,没有项目,没有解决方案仍然想要保存解决方案

时间:2022-09-10 22:22:00

For some reason when I open an instance of VS2008 to view a single file say a web.config file even when I make no changes and close the file I can't close VS2008 unless I save a dummy solution. I have no files or projects in it so why can't I just exit the program? I have to either kill the devenv process or simply save the dummy Solution1.sln each time. It's not like that's onerous but is there a config setting somewhere that insists on saving the solution when you exit?

出于某种原因,当我打开一个VS2008的实例来查看单个文件时说一个web.config文件,即使我没有做任何更改并关闭文件我也无法关闭VS2008,除非我保存一个虚拟解决方案。我没有文件或项目,为什么我不能退出该程序?我必须杀死devenv进程或者只是每次都保存虚拟的Solution1.sln。这不是那么繁重,但有一个配置设置,坚持在退出时保存解决方案?

1 个解决方案

#1


Can't you just answer no or cancel if VS asks you to save the solution?

如果VS要求您保存解决方案,您难道不能回答否或取消吗?

#1


Can't you just answer no or cancel if VS asks you to save the solution?

如果VS要求您保存解决方案,您难道不能回答否或取消吗?