473,396 Members | 1,827 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Visual Studio and .Net Runtime Framework dependency

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
Aug 7 '07 #1
6 2564
On Aug 7, 12:58 pm, George <Geo...@discussions.microsoft.comwrote:
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

Aug 7 '07 #2
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

"Jon Skeet [C# MVP]" wrote:
On Aug 7, 12:58 pm, George <Geo...@discussions.microsoft.comwrote:
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

Aug 7 '07 #3
On Aug 7, 2:06 pm, George <Geo...@discussions.microsoft.comwrote:
--------------------
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?
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

Aug 7 '07 #4
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

"Jon Skeet [C# MVP]" wrote:
On Aug 7, 2:06 pm, George <Geo...@discussions.microsoft.comwrote:
--------------------
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?

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

Aug 8 '07 #5
George <Ge****@discussions.microsoft.comwrote:
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.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Aug 8 '07 #6
Thanks Jon,
Your answer is clear.
regards,
George

"Jon Skeet [C# MVP]" wrote:
George <Ge****@discussions.microsoft.comwrote:
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.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Aug 8 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: angelag | last post by:
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...
6
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with...
1
by: Novice | last post by:
Hi all, I'm afraid this is the second posting of this information as I didn't get a response on the previous post. I will try to shorten my message (i.e. be more concise) in the hopes that it will...
9
by: Arnd Boettcher | last post by:
How can I invoke the Visual studio C++ compiler by command line? Any advices are welcome.
1
by: gerr | last post by:
Visual studio 2003 "HTTP/1.1 500 Internal Server Error" when trying to create a new Asp.net site with Visual Studio 2003 on localServer/IIS 5.1. Anyone have any new solutions or urls to point me...
1
by: gerr | last post by:
Visual studio 2003 "HTTP/1.1 500 Internal Server Error" when trying to create a new Asp.net site with Visual Studio 2003 on localServer XP Pro/IIS 5.1. Everything worked fine prior to installing...
3
by: =?Utf-8?B?QU0=?= | last post by:
Is there a way to work on visual studio 2003 projects using visual studio 2005 without converting, maintaining original code? Thanks AM
5
by: jroozee | last post by:
I am developing in VS '03. I have all of the current framework versions installed on my PC, 1.1, 2.0, and 3.0. How can I make sure the code I am developing in is using the 3.0 framework version?...
2
by: blogman | last post by:
I am getting a Visual studio 2008 IDE application R6034 runtime error. This means that the IDE application is raising the error not the application I am building. This means that Microsoft did not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.