Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > mono/cocoasharp

mono/cocoasharp
Thread Tools
Mac Enthusiast
Join Date: Apr 2003
Location: manticore or people's republic of haven
Status: Offline
Reply With Quote
May 21, 2005, 04:44 PM
 
what are some things i should look for when compiling/building an app written in C# done through mono/cocasharp? i have been able to successfully compile & run at school with vs.net, so i know that there is correct cod ein there. i tried the Hello.cs example on the cocoasharp website to make sure that i had installed the framework correctly, and it will build and launch as it should. when i try on my school project, it builds fine; but when i double-click, it launches and closes right away without showing the window. any ideas where i should start looking to work on a fix? i've checked to make sure my variables are all used and that the path is correct to/from the file.

thanks!!
some people are like slinkys: they don't do much, but are fun to push down stairs.
     
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
May 21, 2005, 09:08 PM
 
Cocoa# is not ready for production work.

And you are pretty much completely misunderstanding what it does. Cocoa# is not intended to make windows .net applications run on MacOS X, it is to create MacOS X Applications that use the Cocoa/Quartz interface, but use a mono/.net backend.

Right now there are two ways of getting Windows.forms running on MacOS X (which your project undoubtedly uses): X11 or Cairo... notice that generically Windows.forms is still very much in development (not really ready yet), and the Quartz front-end for Cairo just got fonts recently... (also not really ready).

And that does not take into consideration that you could be using ActiveX (not currently a part of the Mono project) or other un-implimented parts of *.Net in Mono.

And if you run your application from the command line it will probably tell you what parts you are missing.
     
Mac Enthusiast
Join Date: Apr 2003
Location: manticore or people's republic of haven
Status: Offline
Reply With Quote
May 21, 2005, 10:32 PM
 
sorry. i did not mean to misunderstand; i had just wanted to be able to work on and test school stuff at home. i have not added any ActiveX components, so that should not be a problem. i will look at trying to run it again, but through x11 this time and not through terminal. thanks and thank you for clarifying for me the use of Cocoa#, i thought i had read the docs right. :doh:
some people are like slinkys: they don't do much, but are fun to push down stairs.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:33 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2