Getting the Version of an Assembly
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Framework > Getting the Version of an Assembly




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Getting the Version of an Assembly  
Phil Jones


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-23-04 01:53 AM

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 th
an
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







[ Post a follow-up to this message ]



    Re: Getting the Version of an Assembly  
Phil Jones


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-23-04 01:53 AM

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
>







[ Post a follow-up to this message ]



    Re: Getting the Version of an Assembly  
Jon Flanders


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-23-04 07: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] 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:16 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register