View Single Post
  #1  
Old 07-11-2007, 11:45 AM
ambalboa ambalboa is online now
Registered User
 
Join Date: 06-25-2007
Location: Houston, TX
Posts: 70
Need to change VSNET_PROJ_VER number format

I am able to retrieve the file version of a .vdproj file I am working with, but for some reason it is set to 1.1, instead of 1.0.0.1. I am trying to do a 'Run Script' step to add the two middle digits, but I am unable to do so. Also, I tried using the commands shown below to set the macro to a variable:

Set m = vbld_TempMacros()("VSNET_PROJ_VER")
Set m = vbld_TempMacros("VSNET_PROJ_VER")
Set m = vbld_TempMacroObj()("VSNET_PROJ_VER")

All of them fail. How can I change the version number format that is being retrieved from the 'VS.NET Get Version' step? Is is not possible?

Last edited by ambalboa; 07-11-2007 at 11:57 AM.
Reply With Quote