[MonoTouch] version numbering

Craig Dunn craig.dunn at conceptdevelopment.net
Mon Dec 13 17:18:03 EST 2010


Not sure... i'll take a guess and assume it's general .NET assembly version
number support, and not related to Mono*Touch* at all?

If you have multiple csproj 'libraries' in your MonoTouch solution, you'll
probably find the .NET version for those assemblies gets that value...


On Tue, Dec 14, 2010 at 8:41 AM, Jason Awbrey <jason at awbrey.net> wrote:

> Thanks.  Then what is the version number in General --> Main Settings for?
>
>
> On Mon, Dec 13, 2010 at 3:38 PM, Craig Dunn <
> craig.dunn at conceptdevelopment.net> wrote:
>
>> In your *Project* Options -> Build -> iPhone Application -> General tab
>> there is a Bundle version field (along with the Bundle identifier and
>> Display name). This is the value you are looking for. MonoDevelop very
>> kindly puts it in Info.plist for you - do 'Show package contents' on the
>> .app in any of your build-output folders to see what else goes in there.
>>
>> I've not done auto-incrementing numbers, but the Project Options ->
>> General -> Custom Commands has been useful for us to 'swap/rename' between
>> two Settings.bundle/Root.plist files for Debug and Release...
>>
>> cd
>>
>> On Tue, Dec 14, 2010 at 6:53 AM, Jason Awbrey <jason at awbrey.net> wrote:
>>
>>> A couple of questions regarding version numbers.  Right now I'm still
>>> testing internally so I just want an incremented number so that I can verify
>>> which build my ad hoc users have loaded.
>>>
>>>
>>> 1. In my Solution options, I have my version set to a integer - currently
>>> 102.  My project inherits from my solution, and I don't have a version # set
>>> in my plist.  However, in code when I do this
>>>
>>> NSBundle.MainBundle.ObjectForInfoDictionary("CFBundleVersion").ToString()
>>>
>>> it retruns "1.0".  Am I misunderstanding what the relation between the
>>> version # in MonoDevelop is and what CFBundleVersion is looking at?
>>>
>>> 2. How can I auto-increment that version number?
>>>
>>> This post (
>>> http://forums.monotouch.net/yaf_postst360_Build-dateversion.aspx)
>>> discusses using agvtool, but when I try that it fails because it is looking
>>> for an XCode project.  Is there a way to make this work with MT/MonoDevelop?
>>>
>>>
>>>
>>> thanks - Jason
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> MonoTouch mailing list
>>> MonoTouch at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/monotouch
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20101214/fcae40f4/attachment.html 


More information about the MonoTouch mailing list