473,327 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

AssemblyVersionAttribute is causing compile error!

hi All,

In the documentation
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/cpref/html/frlrfSystemReflect
ionAssemblyVersionAttributeClassTopic.htm there is a sentence "A version
number such as [assembly:AssemblyVersion("1.2.*.6")] specifies 1 as the
major version, 2 as the minor version, accepts the default build number, and
specifies 6 as the revision number.".

This is ideal for the software we're developing, we really want the revision
to stay 0 and let the assembly do its build count for us. When I use this
and compile, I get the following error:

E:\...\AssemblyInfo.cs(29): Error emitting
'System.Reflection.AssemblyVersionAttribute' attribute -- 'The version
specified '1.1.*.0' is invalid'

Does any one has any idea?

Siew Fai Hoy

Nov 17 '05 #1
0 1956

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: SB | last post by:
Hello! I have two classes, Player and CardDeck. CardDeck contains an int array called drawCards(int drawCards;). Among other things, the Player class contains a static CardDeck object(static...
14
by: Abhi | last post by:
FYI: This message is for the benefit of MS Access Community. I found that this prblem has been encounterd by many but there is hardly any place where a complete solution is posted. So I thought...
2
by: Brett | last post by:
Hi, I'm compiling an old project under the 'new' visual studio 7.1.3088. I changed the line: #include <iostream.h> to #include <iostream> and now I get a stack of errors, some of which...
7
by: Zdenko | last post by:
Hi all, I have following line in AssemblyInfo.cpp file: ; When I build managed application, FileVersion column in Windows explorer is empty. When I build C# dll, it is displayed correctly.
4
by: Phil Galey | last post by:
I created an About box and am able to get all the assembly information from the program to show up in the About box except the Version. I created the About box as a separate Windows application,...
3
by: Pascal Cloup | last post by:
Hi, I could not get the AssemblyVersion attribute. I use the following code: public static string GetProductVersion() { Assembly appAssembly = Assembly.GetExecutingAssembly();
2
by: Eddie | last post by:
I tried a few more thing. I found that I can access the AssemblyInfo.cpp like follows.(This is from the VS help system.) Type^ clsType = Form1::typeid; Assembly^ assy = clsType->Assembly; ...
0
by: sovarschizsuzsa | last post by:
Hy everybody! I would like to set the AssemblyVersionAttribute fourth part from a given parameter. My project is compiled with a makefile, so this parameter becomes value through this makefile....
27
by: Jess | last post by:
Hello, the following code failed with "segmentation fault". Could someone tell me why it failed please? Thanks! #include<iostream> #include<string> #include<cstring> #include<cstddef> using...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.