jAvA tHe Gamer
jAvA tHe Gamer

Reputation: 19

Ways to create a VS 2013 C# program that will work in 2008

Hi I'm doing some C# codes in my VS 2013 at my own pc but it doesn't work on our school's pc because the version of the Visual Studio there is very outdated , it was only 2008.

And I cant run my code that I've been working in 2008 that was made in 2013.

So How can i run it? Should I download VS 2008 ?

thank you

Upvotes: 1

Views: 37

Answers (1)

jazza1000
jazza1000

Reputation: 4247

It is probably the Project and solution files that are causing you problems, as these change from version to version. C# itself though hasn't changed so much.

You could perhaps consider just copying the c-sharp files between the computers. ie, have a skeleton solution in each version and copy and past the CS files, or the text from the files into the projects.

Bear in mind that Visual Studio 2008 is going to target .Net Framework 3.5, so just avoid using any later framework functionality (which shouldn't be too hard).

Upvotes: 1

Related Questions