monodevelop

New default VB.NET project immediately gives an error

谁说胖子不能爱 提交于 2019-12-03 13:10:03
I just installed Mono version 2.10.8 and MonoDevelop 2.8.6.5 on a Mac. When I create a new project (File -> New solution -> VBNet -> ASP.NET -> Web Application) it gives me an error after creating: Error while trying to load the project '/Users/starquake/Development/Mono/HelloWorld/HelloWorld.vbproj': Project does not support framework '.NETFramework,Version=v4.0' What am I doing wrong? Or how can I fix it? I had this problem when creating new VB Projects, I changed the file format to use when creating new projects to MSBuild (Visual Studio 2008) instead of the default MSBuild (Visual Studio

Building and running Monodevelop solution in OS X Terminal

北慕城南 提交于 2019-12-03 13:03:28
问题 I'd like to build and run a Monodevelop solution from the OS X Terminal. What are the appropriate tools/commands to do this? I tried running mdtools build from the directory containing MySolution.sln . This results in -bash: mdtools: command not found . Where can I download and install mdtools ? (if this is the right way to go). I built the solution from the IDE. Then I tried to run it from bin/Debug with mySolution.exe . This resulted in the error message -bash: mySolution.exe: command not

Shortcut for formatting code in Monodevelop?

跟風遠走 提交于 2019-12-03 12:08:05
Is there a way to format code using a keybinding in Monodevelop? Format Code In MonoDevelop claims you can use Control + I but it does not appear to work. The only workaround I discovered is under Tools->Options->Text Editor->Behavior You can check the option Format document on save which lets you use Control + s to save and format code. Tools->Options->Key Bindings Scroll to 'Edit' section and give a keybinding to the 'Format Document' command Brownie points for whoever guesses what IDE I'm used to :D 来源: https://stackoverflow.com/questions/20915666/shortcut-for-formatting-code-in-monodevelop

What is the difference between GTK# and Windows Forms?

有些话、适合烂在心里 提交于 2019-12-03 11:52:59
What is the difference between GTK# and windows forms? Are they totally different? Thanks Gtk# : GTK# is a .NET binding for the Gtk+ toolkit. The toolkit is written in C for speed and compatibility, while the GTK# binding provides an easy to use, object oriented API for managed use. It is in active development by the Mono project, and there are various real-world applications available that use it ( Banshee , F-Spot , Beagle , MonoDevelop ). In general, GTK# applications are written using MonoDevelop , which provides a visual designer for creating GTK# GUIs. Platforms: Unix, Windows, OSX Pros:

Where can I download the REAL MonoDevelop Windows binaries?

我的未来我决定 提交于 2019-12-03 11:02:11
问题 The monodevelop.com website just takes me to this "Xamarin Studio" thing that has severe restrictions on the usage of the free version, and pricing that's almost as bad as Visual Studio on the paid versions! Is MonoDevelop for Windows dead? All I want to do is develop a GTK# application without installing Linux! 回答1: There's still an .msi of version 3.0.6 up for download on SourceForge, if you really need version 4 you'll have to build it yourself. 回答2: You do not have to pay to use Xamarin

MonoDevelop command line compile a solution

妖精的绣舞 提交于 2019-12-03 10:54:52
The problem is as follows: I have a MonoDevelop project (ASP.NET) on my development workstation. I'm currently at a customer site, without my regular development environment on my laptop (Regulatory Burden). I have SSH access to my development workstation, but the network is too laggy to handle X11 comfortably. I need to make a minor adjustment and recompile. I tried using xbuild, with no effect: qdot@trigati ~/svn/proj/trunk/proj $ xbuild proj.csproj XBuild Engine Version 2.6.4.0 Mono, Version 2.6.4.0 Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2009. MSBUILD: error MSBUILD0000: /home

MonoDevelop - Convert line ending dialog

ぐ巨炮叔叔 提交于 2019-12-03 10:40:39
问题 I often switch between MonoDevelop on Linux and VS2010 with the same code base so I'm forever having to click do not convert line ending. Is there an option to set a default answer in MonoDevelop to prevent this dialog from popping up? 回答1: Found it... Edit > Preferences > Source Code > Code Formatting > Text File > Line Endings For v2.8.2: Project > Solution Options > Source Code > Code Formatting >Text File > Line Endings And for 4 (a.k.a. Xamarian Studio): Tools > Options... > Text Editor

Can't use Mono Soft Debugger Remote Debugging because 'debugger-agent: DWP handshake failed' error

微笑、不失礼 提交于 2019-12-03 08:57:32
I've embedded mono in my application. The application is console application that supports plug-ins. Plug-ins are .NET assemblies. All work great, but i want to debug them. To enable debugging in my C-code i have: mono_set_dirs (ASSEMBLIES_DIR_NAME, ASSEMBLIES_DIR_NAME); assembly_add_to_bundle(API_ASSEMBLY); soft_debug = getenv("MYAPP_SOFT_DEBUG"); if (soft_debug != NULL) { char *options; options = malloc(17 + strlen(soft_debug)); sprintf(options, "--debugger-agent=%s", soft_debug); mono_jit_parse_options (1, &options); free (options); mono_debug_init (MONO_DEBUG_FORMAT_MONO); } domain = JIT

NuGet Package Restore in MonoDevelop on OSX/Linux

拟墨画扇 提交于 2019-12-03 07:38:09
问题 I'm trying to compile a Visual Studio project with NuGet package restore under MonoDevelop but it's not working out of the box. NuGet should work on Mono and there's even support built into nuget.targets, so what is missing? 回答1: Based on issue tracked here: https://nuget.codeplex.com/workitem/3278 You must use xbuild with all projects that should restore packages on build. MonoDevelop->Preferences->Build Unix filesystems are case-sensitive. This breaks nuget.targets as the casing inside the

Debugging mono applications directly on ARM target

北城余情 提交于 2019-12-03 06:25:15
问题 I've recently installed Mono on a BeagleBone embedded ARM device, looking to connect a Kinnect sensor by USB and control it with C#/Mono I'm wondering, does Mono (I'm using MonoDevelop but I guess this question also applies to VS) allow you to develop locally and then debug the code against a remote target? If so how can this be accomplished? I've heard that the Soft Debugger might be what I need but after poking around in the configuration and having a look at the docs I can't find what I