Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012 doesn't open previously opened file when after starting

This is the default behavior in VS2010. However, after I installed VS2012, I noticed it doesn't open those files I opened last time. Although in the Solution Explorer it remembers my last position, which projects are collapsed, but no file is opened in the editor area after I open the solution. I can't find such setting in opitons. Any help is appreciated!

like image 926
tete Avatar asked Aug 01 '13 09:08

tete


People also ask

What is the difference between project and solution in Visual Studio?

A project is contained within a solution. Despite its name, a solution isn't an "answer". It's simply a container for one or more related projects, along with build information, Visual Studio window settings, and any miscellaneous files that aren't associated with a particular project.

How do I open recent files in Visual Studio?

You can access the recent files by navigating to Visual Studio menu: File | Recent Files . Similarly, you can access the recent projects and solution by navigating to the following Visual Studio menu: File | Recent Projects and Solutions .

What is c# solution?

A solution is a workspace that combines multiple projects, which are usually related to each other. The construct is very useful in situations when some code needs to be shared among multiple projects.

What is solution in vs?

In Visual Studio, a solution isn't an "answer". A solution is simply a container Visual Studio uses to organize one or more related projects. When you open a solution, Visual Studio automatically loads all the projects that the solution contains.


1 Answers

Try deleting the .suo-file (same folder as .sln-File). May fix the problem. Make also sure that you have writing-permissions for .suo-file.

like image 186
Micha Avatar answered Oct 17 '22 02:10

Micha