PC Review


Reply
Thread Tools Rate Thread

C# and dot Framework version

 
 
=?Utf-8?B?bXN1aw==?=
Guest
Posts: n/a
 
      9th Feb 2005
All,

I have some C# assemblies and I would like to know what version of the
framework was used to complie them i.e 1.0, 1.1 or 1.1 SP1 is this possible
to find out?

Thanks
Msuk
 
Reply With Quote
 
 
 
 
Frans Bouma [C# MVP]
Guest
Posts: n/a
 
      10th Feb 2005
msuk wrote:
> All,
>
> I have some C# assemblies and I would like to know what version of the
> framework was used to complie them i.e 1.0, 1.1 or 1.1 SP1 is this possible
> to find out?


in ildasm you can see if an assembly requires .NET 1.0 (references
v1.0.3300 assemblies) or .NET 1.1 (references v1.0.5000 assemblies)

Finding out they are compiled against sp1 is not doable, as the
information is not in the assembly: .NET 1.1 has assemblies versioned on
1.1.4322.xxxx and SP1 has a higher buildnumber but these references
aren't in your compiled assemblies so hotfixes can be installed without
causing problems for your code.

FB

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
 
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
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] Windows XP Help 6 12th Mar 2008 12:14 AM
Where to get stand alone Dot Net Framework version 1.1, version 2.0,version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? pg Microsoft Dot NET 11 9th Feb 2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] Microsoft ASP .NET 5 9th Feb 2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green Windows XP Help 0 5th Feb 2008 02:45 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green Microsoft ASP .NET 0 5th Feb 2008 02:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:21 AM.