Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 144687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T08:17:34+00:00 2026-05-11T08:17:34+00:00

I have a Visual Studio 2008 project that produces a file called: Game-Release.exe .

  • 0

I have a Visual Studio 2008 project that produces a file called: ‘Game-Release.exe‘.

This was configured under Project Properties -> C/C++ -> Linker -> General:

$(OutDir)\$(ProjectName)-Release.exe 

I would like to take this a bit further by have an incrementing build number so I would have something which says:

Game-Release-Build-1002.exe 

The number on the end should be an incrementing integer. I will be storing the build exe’s on subversion so I think i would find this useful (although not necessary).

Perhaps there is a built in macro in Visual Studio that could handle this. Quite possibly I was thinking I could have a text file with the build number in it and have the compiler read, use and increment the number in the file each time the project is built. My goal is however to make the process as automated as possible. What is the best way to accomplish this?

If you offer an opinion, please also provide the code we can all share. Thnx.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T08:17:35+00:00Added an answer on May 11, 2026 at 8:17 am

    The Versioning Controlled Build add-in seems like it would do the job.

    Update: Your question specifically mentions using Visual Studio to increment the version, but there is nothing automated about that. Have you considered using Nant and a CI server? That way, it is easy to inject the SVN revision number into AssemblyInfo.cs equivalent for C++. Automatically, on the build server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a visual studio 2008 solution that includes an asp.net-hosted remoting project in
I have a large legacy C++ project compiled under Visual Studio 2008. I know
I have a Visual Studio 2008 project that is proving difficult to debug. I
I have a Visual Studio 2008 .NET Framework 2.0 project that I'm building. It
I have a bunch of Velocity template files in a Visual Studio 2008 project,
I have a Visual Studio 2008 solution with two projects (a Word-Template project and
I have created a setup project using Visual Studio 2008. After the application is
I have a Web Application project in Visual Studio 2008. (lucky you, you say?
Environment: Team Foundation Server 2005 Visual Studio 2008 I have a reasonably large project
For some reason, my visual studio 2008 installation doesn't have the Create Test Project

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.