Hi,

On Wed, May 30, 2012 at 10:06 AM, René Ruppert
<[email protected]> wrote:
> Hi,
>
> I have posted this on SO but no satisfying answer. Seems to be too specific.
> Maybe somebody here can help out:
>
> http://stackoverflow.com/questions/10802105/what-are-all-the-different-version-input-field-in-monodevelop-when-using-monot
>

I just added an answer, but in any case this is the gist of it:

> My wish list is:
>
> * I want to define ONE version somewhere ( not three ).

Use the one in the app bundle (your third option).

> * I would like the build of the version to be increased automatically.

You will have to do this yourself, and you can do it by adding
post-build commands in MonoDevelop that modifies Info.plist
accordingly.

> * I want to read to version while running the app to display it, either
> via NSBundle.MainBundle.InfoDictionary.ValueForKey ( new NSString
> ("CFBundleVersion") ) or something else.

This works if you use the app bundle version.

Rolf
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to