Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 02-16-2004, 03:16 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,031
VS.NET doesn't care what filename a project's assembly attributes are found in, so I'm not sure why your compiled assembly's version attribute doesn't match the project's version attribute after renaming the AssemblyInfo file.

I did a quick test here:

1) Created a new C# WinForms app in VS.NET 2003
2) Renamed the project's AssemblyInfo.cs file to AssemblyInfox.cs
3) Changed the AssemblyVersion attribute to 1.4.3.2
4) Added an AssemblyFileVersionAttribute attribute and set to 1.2.3.4
5) Built the project

Looking at the compiled executable's File version info resource (either in Explorer or a resource editor), it has the expected version of 1.2.3.4

Looking at the compiled executable's manifest in ILDASM, it has an assembly version of 1.4.3.2.

Do you get different results with a similar test, or am I missing something?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 02:44 AM.


Copyright © 1999-2023 Kinook Software, Inc.