Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-10-2005, 09:30 AM
JC1455 JC1455 is online now
Registered User
 
Join Date: 11-10-2005
Posts: 8
Setting Version for WebService Assemblies

Summary: Is it possible to set the version number on assemblies for a VS.Net 2005 (RTM) web service built using Visual Build Pro 5.7?

Details: We have some sub projects that are included within a regular VS.Net 2005 application and also as part of a VS.Net 2005 Web service. When I compile the application all of the sub projects assemblies get the version number that I set on the "Version" tab in Visual Build Pro 5.7. However when I compile the web service none of the assemblies pick up the version number set from Visual Build Pro 5.7. Instead they just have the values from the assemblyinfo.cs file in the project.

Then in the Visual Build Pro 5.7 help file I found a section called "Make VS.NET Action Versions Tab" and noticed it says "The Set and Increment version capabilities are not supported and will be ignored for Visual Studio 2005 web projects." So I guess that's what I'm running into. Is there anyway to make Visual Build Pro 5.7 set the version number on assemblies in a VS.Net 2005 project? Will Visual Build Pro 6.0 do this? Is there any solution for this?
Reply With Quote
  #2  
Old 11-10-2005, 10:47 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
Create a separate Make VS.NET step before the build step, specifying the .cs file where the version attributes should be created/updated in the Filename field and the desired version values on the Versions tab. You can combine this with a Process Files action to process multiple .cs files.
Reply With Quote
  #3  
Old 11-10-2005, 06:11 PM
JC1455 JC1455 is online now
Registered User
 
Join Date: 11-10-2005
Posts: 8
Sweeeet! Thanks.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 03:58 PM.


Copyright © 1999-2023 Kinook Software, Inc.