[MonoDevelop] Problems using MD 2.2 Beta 2
Daniel Lidström
dlidstrom at gmail.com
Wed Oct 14 14:51:51 EDT 2009
On 14 okt 2009, at 00.27, Michael Hutchinson wrote:
> On Tue, Oct 13, 2009 at 4:28 PM, Daniel Lidström
> <dlidstrom at gmail.com> wrote:
>> I created a console C# project. Then I first tried to compile but it
>> failed:
>>
>> Building: Console (Debug|iPhoneSimulator)
>> Performing main compilation...
>> /Library/Frameworks/Mono.framework/Versions/2.4.2.3/bin/gmcs /
>> noconfig
>> "/out:/Users/daniel/Projects/iPhoneTest/Console/bin/Debug/
>> Console.exe"
>> "/r:System.dll" /nologo /warn:4 /debug:+ /debug:full /optimize- /
>> codepage:utf8 "/define:DEBUG" /t:exe "/Users/daniel/Projects/
>> iPhoneTest/Console/Main.cs" "/Users/daniel/Projects/iPhoneTest/
>> Console/
>> AssemblyInfo.cs"
>> Compilation failed: 1 error(s), 0 warnings
>>
>> /Users/daniel/Projects/iPhoneTest/Console/Main.cs(9,33): error
>> CS0234:
>> The type or namespace name `WriteLine' does not exist in the
>> namespace
>> `Console'. Are you missing an assembly reference?
>
> Is this the default code as created by the template, or have you
> modified it? Also, why are you using the iPhoneSimulator platform for
> your console project? For one thing, MonoTouch doesn't work on PPC.
Actually I installed MonoTouch just to try, but ended up creating a
console project instead. I did not change the code in any way, but
this project was created along an iPhone application in the same
solution after I realized MonoTouch really wasn't supported on PPC.
/Daniel
More information about the Monodevelop-list
mailing list