HighTechTalks DotNet Forums  

*.sln: starts with 2005 instead of 2003..

Dotnet General Discussions microsoft.public.dotnet.general


Discuss *.sln: starts with 2005 instead of 2003.. in the Dotnet General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
DraguVaso
 
Posts: n/a

Default *.sln: starts with 2005 instead of 2003.. - 08-09-2005 , 07:46 AM






Hi,

I had Visual Studio 2003 installed, and installed also visual Studio 2005
Beta 2.
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003. I'm
trying to change it in the registry, or jsut simply with an "open with" and
the "always use this program to open"-option checked, but it doesn't work.
Simply changing it in the "file types" in the explorer doesn't work either,
it doesn't change there.

Has anybody else had this problem? Anybody found a workaround? Somebody who
has the 2 installed too?

any help would be really appreciated!

Thanks a lot in advance,

Pieter



Reply With Quote
  #2  
Old   
Cowboy (Gregory A. Beamer) - MVP
 
Posts: n/a

Default RE: *.sln: starts with 2005 instead of 2003.. - 08-09-2005 , 08:21 AM






Open 2003 and open the solution from there. Other than that, you should be
able to right click and set the program that opens it, but I am not sure that
will work.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


"DraguVaso" wrote:

Quote:
Hi,

I had Visual Studio 2003 installed, and installed also visual Studio 2005
Beta 2.
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003. I'm
trying to change it in the registry, or jsut simply with an "open with" and
the "always use this program to open"-option checked, but it doesn't work.
Simply changing it in the "file types" in the explorer doesn't work either,
it doesn't change there.

Has anybody else had this problem? Anybody found a workaround? Somebody who
has the 2 installed too?

any help would be really appreciated!

Thanks a lot in advance,

Pieter




Reply With Quote
  #3  
Old   
DraguVaso
 
Posts: n/a

Default Re: *.sln: starts with 2005 instead of 2003.. - 08-09-2005 , 09:37 AM



Unfortunately that won't work :-(
although, I found what it was: in the registry some things are changed, and
it doesn't realy seem too logical, hehe :-) When installing 2005, it not
only changes the startup-application for the .sln, but also add others stuff
for 2003 and 2002.

I made a reg-file that:
- makes 2003 the default-startup
- adds a "Open 2005" to the right-mouse menu to open a project with VS 2005
hope this can be usefull to some people.

************************************************

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.sln]
@="VisualStudio.Solution.7.1"
"Content Type"="application/octet-stream"

[HKEY_CLASSES_ROOT\.sln\OpenWithList]

[HKEY_CLASSES_ROOT\.sln\OpenWithList\devenv.exe]
@=""

[HKEY_CLASSES_ROOT\.sln\OpenWithProgids]
"VisualStudio.Solution.7.1"=""

[HKEY_CLASSES_ROOT\.sln\OpenWithProgids\Shared_Key]
@="Keep this key from being removed on uninstall of SxS Components"



[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1]
@="Microsoft Visual Studio Solution Object"

[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\CLSID]
@="{246C57AE-40DD-4d6b-9E8D-B0F5757BB2A8}"

[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\Defaul tIcon]
@="C:\\Program Files\\Microsoft Visual Studio .NET
2003\\Common7\\IDE\\devenv.exe,-6826"

[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\Shell]

[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\Shell\ open]

[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\Shell\ open\Command]
@="\"C:\\Program Files\\Microsoft Visual Studio .NET
2003\\Common7\\IDE\\devenv.exe\" \"%1\""

[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\Shell\ Open 2005]

[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\Shell\ Open 2005\Command]
@="\"C:\\Program Files\\Microsoft Visual Studio
8\\Common7\\IDE\\devenv.exe\" \"%1\""

************************************************



"Cowboy (Gregory A. Beamer) - MVP" <NoSpamMgbworld (AT) comcast (DOT) netNoSpamM> wrote
in message news:90A8B109-57BA-42D7-82CA-D7BE20827A8E (AT) microsoft (DOT) com...
Quote:
Open 2003 and open the solution from there. Other than that, you should be
able to right click and set the program that opens it, but I am not sure
that
will work.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


"DraguVaso" wrote:

Hi,

I had Visual Studio 2003 installed, and installed also visual Studio
2005
Beta 2.
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003.
I'm
trying to change it in the registry, or jsut simply with an "open with"
and
the "always use this program to open"-option checked, but it doesn't
work.
Simply changing it in the "file types" in the explorer doesn't work
either,
it doesn't change there.

