Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Version Number

Reply
Thread Tools

Re: Version Number

 
 
Curt_C [MVP]
Guest
Posts: n/a
 
      06-10-2004
the AssemblyInfo file holds the version tag settings.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"Lori McDonald" <> wrote in message
news:67892F39-9995-4D21-AA1D-...
> I have code that is reused throughout several sites and I have it all

compiled into one assembly that I use with the different applications.
>
> I want to do a better job of version control and managing what version I

am using with the different applications (in the past I have not done this).
>
> However the when I go to the File Properties of the DLL it tells me that

the version number is 0.0.0.0 and I cannot find a way to change this in
Visual Studio.Net
>
> I use CVS and a PushOK plugin for a version control system and it would be

neat if it could work with that.. but I am guessing that is beyond the scope
of this newsgroup.
>
> Can anyone tell me how I can manually increment the version or get Visual

Studio to do it for me?


 
Reply With Quote
 
 
 
 
=?Utf-8?B?TG9yaSBNY0RvbmFsZA==?=
Guest
Posts: n/a
 
      06-10-2004
Here must be my problem. I don't see an AssemblyInfo file under SolutionExplorer. Do I need to create one?

Did I do something wrong when I setup my project that it wasn't created?

Thanks,
Lori
 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      06-11-2004
Hi Lori,

I agree with Curt that we should specify the version number of a assembly
via the "AssemblyVersion" attribute such as
[assembly: AssemblyVersion("1.0.*")]

As for the "AssemblyInfo.cs(.vb)" file, this is a file VS.NET automatically
created for us(for control the assembly's build options) when we create a
new project. You can try creating a new project(no matter winform or web
application) to have a look. And here is some tech articles in MSDN about
the version control for .net:

#Managing Versions of an Application
http://msdn.microsoft.com/library/en...rs.asp?frame=t
rue

#Team Development with Visual Studio .NET and Visual SourceSafe
http://msdn.microsoft.com/library/en...asp?frame=true

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx


 
Reply With Quote
 
=?Utf-8?B?TG9yaSBNY0RvbmFsZA==?=
Guest
Posts: n/a
 
      06-11-2004
OK. I see that when you create a new "Web Control Library" project it creates a AssemblyInfo.vb file.

It appears that someone I mistakenly created an Empty project instead.

Does anyone know how I can convert my project over? Do I just add an Assembly Informatio file with an Add New Item? Or do I have to do something else?

Thanks,
Lori
 
Reply With Quote
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      06-11-2004
Hi Lori,

Just add a new one (AssemblyInfo.cs(.vb)file) or copy one from other
projects which contain such a file. Also, if you can change it to some
other names if you would like. No other particular setting needed.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx


 
Reply With Quote
 
=?Utf-8?B?TG9yaSBNY0RvbmFsZA==?=
Guest
Posts: n/a
 
      06-11-2004
That fixed it.

Thanks,
Lori
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] ASP .Net 5 02-09-2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? PA Bear [MS MVP] ASP .Net 0 02-05-2008 03:28 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green ASP .Net 0 02-05-2008 02:45 AM
OT: Number Nine, Number Nine, Number Nine FrisbeeŽ MCSE 37 09-26-2005 04:06 PM
Express Version Kills Current Version Lloyd Sheen ASP .Net 11 07-02-2004 02:45 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57