473,785 Members | 3,157 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2599
On Aug 7, 12:58 pm, George <Geo...@discuss ions.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...@discuss ions.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...@discuss ions.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...@discuss ions.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****@discuss ions.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.co m>
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****@discuss ions.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.co m>
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
7269
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 school. When I tried to open it in the lab, I got a message saying I couldn't open it because it was created with a newer version. Evidently the lab is using Visual Studio.Net 2002. My professor doesn't just want the executable file, he wants...
6
6177
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 itself. Everything you need is available at no costs (except download hassle and installation time). Once your system is set up properly its just a matter of running 'python setup.py build'. No longer waiting for someone else to build binaries and a...
1
3921
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 make it easier for someone (i.e. a Microsoft person) to digest the information and respond to it. I am a C++ and Java developer with over 3 years of industry experience. I've written low level C++ code, in addition to web clients that use web...
9
7788
by: Arnd Boettcher | last post by:
How can I invoke the Visual studio C++ compiler by command line? Any advices are welcome.
1
4541
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 to for this problem short of reinstalling the local developer XP OS/IIS 5.1 ? I have tried everything else listed in various threads. I think my mistake was thinking the installation for v/st 2003 was going to upgrade my V/Studio.net 2001, ( I...
1
2866
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 V/Studio 2003. Was running V/Studio classic 6/Asp parallel with V/Studio 2002/aspx. Anyone have any new solutions or urls' to point me to for this problem short of reinstalling the local developer setup consisting of Win XP OS/IIS 5.1 along with FP...
3
3344
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
1688
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? Or do I need to be using the latest version of Visual Studio to do so? Thanks,
2
5567
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 follow its own advice as listed in http://msdn.microsoft.com/en-us/library/ms235560(VS.80).aspx and "build with a manifest". The DLL in question seems to be msvcr8.0.dll which is the VS2005 C runtime DLL. I am not sure why this is an issue in a...
0
10325
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10148
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10091
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8972
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.