Hello, I'm trying to get the version number and copyright date
programatically from my AssemblyInfo.vb file for a web application
that I am developing using VS 2008.  The line of code for that looks
like this:

lblCopyright.Text = Application.Get("Copyright") & " - Version : " &
Application.Get("Version")

However, both .Get() methods return "", which I do not understand,
since the appropriate data is in the file.

>From searching on other forums, I've seen that you can change the
build number by navigating to (project name)>>properties>>Application
Tab>>Assembly info button.  This option is not available when I try to
find it.  Is that an option no longer available in VS 2008 and/or web
applications?  Is there a better alternative aside from hard coding
the info into the label's text property?

Also, is there a default folder or location the AssemblyInfo.vb file
should be placed (App_Code, App_Data, etc)?

Thank you for your help.

Reply via email to