|
Home > Archive > BizTalk Server Framework > December 2004 > Getting the Version of an Assembly
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Getting the Version of an Assembly
|
|
| Phil Jones 2004-12-22, 8:53 pm |
| I think I'm missing something obvioius here - but I can't figure out where
to get the version details of an assembly.
I'm looking at the [Assembly] object, and I can't see anything (other than
ImageRuntimeVersion, which is the Runtime, not the actual assembly version).
Is there hidden somewhere else (or am I blindly missing it perhaps!!).
Thanks everyone.
---
Phil : NZ
| |
| Phil Jones 2004-12-22, 8:53 pm |
| Oppps - sorry, I thought this was the primary .NET Framework list
(Apologies)
"Phil Jones" <phil_newsgroup@hotmail.com> wrote in message
news:umqnXXJ6EHA.3616@TK2MSFTNGP11.phx.gbl...
>I think I'm missing something obvioius here - but I can't figure out where
>to get the version details of an assembly.
>
> I'm looking at the [Assembly] object, and I can't see anything (other than
> ImageRuntimeVersion, which is the Runtime, not the actual assembly
> version).
>
> Is there hidden somewhere else (or am I blindly missing it perhaps!!).
>
> Thanks everyone.
> ---
> Phil : NZ
>
| |
| Jon Flanders 2004-12-23, 2:46 am |
| That's ok ;-)
string ver = this.GetType().Assembly.GetName().Version.ToString();
--
Jon Flanders
http://staff.develop.com/jfland/
"Phil Jones" <phil_newsgroup@hotmail.com> wrote in message
news:OKAgMhJ6EHA.4028@TK2MSFTNGP15.phx.gbl...
> Oppps - sorry, I thought this was the primary .NET Framework list
> (Apologies)
>
>
> "Phil Jones" <phil_newsgroup@hotmail.com> wrote in message
> news:umqnXXJ6EHA.3616@TK2MSFTNGP11.phx.gbl...
where[vbcol=seagreen]
than[vbcol=seagreen]
>
>
|
|
|
|
|