Thanks for Roger's input.
Hi Cadel,
As Roger has mentioned, in .net project, we can use the AssemblyInfos.cs
file to specify some compilation related info for our .net
application(assembly). In dotnet, we don't need to specify version for
project, the built result are all .net assemblies, so the version is
applied on assembly. If you're using VS.NET as the IDE, when you create the
project, you can find a
AssemblyInfo.cs
file, and in it, we have the following attribute:
[assembly: AssemblyVersion("1.0.*")]
* means it'll auto increase in each build, we can manually specify a full
assembly version like
1.0.5.373
After building the project, you can check the version on the output
assembly(.exe or .dll)
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Roger" <ro***@pcsrevenuecontrol.com>
| References: <98**********************************@microsoft.co m>
| Subject: Re: Project Version
| Date: Thu, 29 Sep 2005 12:51:27 -0400
| Lines: 10
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
| Message-ID: <uY**************@TK2MSFTNGP15.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: 209.27.242.196
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP15.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.languages.csharp:125640
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| > This is for a Win form.
| for any assembly.
| >
| > Where can I set my project version?
| >
| I believe it is in AssemblyInfo
| Good luck,
| Roger
|
|
|