473,378 Members | 1,334 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,378 software developers and data experts.

.NET Reflector determine assembly version ?

How to use the .NET Reflector to determine which .NET version and assembly
was compiled in ?
Jul 25 '06 #1
5 4562
John,

You can't. AFAIK, that information is not included in the assembly.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"John A Grandy" <johnagrandy-at-yahoo-dot-comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
How to use the .NET Reflector to determine which .NET version and assembly
was compiled in ?

Jul 25 '06 #2
Hello Nicholas Paldino [.NET/C# MVP],

Assembly version must be always recorded into assembly during compiling,
because when u starting you assembly into new host - the host should determine
which framework version to use.

Information about version could be get via unmanaged code (reading info from
PE), or using Assembly.ImageRuntimeVersion

NJohn,
N>
NYou can't. AFAIK, that information is not included in the
Nassembly.
N>
NHope this helps.
N>
N"John A Grandy" <johnagrandy-at-yahoo-dot-comwrote in message
Nnews:%2****************@TK2MSFTNGP04.phx.gbl...
N>
>How to use the .NET Reflector to determine which .NET version and
assembly was compiled in ?
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jul 25 '06 #3
Hello John A Grandy" johnagrandy-at-yahoo-dot-com,

I recomend to use Reflector API to check this. I rekon I can't get this info
via Reflector IDE
BTW, information about FW is available in metadata via ILDASM.

JHow to use the .NET Reflector to determine which .NET version and
Jassembly was compiled in ?
J>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jul 25 '06 #4
Michael Nemtsev wrote:
I recomend to use Reflector API to check this. I rekon I can't get this info
via Reflector IDE
When I click on a class or interface in Reflector, the bottom left of
the screen shows me the assembly and version. Is that not the required
information?

Jul 25 '06 #5
Hello Chris,

That the version of your assembly (that incrementing in each rebuild), not
the .net FW one that was used in building

CDMichael Nemtsev wrote:
CD>
>I recomend to use Reflector API to check this. I rekon I can't get
this info via Reflector IDE
CDWhen I click on a class or interface in Reflector, the bottom left
CDof the screen shows me the assembly and version. Is that not the
CDrequired information?
CD>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jul 25 '06 #6

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

Similar topics

18
by: Christopher W. Douglas | last post by:
I am writing a VB.NET application in Visual Studio 2003. I have written a method that handles several events, such as closing a form and changing the visible status of a form. I have some code...
4
by: Yasutaka Ito | last post by:
Hi, Is there a way to determine which version of .NET Framework any given assembly is built with? thanks! -Yasutaka
2
by: Kerry Sanders | last post by:
I opened up my assembly using Lutz Roeder's .NET Reflector. I made sure I was using the latest version, which is v3.4.3.0 When I open the assembly, I get a message saying that a particular...
11
by: Z D | last post by:
Hello, If I have a .NET assembly, how do I determine what version of the .NET framework it.... 1) was compiled against 2) is supposed to use 3) is compatible with? Is there a utility that...
1
by: Ken Durden | last post by:
I'm hoping to develop a build process which only increments the version number of an assembly when either its contents or one of its dependencies has changed. Our assembly structure translates...
2
by: Scott | last post by:
Does anyone know of a way to get the .NET Framework version that's required by a specified assembly. I have a program I've written that creates a Windows Installer setup for any application....
9
by: Alexander Baranovsky | last post by:
Hello friends, How I can determine full path of Microsoft.Basic.dll? Thanks, Alexander
12
by: =?Utf-8?B?bV9nZWxs?= | last post by:
Hi, anyone know how to disable reflection on sensitive code? Here is specifically what I'm trying to do. I have one method in a class within an assembly I'm trying to prevent using reflection to...
7
by: Cramer | last post by:
I'm wondering if there is an easy way to programmatically determine if an assembly is installed in the GAC. This would be similar to our ability to easily determine if a file exists...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.