Last post Jun 10, 2007 11:32 PM by StevenSw
Apr 17, 2007 01:13 PM|gildas|LINK
For my asp.net project I added a Web Deployment project and all work just perfectly expect that i can't increment build version like I would.
In the "Output Assemblies" section I selected "Merge All output to a single assembly" and the new .dll is welll created . If I specify an assembly version number like 188.8.131.52, my dll will have these numbers. But what I would like right now is a way to manage
this assembly numbers like with an incremental way or with the day of build.
Apr 17, 2007 04:22 PM|Liming|LINK
Apr 17, 2007 05:05 PM|gildas|LINK
That's exactly want i DONT want to do !
Is there a way of setting build number like 1.0.1.* ?
Or 1.0.1.(yyyyMMdd) or somthing like that ?
May 01, 2007 04:36 AM|ads2667|LINK
To version a web deployment project, simply place the following code in the web.config file of the web project:
<compiler language="c#;cs;csharp" extension=".cs"
Then, replace [PATH] with the location of your AssemblyInfo file. Ensure the warningLevel is only set to 0, if you set it any higher, you will get a Non CLS-Compliant error. Perhaps someone from microsoft can inform me if it is possible to alter the default
naming schemes of the internal '__ASP' naming schema to create the component to be CLS-Compliant.
WDP Version Label Assembly
May 10, 2007 12:22 PM|mandar.athalye|LINK
I tried using your solution. first of all it gave me errors for all the lines in assemblyinfo.cs file. When I commented those, I get version number as 0.0.0.0 when I try to print
Let me know how I can use this.
Jun 10, 2007 11:32 PM|StevenSw|LINK
This may be what you're looking for: