Link to home
Start Free TrialLog in
Avatar of jazz__man
jazz__man

asked on

How can I get access to the assembly file code in my asp.net website?

Hi,

I am working on a website that uses...

Private strVersion As String = _
     "VERSION " & System.Reflection.Assembly.GetExecutingAssembly.GetName.Version.Major & _
     "." & System.Reflection.Assembly.GetExecutingAssembly.GetName.Version.Minor & _
     "." & System.Reflection.Assembly.GetExecutingAssembly.GetName.Version.Build & _
     "." & System.Reflection.Assembly.GetExecutingAssembly.GetName.Version.Revision

to access the version info.

I need to do a release and cannot fathom how to update the version. I am aware that the version info is kept in the assembly but how do you access the assembly from visual studio?
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jazz__man
jazz__man

ASKER

Thats what I thought but there is not one contained in the app I have performed a search of entire solution for it but nothing was found.
If there isn't one, you can add one.  If there is one, and you add another, then you will get an error that there are duplicates.