Search code examples
c#asp.netvisual-studio-2008solution

Visual Studio 2008 asking to save changes to .SLN file


My visual studio keeps prompting me to save the project to an .SLN file when I close it, but I'm not sure why.

Any ideas? My ASP.net doesn't need a "solution file" as such.

It is showing my solution as the name 'Z', which is the drive letter I have chosen to map, which takes it straight to my code.

enter image description here


Solution

  • If you have not got a solution file then Visual Studio will create one for you, and that is what it is asking you about saving. If you open the project using the project file and not the solution file, chances are it will create a new solution file for you and then prompt you again to save it. I suggest you let it save the solution file, and then use that solution file in future to open the project.