PC Review


Reply
Thread Tools Rate Thread

How to I confirm using .Net Framework 1.1 or 1.0?

 
 
YaYa
Guest
Posts: n/a
 
      21st Aug 2003
Hello,

I install .Net Framework 1.0 and then install .Net Framework 1.1.
Now, How do I confirm my computer uses .Net Framework 1.1 not 1.0?

Thanks.



 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      21st Aug 2003
For Windows apps, it is the version you compile with. If you compile with
1.0 (Visual Studio .NET 2002), you have a Framework 1.0 app. If you compile
with 1.1 (Visual Studio .NET 2003), you have a Framework 1.1 app. The same
is true for all project types but web app and web service.

For web apps/services, the Framework version is dictated by one of two
things.

1. The version registered in IIS
2. The version specified in your config file.

The config file will override the registered version in IIS, as long as both
are installed.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge

****************************************************************************
****
Think Outside the Box!
****************************************************************************
****
"YaYa" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> I install .Net Framework 1.0 and then install .Net Framework 1.1.
> Now, How do I confirm my computer uses .Net Framework 1.1 not 1.0?
>
> Thanks.
>
>
>



 
Reply With Quote
 
Jerry III
Guest
Posts: n/a
 
      21st Aug 2003
Does this mean that I have to recompile and redistribute a WinForms app to
all my users every time there's a new framework?

Jerry

"Cowboy (Gregory A. Beamer)" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
> For Windows apps, it is the version you compile with. If you compile with
> 1.0 (Visual Studio .NET 2002), you have a Framework 1.0 app. If you

compile
> with 1.1 (Visual Studio .NET 2003), you have a Framework 1.1 app. The same
> is true for all project types but web app and web service.
>
> For web apps/services, the Framework version is dictated by one of two
> things.
>
> 1. The version registered in IIS
> 2. The version specified in your config file.
>
> The config file will override the registered version in IIS, as long as

both
> are installed.
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
> Author: ADO.NET and XML: ASP.NET on the Edge
>
>

****************************************************************************
> ****
> Think Outside the Box!
>

****************************************************************************
> ****
> "YaYa" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hello,
> >
> > I install .Net Framework 1.0 and then install .Net Framework 1.1.
> > Now, How do I confirm my computer uses .Net Framework 1.1 not 1.0?
> >
> > Thanks.
> >
> >
> >

>
>



 
Reply With Quote
 
Manoj G [MVP]
Guest
Posts: n/a
 
      21st Aug 2003
Hi,
You can compile your application against any framework version. The
frameworks can co-exist side by side, so can VS.NET versions. It is only
that VS is locked down to one particular framework version.
You need not recompile your application and redistribute every time there is
a framework change, unless there is a breaking change in the newer version.
In most cases this might not be the case.
BTW, the app config file can contain elements that can govern which version
of .NET runtime is to be used by the application. Specifically the
supportedRuntime and the requiredRuntime elements.
The supportedRuntime can be used to indicate which version of rutime the app
supports and any app built with v1.1 should ideally specify the same.
The requiredRuntime should be used only if the application supports only
version 1.0 of the common language runtime.
For more info refer to MSDN doc:
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpcontargetingnetframeworkversion.asp

Also, have a look at the links at
http://msdn.microsoft.com/library/en...-by-sideexecut
ion.asp?frame=true

--
HTH,
Manoj G [.NET MVP]
http://www15.brinkster.com/manoj4dotnet

"Jerry III" <(E-Mail Removed)> wrote in message
news:OkHmW$#(E-Mail Removed)...
> Does this mean that I have to recompile and redistribute a WinForms app to
> all my users every time there's a new framework?
>
> Jerry
>
> "Cowboy (Gregory A. Beamer)" <(E-Mail Removed)> wrote

in
> message news:(E-Mail Removed)...
> > For Windows apps, it is the version you compile with. If you compile

with
> > 1.0 (Visual Studio .NET 2002), you have a Framework 1.0 app. If you

> compile
> > with 1.1 (Visual Studio .NET 2003), you have a Framework 1.1 app. The

same
> > is true for all project types but web app and web service.
> >
> > For web apps/services, the Framework version is dictated by one of two
> > things.
> >
> > 1. The version registered in IIS
> > 2. The version specified in your config file.
> >
> > The config file will override the registered version in IIS, as long as

> both
> > are installed.
> >
> > --
> > Gregory A. Beamer
> > MVP; MCP: +I, SE, SD, DBA
> > Author: ADO.NET and XML: ASP.NET on the Edge
> >
> >

>

****************************************************************************
> > ****
> > Think Outside the Box!
> >

>

****************************************************************************
> > ****
> > "YaYa" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > Hello,
> > >
> > > I install .Net Framework 1.0 and then install .Net Framework 1.1.
> > > Now, How do I confirm my computer uses .Net Framework 1.1 not 1.0?
> > >
> > > Thanks.
> > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft .NET Framework 3.5 Service Pack 1 and .NET Framework 3.5 Family Update for .NET versions 2.0 through 3.5 (KB951847) x86 Dr. Indera Windows XP General 14 5th Jul 2010 07:15 AM
Any suggestion for directory layout of project support both Full.NET Framework and Compact Framework? ping235 Microsoft C# .NET 0 24th May 2007 03:22 AM
Framework v2.0 - File.Copy Bug - Could someone confirm this? =?Utf-8?B?U2ltb24gTXVycmVsbA==?= Microsoft Dot NET Framework 5 11th Feb 2006 11:52 AM
DataGrid bug in Framework 1.0, please confirm =?Utf-8?B?QWxsYW4gTmllbHNlbg==?= Microsoft Dot NET Framework Forms 3 26th May 2004 09:18 AM
simple TCP socket connect (emulator - framework FAIL); framework - framework - Works [Help will be compensated] Yechezkal Gutfreund Microsoft Dot NET Compact Framework 0 16th Jul 2003 06:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:58 AM.