Has anybody else had this problem? Anybody found a workaround? Somebody
who
has the 2 installed too?

any help would be really appreciated!

Thanks a lot in advance,

Pieter






Reply With Quote
  #4  
Old   
Cowboy (Gregory A. Beamer) - MVP
 
Posts: n/a

Default Re: *.sln: starts with 2005 instead of 2003.. - 08-09-2005 , 12:01 PM



Thanks for the response back. That is good information to have for others.

I have been working in VPC with the beta products, as betas tend to be a
dangerous road.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


"DraguVaso" wrote:

Quote:
Unfortunately that won't work :-(
although, I found what it was: in the registry some things are changed, and
it doesn't realy seem too logical, hehe :-) When installing 2005, it not
only changes the startup-application for the .sln, but also add others stuff
for 2003 and 2002.

I made a reg-file that:
- makes 2003 the default-startup
- adds a "Open 2005" to the right-mouse menu to open a project with VS 2005
hope this can be usefull to some people.

************************************************

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.sln]
@="VisualStudio.Solution.7.1"
"Content Type"="application/octet-stream"

[HKEY_CLASSES_ROOT\.sln\OpenWithList]

[HKEY_CLASSES_ROOT\.sln\OpenWithList\devenv.exe]
@=""

[HKEY_CLASSES_ROOT\.sln\OpenWithProgids]
"VisualStudio.Solution.7.1"=""

[HKEY_CLASSES_ROOT\.sln\OpenWithProgids\Shared_Key]
@="Keep this key from being removed on uninstall of SxS Components"



[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1]
@="Microsoft Visual Studio Solution Object"

[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\CLSID]
@="{246C57AE-40DD-4d6b-9E8D-B0F5757BB2A8}"

[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\Defaul tIcon]
@="C:\\Program Files\\Microsoft Visual Studio .NET
2003\\Common7\\IDE\\devenv.exe,-6826"

[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\Shell]

[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\Shell\ open]

[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\Shell\ open\Command]
@="\"C:\\Program Files\\Microsoft Visual Studio .NET
2003\\Common7\\IDE\\devenv.exe\" \"%1\""

[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\Shell\ Open 2005]

[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\Shell\ Open 2005\Command]
@="\"C:\\Program Files\\Microsoft Visual Studio
8\\Common7\\IDE\\devenv.exe\" \"%1\""

************************************************



"Cowboy (Gregory A. Beamer) - MVP" <NoSpamMgbworld (AT) comcast (DOT) netNoSpamM> wrote
in message news:90A8B109-57BA-42D7-82CA-D7BE20827A8E (AT) microsoft (DOT) com...
Open 2003 and open the solution from there. Other than that, you should be
able to right click and set the program that opens it, but I am not sure
that
will work.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


"DraguVaso" wrote:

Hi,

I had Visual Studio 2003 installed, and installed also visual Studio
2005
Beta 2.
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003.
I'm
trying to change it in the registry, or jsut simply with an "open with"
and
the "always use this program to open"-option checked, but it doesn't
work.
Simply changing it in the "file types" in the explorer doesn't work
either,
it doesn't change there.

Has anybody else had this problem? Anybody found a workaround? Somebody
who
has the 2 installed too?

any help would be really appreciated!

Thanks a lot in advance,

Pieter







Reply With Quote
  #5  
Old   
Phill. W
 
Posts: n/a

Default Re: *.sln: starts with 2005 instead of 2003.. - 08-10-2005 , 07:10 AM



"DraguVaso" <pietercoucke (AT) hotmail (DOT) com> wrote

Quote:
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003.
.. . .
Has anybody else had this problem?
Same problem, different versions - I have 'Studio's 6 and 2003
co-installed and all my VC6 projects try to open into '2003.

The only way around it I've found is to open the v6 Solutions from
inside the v6 IDE - nothing better than that, I'm afraid.

Regards,
Phill W.




Reply With Quote
  #6  
Old   
DraguVaso
 
Posts: n/a

Default Re: *.sln: starts with 2005 instead of 2003.. - 08-10-2005 , 07:19 AM



Try once the registry-thing I posted also? It works great with me!
You just will have to change the values with those for VB6 and 2003, but the
princip will be the same I guess?

"Phill. W" <P.A.Ward (AT) o-p-e-n- (DOT) -a-c-.-u-k> wrote

Quote:
"DraguVaso" <pietercoucke (AT) hotmail (DOT) com> wrote in message
news:eUaQWBOnFHA.2156 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003.
. . .
Has anybody else had this problem?

