Solved

VB.Net dll files not displaying the file version

Posted on 2014-10-28
1
347 Views
Last Modified: 2014-10-28
I have a web site project that is not updating the file version information when I build and publish. The modified date is updating, but the other information that I have in the AssemblyInfo.vb file is not showing at all. All of the dll files in the bin folder show the version 0.0.0.0 instead of the 1.0.0.0 I have in the file.

This is causing me issues because the app_code.dll file is copied to the GAC and since the version doesn't change I have to get the web server group to manually overwrite the copy in the GAC. I only have access to the folder where my site resides and cannot make any changes on the web server.

I have seen lots of places where it says that the file version is pulled from the AssemblyInfo.vb, but in my case that does not seem to be the case.

Any ideas on how I can get the file version to populate on my dll files?

Thanks,
Jerry
0
Comment
Question by:Jerry Miller
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 34

Accepted Solution

by:
it_saige earned 500 total points
ID: 40409483
Here is an example AssemblyInfo.vb -
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices

' General Information about an assembly is controlled through the following 
' set of attributes. Change these attribute values to modify the information
' associated with an assembly.

' Review the values of the assembly attributes

<Assembly: AssemblyTitle("Example")> 
<Assembly: AssemblyDescription("")> 
<Assembly: AssemblyCompany("Fabrikam")> 
<Assembly: AssemblyProduct("Example")> 
<Assembly: AssemblyCopyright("Copyright © Fabrikam 2014")> 
<Assembly: AssemblyTrademark("")> 

<Assembly: ComVisible(False)>

'The following GUID is for the ID of the typelib if this project is exposed to COM
<Assembly: Guid("00000000-0000-0000-0000-000000000000")> 

' Version information for an assembly consists of the following four values:
'
'      Major Version
'      Minor Version 
'      Build Number
'      Revision
'
' You can specify all the values or you can default the Build and Revision Numbers 
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")> 

<Assembly: AssemblyVersion("1.0.0.0")> 
<Assembly: AssemblyFileVersion("1.0.0.0")> 

Open in new window

Ensure that your Assembly version and Assembly file version attributes are properly formatted.

Are you using a ClickOnce deployment?  If so make sure that your publish tab is configured properly.Capture.JPG
-saige-
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question