visual studio 2010 - VS2010 - Open a solution, file in this sln will open too -



visual studio 2010 - VS2010 - Open a solution, file in this sln will open too -

i created little application (win forms) thats create solution, adds project , files project. clicking button, new solution should open installed vs2010 express. thats works fine, ok. question, there way open specific file in solution when hole solution loaded? improve understanding, user (of application) creates sln 3 files (a.cs, b.cs , c.cs). selects b.cs (in application), , opens sln. in editor in vs, preselected b.cs should open.

i've tried create sou - file, think thats not right way...

is there way this?! thx , regards sascha

visual studio remembers files had open when lastly closed solution, along other things breakpoints, using suo file. can check simple experiment: close solution single file opened within (a.cs, example), manually delete suo file (don't worry, vs recreates if doesn't exists) , when open solution 1 time again you'll see won't have file opened, , you'd lost breakpoints had.

so obvious thing here manipulate suo, storing on file selected user , opening vs tool. thing i've found on documentation ivspersistsolutionopts don't have direct experience it.

also check codeproject article: while main focus add together tool window visual studio, uses ivspersistsolutionopts.

visual-studio-2010 solution suo

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -