Use both framework 1.0 and 1.1

  • Thread starter Thread starter Bryan Yeo
  • Start date Start date
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
 
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
 
Back
Top