Project Version

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This is for a Win form.

Where can I set my project version? In VB 6.0 under the project properties
there was a make tab that had Major, Minor and Revision.
 
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" <[email protected]>
| References: <[email protected]>
| 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: <[email protected]>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: 209.27.242.196
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.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
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top