![]() |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
:) the "wtf" works - i didn't know /tmp has no permissions problems.
Anyway - the exception is: "Access to the path "/home/user/smart/Data.xml.temp" is denied." i set WRITE permissions to the folder and all is ok now. Thanks for the help. |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
i noticed that in GTK 2 there is a property for many widgets to set the orientation of a widget.
I created a window with controls, but i cannot see any way to rotate them using the # version when the device changes from landscape to portrait. Anyone knows what should i do to be able to rotate the window and its controls? Thanks. |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
Try to use hildon-gtk-window-set-portrait-flags via P/Invoke.
|
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
Thank you so much for compileing Mono and mono develop to run on the N900, i have been developing dot net applications for quite sometime using mono develop and Visual studio and this is really helpful,
i have some questions i hope if someone here can answer 1 - how to do something that's only specific to the N900 from C# like Vibration , Getting the GPS position , Controlling the Status LED , capturing an image from the front/ back camera, Reading the accelerometer data, turning the FM transmitter on and off..... etc ? can someone provide a code example in C# i suspect it will be all done with P/invokes if there is no .net friendly way to do it i will start a project to build a library to warp the APIs into a nice dot net friendly DLLs 2 - how can the end project be packed into a deb file to be deployed just like any other package to run like all other applications ? can i follow the normal instructions found everywhere on building Debian packages or there are some modifications ? |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
1. Yes, you have to use P/Invoke. There are some code for integration with Hildon desktop, but it has been written for Maemo 4 and now it's outdated.
2. The only difference between packaging mono applications for Debian and Maemo is the location of the directory with .desktop files for the main menu. You also should move large files to /opt, but it can be done by placing file named "optify" that contains "auto" in debian/ directory of the source package. There are also some changes in GTK bindings. Note that dialog's action area is actually a VBox, not HBox. Dialogs also automatically add scrollbars if contents doesn't fit the screen. Right click is emulated by Fn+Tap. It's a bad practice, I did it for compatability with the software written for desktop. One more thing. Before adding something in the GAC, please, contact me beforehand. You can do it via Skype (my nickname is "kekekeks") or PM. I also recommend to use xbuild utility to compile your code. |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
Right-click doesn't seem to be working on my N900. I have version 2.5.91 which should be the latest, but Fn-Tap behaves like an ordinary Tap. What's wrong with this?
|
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
Nevermind, Fn-Tap works everywhere except in the text area. I was trying to find a 'Go to definition' command, but I'm guessing monodevelop doesn't support this feature.
|
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
i don't know why but for some reason i am not able to start a new project/open an existing one - MonoDevelop just crashes...
I tried to remove and reinstall the package but still same behavior. How do i reset its settings - i thought it might help. I'll be glad for other ideas |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
is it optified
how much space does it consume on rootfs? |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
How do i know how much space is taken by it?
The rootfs memory is low (~10mb) can that be the cause? |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
I tried to run "monodevelop %f" from xterm and it seems to work fine - no crashes when starting new/opening exist solutions, but when executed from the desktop shortcut it crashes with these operations.
is there anywhere a log for this crash? Thanks. |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
Quote:
Besides fullscreen bug the stop button as well as stop in menu doesn't seems to stop the running application, isn't that a bug or am I missing something? |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
I'm trying to create a very simple client-server application using WCF on mono framework.
I created a server application with a single echo method that prints a message to the console and a client with a reference to the server that calls the method. If both client and server applications are on the N900, everything is fine, but if the client application runs from my laptop (after changing the IP address to point to the n900's ip address of course) I get the following exception in the client: System.ServiceModel.EndpointNotFoundException was unhandled Message=Could not connect to net.tcp://192.168.1.100:4050/AgentServices. The connection attempt lasted for a time span of 00:00:01.6630951. TCP error code 10061: No connection could be made because the target machine actively refused it 192.168.1.100:4050. If the server however is on the laptop, a client from the n900 can call it and it works fine. Using remoting it works fine. [update] it seems that when both client an server applications are on the n900 they work fine if the client is set to endpoint "localhost" but not if it is set to the n900's ip address - then I get: Unhandled Exception: System.Net.Sockets.SocketException: Connection refused at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in <filename unknown>:0 at System.Net.Sockets.TcpClient.Connect (System.Net.IPEndPoint remote_end_point) [0x00000] in <filename unknown>:0 at System.Net.Sockets.TcpClient.Connect (System.Net.IPAddress[] ipAddresses, Int32 port) [0x00000] in <filename unknown>:0 Is there an issue with mono that prevents incoming TCP connections to a WCF service? |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
Quote:
I've used DLLImport before but how do you do this here? |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
MonoDevelop v.2.6 link to dump file http://sdrv.ms/KFNwUa i made it public
again, started from terminal output is : BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ monodevelop * Assertion at mini-arm.c:2881, condition `thumb_supported' not met Stacktrace: at Gnome.Vfs.Vfs..cctor () <IL 0x00000, 0x00007> at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <IL 0x0004c, 0xffffffff> at MonoDevelop.Platform.GnomePlatform..cctor () [0x00022] in /home/builder1/maemo-fremantle-i386-extras-devel/work/monodevelop-2.5.90/src/addins/GnomePlatform/GnomePlatform.cs:56 at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <IL 0x0004c, 0xffffffff> at System.Reflection.MonoCMethod.Invoke (object,System.Reflection.BindingFlags,System.Refl ection.Binder,object[],System.Globalization.CultureInfo) <IL 0x00124, 0x0020f> at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags,System.Reflection. Binder,object[],System.Globalization.CultureInfo) <IL 0x00007, 0x00053> at System.Reflection.ConstructorInfo.Invoke (object[]) <IL 0x00017, 0x00057> at System.Activator.CreateInstance (System.Type,bool) <IL 0x000c9, 0x001bf> at System.Activator.CreateInstance (System.Type) <IL 0x00002, 0x00017> at Mono.Addins.TypeExtensionNode.CreateInstance () <IL 0x00001, 0x00017> at Mono.Addins.InstanceExtensionNode.GetInstance () <IL 0x0000d, 0x00027> at Mono.Addins.InstanceExtensionNode.GetInstance (System.Type) <IL 0x00001, 0x00013> at Mono.Addins.ExtensionNode.GetChildObjectsInternal (System.Type,bool) <IL 0x00061, 0x0016b> at Mono.Addins.ExtensionNode.GetChildObjects (System.Type,bool) <IL 0x00003, 0x00023> at Mono.Addins.ExtensionContext.GetExtensionObjects (string,System.Type,bool) <IL 0x00009, 0x00043> at Mono.Addins.ExtensionContext.GetExtensionObjects (string) <IL 0x0000d, 0x00027> at Mono.Addins.AddinManager.GetExtensionObjects (string) <IL 0x0000a, 0x0002f> at MonoDevelop.Ide.DesktopService.Initialize () [0x0000b] in /home/builder1/maemo-fremantle-i386-extras-devel/work/monodevelop-2.5.90/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DesktopService.cs:44 at MonoDevelop.Ide.IdeStartup.Run (string[]) [0x0031c] in /home/builder1/maemo-fremantle-i386-extras-devel/work/monodevelop-2.5.90/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:151 at MonoDevelop.Startup.MonoDevelopMain.Main (string[]) [0x00017] in /home/builder1/maemo-fremantle-i386-extras-devel/work/monodevelop-2.5.90/src/core/MonoDevelop.Startup/MonoDevelop.Startup/MonoDevelopMain.cs:24 at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff> Native stacktrace: /opt/mono/ubin/mono [0x94770] /opt/mono/ubin/mono [0xc3554] /lib/libc.so.6(__default_rt_sa_restorer_v2+0) [0x40499970] /lib/libc.so.6(abort+0x180) [0x40499b6c] /opt/mono/ubin/mono [0x197580] /opt/mono/ubin/mono [0x1975c4] [0xbed920ac] [0x40de9e60] Debug info from gdb: ================================================== =============== Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================== =============== Aborted (core dumped) Thank you for your time any sugestion? |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
~ $ monodevelop
* Assertion at mini-arm.c:2881, condition `thumb_supported' not met Stacktrace: at Gnome.Vfs.Vfs..cctor () <IL 0x00000, 0x00007> at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <IL 0x0004c, 0xffffffff> at MonoDevelop.Platform.GnomePlatform..cctor () [0x00022] in /home/builder1/maemo-fremantle-i386-extras-devel/work/monodevelop-2.5.90/src/addins/GnomePlatform/GnomePlatform.cs:56 at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <IL 0x0004c, 0xffffffff> at System.Reflection.MonoCMethod.Invoke (object,System.Reflection.BindingFlags,System.Refl ection.Binder,object[],System.Globalization.CultureInfo) <IL 0x00124, 0x0020f> at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags,System.Reflection. Binder,object[],System.Globalization.CultureInfo) <IL 0x00007, 0x00053> at System.Reflection.ConstructorInfo.Invoke (object[]) <IL 0x00017, 0x00057> at System.Activator.CreateInstance (System.Type,bool) <IL 0x000c9, 0x001bf> at System.Activator.CreateInstance (System.Type) <IL 0x00002, 0x00017> at Mono.Addins.TypeExtensionNode.CreateInstance () <IL 0x00001, 0x00017> at Mono.Addins.InstanceExtensionNode.GetInstance () <IL 0x0000d, 0x00027> at Mono.Addins.InstanceExtensionNode.GetInstance (System.Type) <IL 0x00001, 0x00013> at Mono.Addins.ExtensionNode.GetChildObjectsInternal (System.Type,bool) <IL 0x00061, 0x0016b> at Mono.Addins.ExtensionNode.GetChildObjects (System.Type,bool) <IL 0x00003, 0x00023> at Mono.Addins.ExtensionContext.GetExtensionObjects (string,System.Type,bool) <IL 0x00009, 0x00043> at Mono.Addins.ExtensionContext.GetExtensionObjects (string) <IL 0x0000d, 0x00027> at Mono.Addins.AddinManager.GetExtensionObjects (string) <IL 0x0000a, 0x0002f> at MonoDevelop.Ide.DesktopService.Initialize () [0x0000b] in /home/builder1/maemo-fremantle-i386-extras-devel/work/monodevelop-2.5.90/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DesktopService.cs:44 at MonoDevelop.Ide.IdeStartup.Run (string[]) [0x0031c] in /home/builder1/maemo-fremantle-i386-extras-devel/work/monodevelop-2.5.90/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:151 at MonoDevelop.Startup.MonoDevelopMain.Main (string[]) [0x00017] in /home/builder1/maemo-fremantle-i386-extras-devel/work/monodevelop-2.5.90/src/core/MonoDevelop.Startup/MonoDevelop.Startup/MonoDevelopMain.cs:24 at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff> Native stacktrace: /opt/mono/ubin/mono [0x94770] /opt/mono/ubin/mono [0xc3554] /lib/libc.so.6(__default_rt_sa_restorer_v2+0) [0x40499970] /lib/libc.so.6(abort+0x180) [0x40499b6c] /opt/mono/ubin/mono [0x197580] /opt/mono/ubin/mono [0x1975c4] [0xbed920ac] [0x40de9e60] Debug info from gdb: ================================================== =============== Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================== =============== Aborted (core dumped) Thank you for your time any sugesstion? |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
is there a chance to release a newer version for maemo :)?
|
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
1 Attachment(s)
Awesome, I was totally surprised when my application from pc run well on n900. Please, tell my how to fix theme colors?
|
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
Hi, i've run into a...i must admit it..., sort of stupid problem caused by me. I'm just getting started in programming so i wanted to give monodevelop a chance, so once i got it installed, i tried to customize some options (i always do that in every program : P), but how silly i was...i tried to MOVE one of the toolbar separators (the one with the 'move to the previous point in code' button), but i made a mistake and now...that toolbar fills all the screen, i can't even see the main menu at the top, i only see the task switch button and the time as expected, but this turned monodevelop impossible to use.
I just tried to move it again dragging the separator left edge...but it doesn't respond or react (even trying to drag it using the vnc pointer while in windows instead of directly using the stylus but nope) I tried uninstalling it via Fapman, then reinstall, no luck. Then i tried dpkg --purge monodevelop and also... dpkg -P monodevelop I thought that maybe this would reset the configuration, then i restarted, reinstalled and still the same situation..., i'm stuck. Here is an image of my problem http://img94.imageshack.us/img94/7133/1hy0.jpg I will be very pleased if you can give a hand at this, i just wanted to do some programming while being in my bed :rolleyes: Ok, thanks in advance |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
Quote:
read about it here http://monodevelop.com/developers/ar.../user_profiles i haven't tested this on my n900 yet but it should work |
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
Quote:
|
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
Hi again guys. I was wondering if i need to install something else on my n900, since i try to create a GTK2.0# project, so i took a look along all the available projects templates, but nothing related in GTK2#, i search inside VB .NET as well but nothing. Thanks a lot!
|
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
what app installs monodevelop as a dependency? i just reflashed my N900 and was surprised to see mono among my apps but I do not remember installing it...
|
Re: [Announce] MonoDevelop 2.6 Beta 2. An IDE for C# and ASP.NET
just wondering can i update references? or maybe its possible to compile from source newer monodevelop version?
|
All times are GMT. The time now is 22:18. |
vBulletin® Version 3.8.8