Reputation: 4482
I am using a VB.NET Portable Class Library to hold my Model objects in an WinRT C#/XAML app. When I consume the Portable Class Library, the version number is always 1.0.0.0 -- I have not found a way to override this with a more relevant value, let alone increment it. The properties pages offer no option I've found, and there is no configuration file for the Portable Class Library.
Does anyone know how to set/increment a version number on a Portable Class Library?
Upvotes: 2
Views: 562
Reputation: 16744
Are you referring to the Assembly version? You can set that with an AssemblyVersionAttribute, which is by default in the AssemblyInfo.cs file:
[assembly: AssemblyVersion("1.0.0.0")]
Upvotes: 2