monodevelop

Resource.designer.cs NOT regenerating in Mono (Xamarin Studio)

喜夏-厌秋 提交于 2019-12-10 02:25:04
问题 I'm currently developing an app with Mono, I recently updated to Xamarin Studio 4.0.8, and was having problems with the design elements not being added to the solution. I tried to edit manually the designer.cs, and later on I erased it, hoping the program will regenerate it again, with the layout changes. I have tried: Rebuilding it Cleaning and rebuilding Erasing the file through the file explorer And it still doesn't regenerate properly, Xamarin creates the Resource.designer.cs but it's

Problem loading Assemblies in MonoTouch Project

柔情痞子 提交于 2019-12-09 13:48:25
问题 I am building a Monotouch (trial) 4.0.3. project. It compiles with the warning: Warning: Library 'loader.dll' missing in app bundle, cannot extract content All of the other dlls are successfully bundled during build, and this one was working before. After compiling with the warning, it crashes on load at runtime (on the simulator) with a segmentation fault when it fails to load the assembly. I have searched for this warning and I haven't been able to find any references to it. Does anyone

monodevelop 3 - support for “Attach to process”

流过昼夜 提交于 2019-12-09 11:44:37
问题 does MonoDevelop 3 support attach to process? If so can someone point out where it is or any possible workaround. 回答1: The short answer is: No, not as far as i know. However if you are looking to do debugging without launching the project from MonoDevelop there is an option of using the Soft debugger described here. The workflow for doing that is: Enable Custom commands to the softdebugger in monodevelop by setting environment variable MONODEVELOP_SDB_TEST to some value Start monodevelop Go

MonoDevelop command line compile a solution

蓝咒 提交于 2019-12-09 08:26:04
问题 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,

How to debug unit test with MonoDevelop?

旧巷老猫 提交于 2019-12-08 16:22:18
问题 I have MonoDevelop 2.4.2 on OSX. I have a failing unit test that I would like to debug. Is there a way to do it? I found a reference on MonoDevelop mailing list but my version does not have mentioned option. Am I missing something? 回答1: I was able to debug a unit test library by right-clicking my "unit test project" in the "Solution Explorer" and choosing "Debug Item". I'm running the Windows version of MonoDevelop, but the same option is available on Linux and OSX versions. 回答2: On OSX

Who copies app.config to app.exe.config?

五迷三道 提交于 2019-12-08 14:58:01
问题 I'm writing a game development IDE that creates and compiles .NET projects (which I've been working on for the past few years) and am in the process of updating it to generate output not only for Windows/Visual Studio, but also for Linux/MonoDevelop (a thrillingly simple process for .NET, but still requiring some tweaks). As part of this, I have found it necessary to start generating an app.config file as part of this to map dependent DLL names to Linux dependency names with <dllmap> elements

MonoDevelop 2.4: Help finding a dll

[亡魂溺海] 提交于 2019-12-08 10:11:55
问题 I am trying to build a MonoDevelop 2.4 add-in but I need the dll with the namespace of: MonoDevelop.Projects.Gui. Does anyone know what dll this namespace is stored in? I was told that the namespace was in MonoDevelop.Ide.dll but when I added the dll to the MonoDevelop project the namespace did not resolve. 回答1: This namespace doesn't exist anymore in MonoDevelop 2.4. The classes that were there have been moved to MonoDevelop.Ide.* namespaces. You can try looking in MonoDevelop.Ide,

How to Right Align Numbers in GTK# Spin Button?

淺唱寂寞╮ 提交于 2019-12-08 09:43:22
问题 Can anyone tell me how to right align the numbers in a GTK# spinbutton control? I can't for the life of my figure out how it works there. The documentation is sparse, and I'm just drawing a blank after numerous attempts. Thanks in advance for any responses. 回答1: It's a subclass of Gtk.Entry - you should just be able to set the Xalign property to false. 来源: https://stackoverflow.com/questions/11284994/how-to-right-align-numbers-in-gtk-spin-button

Developing ASP.NET MVC using MonoDevelop on MAC

半城伤御伤魂 提交于 2019-12-08 04:34:08
问题 I am developing a web app using ASP.NET MVC 2.0 in MonoDevelop. I have latest Mono 2.10 and MonoDevelop 2.4.2 and I am running them on Mac. According to mono’s release notes, it should support ASP.NET MVC 2.0. However, I found MonoDevelop’s project templates still only support ASP.NET MVC 1.0. So I had to create MVC project from MonoDevelop and remove system.web.mvc 1.0.0.0 from reference and add system.web.mvc 2.0.0.0 back in. I can write and compile code OK and MonoDevelop does provide

How to development in Visual Studio and then deploy apps to Linux machine

半世苍凉 提交于 2019-12-08 04:00:52
问题 How to develop app in Visual Studio and then deploy apps to Linux machine (OS - Ubuntu, web server - Nginx). Can any explain the steps, it will be a great help 回答1: I would say that there are three ways how you can develop apps for Linux using mono. First is using only Visual Studio for development and from time to time deploy your app to Linux to see potential issues. I personally use this scenario because it's simple and when you are not messing with MS specific stuff or yet fully