Use both framework 1.0 and 1.1

B

Bryan Yeo

How do i switch from framework 1.0 to 1.1 then switch it back?
I need to use either one on different projects as some client is still using
framework 1.0.

Regards,
Bryan
 
M

Michael Giagnocavo [MVP]

VS.NET 2003 allows you to set the "target runtime". This will redirect your
assemblies to a certain framework when they are loaded. Otherwise, you can
install VS.NET 2002 and 2003 and use one for one project, and one for the
other. Building with VS.NET 2002 ensures that the code will actually work
on v1.0. The "target runtime" just tries to load with the specified runtime
(which is a problem when you call a method that is new to 1.1, since the
build won't catch it, you'll get a runtime exception).

-mike
MVP
 

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