automaticly increase assembly version number of classlibrary


Author
Message
Philipp Guntermann
Philipp Guntermann
StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)StrataFrame User (249 reputation)
Group: Forum Members
Posts: 141, Visits: 263
Hi,

does anyone know a way to accomplish, that VS automaticly increases the assembly version number of my class library,

with each build ?

Thanks.

Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
You will set this within the AssemblyInfo.vb or AssemblyInfo.cs class that is within your project.  It will appear under the My project or Properties folders within the solution.  Once open, you will just set the AssemblyVersion tag to include wild cards on the last item:

assembly: AssemblyVersion("1.0.*")

You can also do this ver same thing by right-clicking the project, going to the Application page, then clicking the Assembly information button.  Just put a * in the 3rd place and leave the 4th blank.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search