Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to autoincrement build version number in visual studio 2008

Posted on 2011-02-11
3
Medium Priority
?
560 Views
Last Modified: 2012-05-11
Hi,
Is there any way to  autoincrement build version number in visual studio 2008.
Cheers
0
Comment
Question by:RIAS
[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
  • 2
3 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 2000 total points
ID: 34870170
If you add an AssemblyInfo class to your project and ammend the AssemblyVersion attribute to end with an asterisk, for example:

[assembly: AssemblyVersion("2.10.3.*")]

Visual studio will increment the final number for you according to these rules (http://msdn.microsoft.com/en-us/library/system.reflection.assemblyversionattribute.aspx)
0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 2000 total points
ID: 34870171
Build Version Increment Add-In Visual Studio
http://autobuildversion.codeplex.com/
0
 

Author Closing Comment

by:RIAS
ID: 34872475
Cheers
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Progress

670 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