Same problem, different versions - I have 'Studio's 6 and 2003
co-installed and all my VC6 projects try to open into '2003.

The only way around it I've found is to open the v6 Solutions from
inside the v6 IDE - nothing better than that, I'm afraid.

Regards,
Phill W.





Reply With Quote
  #7  
Old   
Kyle Alons
 
Posts: n/a

Default Re: *.sln: starts with 2005 instead of 2003.. - 08-11-2005 , 11:08 AM



Quote:
Same problem, different versions - I have 'Studio's 6 and 2003
co-installed and all my VC6 projects try to open into '2003.

The only way around it I've found is to open the v6 Solutions from
inside the v6 IDE - nothing better than that, I'm afraid.

Regards,
Phill W.

On XP, using Open With (browsing to msdev.exe once the first time, then
choosing Microsoft (R) Developer Studio from the list after that) works for
me.

This should also work (changing the paths as necessary):

; msdev.reg

[HKEY_CLASSES_ROOT\VisualStudio.dsw.7.1\shell\Open\ command]
@="\"C:\\Program Files\\DevStudio6\\Common\\MSDev98\\Bin\\msdev.exe \"
\"%1\""

[HKEY_CLASSES_ROOT\VisualStudio.dsp.7.1\shell\Open\ command]
@="\"C:\\Program Files\\DevStudio6\\Common\\MSDev98\\Bin\\msdev.exe \"
\"%1\""


--
---------------------------------------------------
Automate your software builds with Visual Build Pro
http://www.visualbuild.com/





Reply With Quote
  #8  
Old   
Kyle Alons
 
Posts: n/a

Default Re: *.sln: starts with 2005 instead of 2003.. - 08-11-2005 , 11:14 AM



"DraguVaso" <pietercoucke (AT) hotmail (DOT) com> wrote

Quote:
Hi,

I had Visual Studio 2003 installed, and installed also visual Studio 2005
Beta 2.
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003.
I'm
trying to change it in the registry, or jsut simply with an "open with"
and
the "always use this program to open"-option checked, but it doesn't work.
Simply changing it in the "file types" in the explorer doesn't work
either,
it doesn't change there.

Has anybody else had this problem? Anybody found a workaround? Somebody
who
has the 2 installed too?

any help would be really appreciated!

Thanks a lot in advance,

Pieter


On my machine w/ 2003 and 2005 B2, it seems to intelligently launch the
correct version based on the .sln version. If you want to force it to use
2003, this should work (changing the path as necessary):

; vs2003.reg

[HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\Shell\ Open\Command]
@="\"C:\\Program Files\\VSNET2003\\Common7\\IDE\\devenv.exe\" \"%1\""

--
---------------------------------------------------
Automate your software builds with Visual Build Pro
http://www.visualbuild.com/




Reply With Quote
  #9  
Old   
DraguVaso
 
Posts: n/a

Default Re: *.sln: starts with 2005 instead of 2003.. - 08-12-2005 , 02:23 AM



It gets itself the right version? that's great! But not nice it doesn't it
with me, hehe :-) What OS do you have? I have here W2000 SP4...

"Kyle Alons" <reply (AT) to (DOT) newsgroup> wrote

Quote:
"DraguVaso" <pietercoucke (AT) hotmail (DOT) com> wrote in message
news:eUaQWBOnFHA.2156 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Hi,

I had Visual Studio 2003 installed, and installed also visual Studio
2005
Beta 2.
The problem is, when I am starting now (double click) a solution
(*.sln-file), it always start it with Visual Studio 2005, and not 2003.
I'm
trying to change it in the registry, or jsut simply with an "open with"
and
the "always use this program to open"-option checked, but it doesn't
work.
Simply changing it in the "file types" in the explorer doesn't work
either,
it doesn't change there.

Has anybody else had this problem? Anybody found a workaround? Somebody
who
has the 2 installed too?

any help would be really appreciated!

Thanks a lot in advance,

Pieter



On my machine w/ 2003 and 2005 B2, it seems to intelligently launch the
correct version based on the .sln version. If you want to force it to use
2003, this should work (changing the path as necessary):

; vs2003.reg

[HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\Shell\ Open\Command]
@="\"C:\\Program Files\\VSNET2003\\Common7\\IDE\\devenv.exe\" \"%1\""

--
---------------------------------------------------
Automate your software builds with Visual Build Pro
http://www.visualbuild.com/





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.