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