473,395 Members | 1,677 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,395 software developers and data experts.

How to automatically increment application assembly information

VS2005. I've read to put in assemblyInfo.cs:

[assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyFileVersion("1.0.0.*")]

but this does not work and the version is always 1.0.0.0.

Why in the graphic tool i can't put the * character?

Thanks.

Sep 18 '07 #1
3 5270
Hi Diogene,

Leave this line only:
[assembly: AssemblyVersion("1.0.0.*")]

and remove the other one:
[assembly: AssemblyFileVersion("1.0.0.*")]
This should help :)

_____________
Adam Bieganski
http://godevelop.blogspot.com
"Diogene Laerzio" wrote:
VS2005. I've read to put in assemblyInfo.cs:

[assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyFileVersion("1.0.0.*")]

but this does not work and the version is always 1.0.0.0.

Why in the graphic tool i can't put the * character?

Thanks.

Sep 18 '07 #2
Thanks it works! But I think there's no fast method (without writing
code) to increment only by one the version :(
Can I write a script in "Pre-Build event command line" to obtain this?

Do you know how?
On 18 Set, 16:48, Adam Bieganski <abieganski(at)gmail.comwrote:
Hi Diogene,

Leave this line only:
[assembly: AssemblyVersion("1.0.0.*")]

and remove the other one:
[assembly: AssemblyFileVersion("1.0.0.*")]

This should help :)

_____________
Adam Bieganskihttp://godevelop.blogspot.com

"Diogene Laerzio" wrote:
VS2005. I've read to put in assemblyInfo.cs:
[assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyFileVersion("1.0.0.*")]
but this does not work and the version is always 1.0.0.0.
Why in the graphic tool i can't put the * character?
Thanks.- Nascondi testo tra virgolette -

- Mostra testo tra virgolette -

Sep 18 '07 #3
I think this is the answer:

http://biasecurities.com/blogs/jim/a...10/08/166.aspx
Cheers,
_____________
Adam Bieganski
http://godevelop.blogspot.com
"Diogene Laerzio" wrote:
Thanks it works! But I think there's no fast method (without writing
code) to increment only by one the version :(
Can I write a script in "Pre-Build event command line" to obtain this?

Do you know how?
On 18 Set, 16:48, Adam Bieganski <abieganski(at)gmail.comwrote:
Hi Diogene,

Leave this line only:
[assembly: AssemblyVersion("1.0.0.*")]

and remove the other one:
[assembly: AssemblyFileVersion("1.0.0.*")]

This should help :)

_____________
Adam Bieganskihttp://godevelop.blogspot.com

"Diogene Laerzio" wrote:
VS2005. I've read to put in assemblyInfo.cs:
[assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyFileVersion("1.0.0.*")]
but this does not work and the version is always 1.0.0.0.
Why in the graphic tool i can't put the * character?
Thanks.- Nascondi testo tra virgolette -
- Mostra testo tra virgolette -


Sep 18 '07 #4

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

Similar topics

2
by: Terence Shek | last post by:
Is there a way to set the application binding policy so that it always binds to the latest version of an assembly? I'm hoping there is a way to avoid updating the application's binding...
1
by: Keith | last post by:
All, I have been told this is an ASP.NET issue and not an IIS issue, so I am posting this here. I have a problem with ASP.NET returning an HTTP 500 error when trying to run ASPX pages on...
3
by: shalini | last post by:
Hi I am developing web application using .net with c#. My application is working fine in the testing server. But when i deploy it in the production server it is giving the following error. What...
0
by: George Durzi | last post by:
I'm trying to extend the ExceptionManager Application Block and build a custom publisher that writes my exceptions to the database. That's easy part. The difficulty I am having is in configuring my...
3
by: Paul | last post by:
Just wondering when you create a .net dll from say a .net web application does it automatically have public key encryption that will prevent substituting another assembly with the same name for the...
7
by: Ralf Gedrat | last post by:
Hello! I have some Vb.Net applications, which are terminated at indefinite times without message. If I call in the program regulated system.GC.Collect, then the program is terminated here...
2
by: junkmanuk | last post by:
Hi, This has been posted many times, but no solutions I've found so far have helped! I'm getting this message from my ASP.NET app: The application has been running fine for months, yet at...
5
by: vul | last post by:
In VB6 there is Auto Increment check box in Project Properties, which allow you have a new version every time you compile the project. Is there any easy way to have this feature in VB 2005? Some...
1
by: =?Utf-8?B?U2FpIFZhamph?= | last post by:
Hi I am working on a website in asp.net 2.0 with 2.0 framework and would like to deploy this to a windows 2003 64bit server and want it to run under 64bit framework., Is this really possible?...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.