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?
LVL 2
jazz__manAsked:
Who is Participating?
 
Bob LearnedConnect With a Mentor Commented:
The version is usually stored in the AssemblyInfo.vb file, in the web project.
0
 
jazz__manAuthor Commented:
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.
0
 
Bob LearnedCommented:
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.
0
All Courses

From novice to tech pro — start learning today.