﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » automaticly increase assembly version number of classlibrary</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 22:43:13 GMT</lastBuildDate><ttl>20</ttl><item><title>automaticly increase assembly version number of classlibrary</title><link>http://forum.strataframe.net/FindPost18054.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;does anyone know a way to accomplish, that VS automaticly increases the assembly version number of my class library,&lt;/P&gt;&lt;P&gt;with each build ?&lt;/P&gt;&lt;P&gt;Thanks.</description><pubDate>Fri, 25 Jul 2008 08:52:28 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: automaticly increase assembly version number of classlibrary</title><link>http://forum.strataframe.net/FindPost18083.aspx</link><description>[quote][b]Ben Chase (07/25/2008)[/b][hr]Excellent,&amp;nbsp;glad you got it working.&amp;nbsp; BTW, just FYI, when you reference the class library as a project (meaning it's in the same solution), you won't have a problem.&amp;nbsp; However, if you try to reference the class library as an assembly reference (by browsing to the .dll on disk when you add the reference), then you'll need to set the "Specific Version" option to "false" to make sure that your referencing project doesn't lose its reference each time you build the class library.[/quote]&lt;/P&gt;&lt;P&gt;ah. allright :D&lt;/P&gt;&lt;P&gt;will make sure i do that.&amp;nbsp;thanks !</description><pubDate>Fri, 25 Jul 2008 08:52:28 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: automaticly increase assembly version number of classlibrary</title><link>http://forum.strataframe.net/FindPost18079.aspx</link><description>Excellent,&amp;nbsp;glad you got it working.&amp;nbsp; BTW, just FYI, when you reference the class library as a project (meaning it's in the same solution), you won't have a problem.&amp;nbsp; However, if you try to reference the class library as an assembly reference (by browsing to the .dll on disk when you add the reference), then you'll need to set the "Specific Version" option to "false" to make sure that your referencing project doesn't lose its reference each time you build the class library.</description><pubDate>Fri, 25 Jul 2008 08:33:27 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: automaticly increase assembly version number of classlibrary</title><link>http://forum.strataframe.net/FindPost18076.aspx</link><description>ok, thanks i got it :D&lt;/P&gt;&lt;P&gt;just had to remove it from the assemblyInfo.cs&lt;/P&gt;&lt;P&gt;cool :D</description><pubDate>Fri, 25 Jul 2008 08:25:07 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: automaticly increase assembly version number of classlibrary</title><link>http://forum.strataframe.net/FindPost18074.aspx</link><description>ok apearantly it takes that from the AssemblyFileVersion and the windows explorer doesnt refresh it correctly.&lt;/P&gt;&lt;P&gt;however i cannot apply * to the AssemblyFile-Version. It also gives me a warning in the debugger.</description><pubDate>Fri, 25 Jul 2008 08:23:07 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: automaticly increase assembly version number of classlibrary</title><link>http://forum.strataframe.net/FindPost18073.aspx</link><description>hi, &lt;/P&gt;&lt;P&gt;thanks. it works. ::D&lt;/P&gt;&lt;P&gt;however it will only show the new version number when i right-click the file and select properties-&amp;gt;version&lt;/P&gt;&lt;P&gt;but not under the file name in windows explorer. there it shows some number i gave it before. i have no idea where it pulls that from. any idea ?&lt;/P&gt;&lt;P&gt;thanks !</description><pubDate>Fri, 25 Jul 2008 08:17:00 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: automaticly increase assembly version number of classlibrary</title><link>http://forum.strataframe.net/FindPost18072.aspx</link><description>You will set this within the AssemblyInfo.vb or AssemblyInfo.cs class that is within your project.&amp;nbsp; It will appear under the My project or Properties folders within the solution.&amp;nbsp; Once open, you will just set the AssemblyVersion tag to include wild cards on the last item:&lt;/P&gt;&lt;P&gt;[codesnippet]assembly: AssemblyVersion("1.0.*")[/codesnippet]&lt;/P&gt;&lt;P&gt;You can also do this ver same thing by right-clicking the project, going to the Application page, then clicking the Assembly information button.&amp;nbsp; Just put a * in the 3rd place and leave the 4th blank.</description><pubDate>Fri, 25 Jul 2008 07:50:57 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: automaticly increase assembly version number of classlibrary</title><link>http://forum.strataframe.net/FindPost18068.aspx</link><description>here's a screenshot:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/7a8cd8cc-76c7-4ba6-8fcb-ad44.jpg"&gt;</description><pubDate>Fri, 25 Jul 2008 02:38:28 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: automaticly increase assembly version number of classlibrary</title><link>http://forum.strataframe.net/FindPost18067.aspx</link><description>i dont have the "deploy" tabs with a classlibrary project. only with normal (winform) projects.</description><pubDate>Fri, 25 Jul 2008 02:30:17 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: automaticly increase assembly version number of classlibrary</title><link>http://forum.strataframe.net/FindPost18066.aspx</link><description>Sorry, should have written: 'click Project _then_ Properties at the menu'&lt;/P&gt;&lt;P&gt;Ralph</description><pubDate>Fri, 25 Jul 2008 02:20:08 GMT</pubDate><dc:creator>Ralph Rutschmann</dc:creator></item><item><title>RE: automaticly increase assembly version number of classlibrary</title><link>http://forum.strataframe.net/FindPost18064.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;open your solution in VS, click Project than&amp;nbsp; Properties at the menu, then click the tab down left named 'deploy', I guess. There is a checkbox down left at the page which you should activate if it is not.&lt;/P&gt;&lt;P&gt;Sorry, I use the german version of VS but my translation should give you a hint.&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Ralph</description><pubDate>Fri, 25 Jul 2008 02:15:33 GMT</pubDate><dc:creator>Ralph Rutschmann</dc:creator></item></channel></rss>