are you using
Working Directory ==> ${ProjectDir}
and "Run on external console" checked
(sorry I didn't get more specific about those earlier)
On Mon, Jul 23, 2012 at 10:18 PM, David Junod <
[email protected]> wrote:
> dumb question perhaps, but how do you get it so that it doesn't give a
> build error? I did exactly as you stated and /bin/date returns 1 (causing
> an error).
>
> On Jul 23, 2012, at 10:02 AM, Jason Awbrey wrote:
>
> I have a custom build command like this
>
> /bin/date > builddate.txt
>
> and then in a tableview cell in my "About" section I have this
>
> cell.DetailTextLabel.Text = System.IO.File.ReadAllText("builddate.txt");
>
> as well as the version data
>
> cell.TextLabel.Text = "Version";
> cell.DetailTextLabel.Text =
> NSBundle.MainBundle.ObjectForInfoDictionary("CFBundleVersion").ToString();
>
> On Mon, Jul 23, 2012 at 11:55 AM, David Junod <
> [email protected]> wrote:
>
>> That would be helpful.
>>
>> Thanks
>>
>>
>> On Jul 23, 2012, at 9:51 AM, Jason Awbrey wrote:
>>
>> I've done this before with a post-build action. If you're interested I
>> can lookup the code I used to do it
>>
>> On Mon, Jul 23, 2012 at 11:50 AM, David Junod <
>> [email protected]> wrote:
>>
>>> Is there any way with MonoDevelop that I can have a constant for when my
>>> app was built (that I don't have to maintain manually).
>>>
>>> Console.WriteLine("Build: {0} {1}", versionString, BUILD_DATE);
>>> _______________________________________________
>>> MonoTouch mailing list
>>> [email protected]
>>> http://lists.ximian.com/mailman/listinfo/monotouch
>>>
>>
>>
>>
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch