Visual Studio and .Net Runtime Framework dependency

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello everyone,


If I am using Visual Studio 2005 to build a C# Class Library (COM), it is as
default dependent on .Net Runtime Framework 2.0 when running?

If I am using Visual Studio 2003 to build a C# Class Library (COM), it is as
default dependent on .Net Runtime Framework 1.1 when running?

How to check the .Net Framework Runtime dependencies when using Visual Studio?


thanks in advance,
George
 
If I am using Visual Studio 2005 to build a C# Class Library (COM), it is as
default dependent on .Net Runtime Framework 2.0 when running?
Yes.

If I am using Visual Studio 2003 to build a C# Class Library (COM), it is as
default dependent on .Net Runtime Framework 1.1 when running?
Yes.

How to check the .Net Framework Runtime dependencies when using Visual Studio?

What do you mean, exactly? At installation time?

Jon
 
Thanks Jon,


--------------------
How to check the .Net Framework Runtime dependencies when using Visual Studio?

What do you mean, exactly? At installation time?
--------------------

I mean when development using Visual Studio (either 2003 or 2005), how to
check manually which CLR (.Net Runtime Framework) the C# Class Library is
dependent on (1.1 oe 2.0 or later version)? Are there any options in Project
properties or somthing?


regards,
George
 
--------------------


What do you mean, exactly? At installation time?
--------------------

I mean when development using Visual Studio (either 2003 or 2005), how to
check manually which CLR (.Net Runtime Framework) the C# Class Library is
dependent on (1.1 oe 2.0 or later version)? Are there any options in Project
properties or somthing?

There are no options for VS.NET 2003 or VS 2005 - basically, unless
you've specifically started using MS BEE (in which case you'd know
about it) you'll be using 1.1 under 2003 and 2.0 under 2005.

Orcas (VS 2008) allows you to target 2.0, 3.0 or 3.5, and it's a
project property.

Jon
 
Thanks for your advice, Jon!


I think .Net 2.0 code can not run on .Net 1.1 Runtime, .Net 1.1 code can run
on both .Net 1.1 Runtime and .Net 2.0 Runtime, right?


regards,
George
 
George said:
Thanks for your advice, Jon!

I think .Net 2.0 code can not run on .Net 1.1 Runtime, .Net 1.1 code can run
on both .Net 1.1 Runtime and .Net 2.0 Runtime, right?

Exactly. There are a few compatibility issues running 1.1 code on 2.0
(i.e. a few cases where the results will be different) but largely you
should be fine.
 
Back
Top