Selectively build .NET components with different Framework versions

T

Tim Mavers

I am currently using Visual Studio.NET 2003 and recently was assigned a
project to "clean up" that requires that it be built/run under .NET 1.0
(sp2).

Since VS.NET 2003 includes a much newer version (I am currently using
v1.1.4322).

I am wondering if there is a way I can selectively set the "Framework
version" to compile with. I am wondering if this is possible, as coming
from a Java background, this is quite simple to do with any decent Java IDE.

I searched through VS.NET's options and there didn't seem to be a way to
do it.

On that note, is there a way I can install .NET 1.0 sp2 (I already have
another .NET framework installed: v1.0.3705 - I am not sure if this is
it), and manually build from the command line?

The VS.NET installation process is so fragile (I have had it error out
in the middle sometimes and have been forced to reinstall the OS just to
get it to install). This hasn't happened for quite some time, but I
don't want to try it again (i.e. am very leary of uninstalling VS.NET
2003 and installing the original VS.NET).

Thanks,
 
G

Guest

Tim

It is easy to select the framework you want to target when compiling. Right-click on your project in the solution explorer, select properties. Go to the Build option. At the bottom you will see Supported Runtimes, by default it is 1.1. Just click the Change button to change to 1.0 compliance

Hope this helps
-Clay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top