By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,837 Members | 1,206 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,837 IT Pros & Developers. It's quick & easy.

visual studio.net version compatibility

P: n/a
I am currently taking a college course in Visual Basic.Net and I am a
beginner.

I bought Visual Studio.Net 2003 to do my homework at home. I built my
first project and e-mailed it to myself at school. When I tried to
open it in the lab, I got a message saying I couldn't open it because
it was created with a newer version. Evidently the lab is using Visual
Studio.Net 2002.

My professor doesn't just want the executable file, he wants all the
component files so he can compile it himself.

I read through the Help file and here's what I found:

Side-by-Side Installations of Visual Studio .NET
Visual Studio supports installation of versions 2002 and 2003 on the
same machine; however you should be aware of certain issues.
Visual Studio .NET 2002 shipped with the Microsoft .NET Framework
SDK version 1.0. Visual Studio .NET 2003 ships with .NET Framework SDK
version 1.1. If you developed applications that reference .NET
Framework version 1.0 and attempt to open the solution in Visual
Studio .NET 2003, the references to .NET Framework are changed to
reference .NET Framework 1.1. You should review the latest .NET
Framework documentation for information on changes that might affect
your application. For more information, see Targeting a .NET Framework
Version and Installation and Setup.
If you open and then save solutions created in Visual Studio .NET
2002 in Visual Studio .NET 2003, you can no longer open the solution
created in version 2002 in Visual Studio .NET 2002.
Specifying the Runtime Version for an Application

Applications created in Visual Studio .NET 2003 or later can be set to
target one or more versions of the common language runtime by setting
the Supported Runtimes property. By default, the latest version of the
common language runtime is used; specify a different runtime version
if you want your application to run on a previous version of the
common language runtime.

Caution Selecting a previous version of the runtime could cause the
application to fail if it references .NET Framework classes that did
not exist in the previous version. You should thoroughly test your
application against all specified versions. For more information, see
Working With Multiple Versions of the .NET Framework.

To specify the runtime version in Visual Basic .NET
Select the project in Solution Explorer.
On the Project menu, choose Properties.
In the Property Pages dialog box, select the Build node and click the
Change button.
In the .NET Framework Version dialog box, select a version option and
click Update.

My question is: Will specifying the runtime version allow my professor
to open the files in the older version? If not, is there anything else
I can do?

Thank you in advance for any help.

Angela
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Almost everybody here is using VB6 or lower. While you may get a stray
answer to VB.NET questions here, you should ask them in newsgroups devoted
exclusively to .NET programming. Look for newsgroups with the word "dotnet"
in their name.

For the news.devx.com news server, try these

vb.dotnet.discussion
vb.dotnet.technical

For the microsoft news server, try these newsgroups...

microsoft.public.dotnet.general
microsoft.public.dotnet.languages.vb

There are some others, but these should get you started.

Rick - MVP


<an*****@comcast.net> wrote in message
news:3f****************@news.tn.comcast.giganews.c om...
I am currently taking a college course in Visual Basic.Net and I am a
beginner.

I bought Visual Studio.Net 2003 to do my homework at home. I built my
first project and e-mailed it to myself at school. When I tried to
open it in the lab, I got a message saying I couldn't open it because
it was created with a newer version. Evidently the lab is using Visual
Studio.Net 2002.

My professor doesn't just want the executable file, he wants all the
component files so he can compile it himself.

I read through the Help file and here's what I found:

Side-by-Side Installations of Visual Studio .NET
Visual Studio supports installation of versions 2002 and 2003 on the
same machine; however you should be aware of certain issues.
. Visual Studio .NET 2002 shipped with the Microsoft .NET Framework
SDK version 1.0. Visual Studio .NET 2003 ships with .NET Framework SDK
version 1.1. If you developed applications that reference .NET
Framework version 1.0 and attempt to open the solution in Visual
Studio .NET 2003, the references to .NET Framework are changed to
reference .NET Framework 1.1. You should review the latest .NET
Framework documentation for information on changes that might affect
your application. For more information, see Targeting a .NET Framework
Version and Installation and Setup.
. If you open and then save solutions created in Visual Studio .NET
2002 in Visual Studio .NET 2003, you can no longer open the solution
created in version 2002 in Visual Studio .NET 2002.
Specifying the Runtime Version for an Application

Applications created in Visual Studio .NET 2003 or later can be set to
target one or more versions of the common language runtime by setting
the Supported Runtimes property. By default, the latest version of the
common language runtime is used; specify a different runtime version
if you want your application to run on a previous version of the
common language runtime.

Caution Selecting a previous version of the runtime could cause the
application to fail if it references .NET Framework classes that did
not exist in the previous version. You should thoroughly test your
application against all specified versions. For more information, see
Working With Multiple Versions of the .NET Framework.

To specify the runtime version in Visual Basic .NET
Select the project in Solution Explorer.
On the Project menu, choose Properties.
In the Property Pages dialog box, select the Build node and click the
Change button.
In the .NET Framework Version dialog box, select a version option and
click Update.

My question is: Will specifying the runtime version allow my professor
to open the files in the older version? If not, is there anything else
I can do?

Thank you in advance for any help.

Angela

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.