Visual Studio 2008

heymrdj

Diamond Member
May 28, 2007
3,999
63
91
I'm taking Programming I and II, using C#. Me and my bro get Visual Studio 2008 Professional for free because we're enrolled in Dreamspark, the program that gets students around the world free Microsoft software, like Win2k3 Server, Office, Xna Gaming, Visual Studio, and many others. Our class gives us Visual Studio 2005 Professional to use. However 2005 HATES Vista. It even gives a warning at the installer that a certain EXE part of it is incompatible with this system and may have issues. However 2008 works BEAUTIFULLY.

My problem comes to the fact that 2008 converts all the projects i import into it from my classroom's 2005 systems (XP computer lab). These 2008 files cannot be re-read by 2005. So my question is is there any way to use the files in 2008 without converting them.

As an example another MS product, Office 2007, writes files in its proprietary .docx format. But it has compatibility mode, allowing it to write and reead 2003 and older files, just disabling certain features.

Help please.
 

KLin

Lifer
Feb 29, 2000
30,950
1,076
126
Solutions or projects that have the formats of Visual Studio versions that are earlier than Visual Studio 2008 must be converted to the format of this version of Visual Studio before you can work with them in this version. Converted solutions or projects are no longer compatible with Visual Studio versions that are earlier than Visual Studio 2008.

http://msdn.microsoft.com/en-us/library/60z6y467.aspx

You're stuck using VS2005 for your class it seems.
 

heymrdj

Diamond Member
May 28, 2007
3,999
63
91
Originally posted by: KLin
Solutions or projects that have the formats of Visual Studio versions that are earlier than Visual Studio 2008 must be converted to the format of this version of Visual Studio before you can work with them in this version. Converted solutions or projects are no longer compatible with Visual Studio versions that are earlier than Visual Studio 2008.

http://msdn.microsoft.com/en-us/library/60z6y467.aspx

You're stuck using VS2005 for your class it seems.

Well this appears to really fricken suck...Thanks for the source KLin.
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
VS2005 runs on Vista if you have Vista SP1, and VS2005 SP1 installed. It needs Admin rights to run, but that's easy to set and forget.
 
Oct 27, 2007
17,009
5
0
When launching VS2005 in Vista SP1, right click and select "Run as Administrator". You'll still get the warning message but it works perfectly.
 

heymrdj

Diamond Member
May 28, 2007
3,999
63
91
Originally posted by: Crusty
VS2005 runs on Vista if you have Vista SP1, and VS2005 SP1 installed. It needs Admin rights to run, but that's easy to set and forget.

My brothers install of SP1 broke and just sat there for 4 hours on reboot "installing update".
 

Evander

Golden Member
Jun 18, 2001
1,159
0
76
I have vb2005 installed on vista, I got the warning so I ran in admin mode, but later I noticed I couldn't add controls to the form such as windows media player. So I stopped running as admin and haven't noticed any problems at all, and can use these controls
 

heymrdj

Diamond Member
May 28, 2007
3,999
63
91
I didn't have too much issue running 2005 on vista, only a querk or two. My brother though runs Ultimate 64 just like me and his was plagued with issues. Borked install, failed service pack, the works.
 

degibson

Golden Member
Mar 21, 2008
1,389
0
0
At some level, even C# is just code. Try moving the code from platform to platform, rather than the project.
 

heymrdj

Diamond Member
May 28, 2007
3,999
63
91
Originally posted by: degibson
At some level, even C# is just code. Try moving the code from platform to platform, rather than the project.

I thought of that. But the teacher uses VS2005 to check our projects. She wants project files, so that she can just open them and check them without having to compile the code ect. So we're stuck having to use VS2005 compatible project files.
 

Snapster

Diamond Member
Oct 14, 2001
3,916
0
0
I would just write my stuff in 2008 and set the output framework as 2.0. Then when you need to hand it in, just copy over all the c# files and create a 2005 solution.
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
I have the same issue in going between 2003, 205 and 2008

The source files are the same, it is just the project/solutions files that are version Dependant.

Create the projects using the IDE/compiler that that you need

Then just copy the source files between projects. You may have to initially create project source stubs when you first create the project.

After that you can just insert/import the new files. Updating old files will be transparent to the IDE
 

Journer

Banned
Jun 30, 2005
4,355
0
0
i never had any problems with vs2005 on vista x64. however, 2008 is a million times better
 

heymrdj

Diamond Member
May 28, 2007
3,999
63
91
For now we're just running 2005. It has issues here and there, but we're running.
 

Absolution75

Senior member
Dec 3, 2007
983
3
81
Originally posted by: heymrdj
I'm taking Programming I and II, using C#. Me and my bro get Visual Studio 2008 Professional for free because we're enrolled in Dreamspark, the program that gets students around the world free Microsoft software, like Win2k3 Server, Office, Xna Gaming, Visual Studio, and many others. Our class gives us Visual Studio 2005 Professional to use. However 2005 HATES Vista. It even gives a warning at the installer that a certain EXE part of it is incompatible with this system and may have issues. However 2008 works BEAUTIFULLY.

My problem comes to the fact that 2008 converts all the projects i import into it from my classroom's 2005 systems (XP computer lab). These 2008 files cannot be re-read by 2005. So my question is is there any way to use the files in 2008 without converting them.

As an example another MS product, Office 2007, writes files in its proprietary .docx format. But it has compatibility mode, allowing it to write and reead 2003 and older files, just disabling certain features.

Help please.

The project files are almost exactly the same I believe. There is a VSTUDIO string in the .sln or project file (they are both just XML files). Open it up and change it form 9.xxx (2008) to 8.00 (2005).
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
Originally posted by: Absolution75
Originally posted by: heymrdj
I'm taking Programming I and II, using C#. Me and my bro get Visual Studio 2008 Professional for free because we're enrolled in Dreamspark, the program that gets students around the world free Microsoft software, like Win2k3 Server, Office, Xna Gaming, Visual Studio, and many others. Our class gives us Visual Studio 2005 Professional to use. However 2005 HATES Vista. It even gives a warning at the installer that a certain EXE part of it is incompatible with this system and may have issues. However 2008 works BEAUTIFULLY.

My problem comes to the fact that 2008 converts all the projects i import into it from my classroom's 2005 systems (XP computer lab). These 2008 files cannot be re-read by 2005. So my question is is there any way to use the files in 2008 without converting them.

As an example another MS product, Office 2007, writes files in its proprietary .docx format. But it has compatibility mode, allowing it to write and reead 2003 and older files, just disabling certain features.

Help please.

The project files are almost exactly the same I believe. There is a VSTUDIO string in the .sln or project file (they are both just XML files). Open it up and change it form 9.xxx (2008) to 8.00 (2005).

From a Solutions File:
Microsoft Visual Studio Solution File, Format Version 7.00

From a Project File:
VisualStudioProject
ProjectType="Visual C++"
Version="7.00"