Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Setting Version for WebService Assemblies (https://www.kinook.com/Forum/showthread.php?t=1355)

JC1455 11-10-2005 09:30 AM

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?

kinook 11-10-2005 10:47 AM

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.

JC1455 11-10-2005 06:11 PM

Sweeeet! Thanks.


All times are GMT -5. The time now is 07:11 AM.


Copyright © 1999-2023 Kinook Software, Inc.