monodevelop

Debug/Trace output in MonoDevelop

六月ゝ 毕业季﹏ 提交于 2019-12-10 17:31:31
问题 Where can I see System.Diagnostics.Debug and System.Diagnostics.Trace output in MonoDevelop? I would think it should appear in the ApplicationOutput window, but it's nowhere to be found. 回答1: The Application Output window will show the results of Console.WriteLine. If you want something that works with Visual Studio on Windows as well as on Mono, then add a static method like the following to your Program.cs file: public static void WriteLine(String fmt, params Object[] args) { string op; if

Assembly from GAC is not listed in Monodevelop's Edit References dialog

扶醉桌前 提交于 2019-12-10 17:19:09
问题 I am trying to port a small console application from Windows/.NET to Ubuntu/Mono. I have problems to add a reference to the mono version of NLog, which I added to the GAC. Adding NLog.dll to the assembly was confirmed: Installed NLog.dll into the gac (/usr/lib/mono/gac) I also find it in the GAC under: /usr/lib/mono/gac/NLog/2.0.0.0__5120e14c03d0593c First I thought that it was due to my umask 027. But I changed files to 644 and directories to 755. The problem persists. I am working with:

How to develop for .NET Micro Framework on Linux?

旧街凉风 提交于 2019-12-10 16:41:08
问题 Is there an IDE which will allow me to develop for the .net Micro Framework on Linux? Maybe MonoDevelop? 回答1: From the Netduino forums: Soon, we'll be launching an open source project to port the .NET Micro Framework SDK to Mono for use on Mac and Linux. They have released the first alpha release of MFDeploy for Mono (Mac and Linux). 回答2: Also, Netduino community member Brian Jepson has posted instructions on how to set up the Mono toolchain on Mac/Linux to compile .NET Micro Framework code.

Monodevelop iOS Unity Cannot Connect to Debugger

大兔子大兔子 提交于 2019-12-10 16:16:47
问题 I'm struggling to get my iOS app debugging with monodevelop. The mac is connected to the same network as the iPad running the app and it shows up in the attach to process window so it is discoverable. The firewall is also turned off and the iPad does not have cellular network capability. When I try to connect I get a "could not connect to debugger" message. Does anyone have any ideas? I've been doing lots of googling but can't find any answers. 来源: https://stackoverflow.com/questions/37611558

.Net web services on linux

假如想象 提交于 2019-12-10 15:55:07
问题 I have implemented some web services in .net and hosted it on windows server, how I can port it to linux ? To have the same web services on linux machine, do I have to rewrite it in Java ? Any Ideas. 回答1: A very wide scope of question , so here is a general answer If you have implemented the service in WCF then mono ( .net on Linux ) ha limited support for it. For all the known issues look at http://www.mono-project.com/WCF_Development I have done this before for simple services without much

MonoTouch Error: “The Apple iPhone SDK not installed” after upgrade to iOS 5.1

我怕爱的太早我们不能终老 提交于 2019-12-10 10:36:57
问题 I've upgraded iOS 5.0.1 to 5.1 and I'm using MonoTouch 5.2.5 and MonoDevelop 2.8.6.5. When I created a sample applcation in MonoDevelop, it shows the error "The apple iphone sdk not installed". How do I get MonoTouch to work with iOS 5.1? 回答1: Did you only update your device(s) to iOS 5.1 ? or Did you install the new Xcode 4.3.1 from the AppStore ? That where the iOS 5.1 SDK is available and MonoDevelop 2.8.6.5 should pick it up automatically. From MonoDevelop menu, select About Mono Develop

RhinoMocks breaking the compiler in recent versions of Mono / MonoDevelop

荒凉一梦 提交于 2019-12-10 09:54:12
问题 I'm not sure exactly what broke this as I've been sporadic with my Mono/Monotouch development, but I believe it's the latest update to the mono framework. All of a sudden building my Unit Test project (which itself is a MonoTouch Library project) now breaks the compiler and it seems to be the RhinoMocks DLL (removing the reference fixes it). It looks like the RM DLL is referencing the wrong System DLL (not the MT one) but what is confusing is why this never broke before and my tests used to

System.IO.File' does not contain a definition for `AppendAllText' error in Unity3D?

杀马特。学长 韩版系。学妹 提交于 2019-12-10 09:32:29
问题 I am very new to Unity3d and tried to open an existing project. While playing it shows the following error. Assets/Scripts/DataAccess.cs(39,30): error CS0117: System.IO.File' does not contain a definition for AppendAllText' I dont have any idea about how to solve this. I get stuck over here. It would be appreciating if anyone solve this problem. Thanks in advance... 回答1: I ran into this, where no one else on my team could reproduce it. We are targeting the iOS platform, and for some reason,

MonoDevelop can't import VS2013/2015 solutions

我只是一个虾纸丫 提交于 2019-12-10 03:32:08
问题 I'm opening a .sln file that I transferred from VS2013 into MonoDevelop. When I attempt this, however, it gives me the following error(s): 1. Project 'foo' has a different ToolsVersion than the containing solution. 2. Error while trying to load the project '/path/to/foo.csproj': Unknown ToolsVersion '12.0' 3. [repeat 2 for every project in the solution] When I tried doing this for a VS2015 file, it game me the same errors, except this time ToolsVersion was 14.0 . My MonoDevelop version is v4

How to use native C++ libraries in Mono for Android (monodroid) and MonoTouch

时光总嘲笑我的痴心妄想 提交于 2019-12-10 02:43:32
问题 I am interested in using Mono for Android and MonoTouch to build mobile applications that can make use of a large number of C++ native libraries that I have. Can I get some specific instructions on how to call methods or incorporate the code into my final mobile app on iOS or Android? I have looked at the Xamarin documentation online it is pretty cryptic to me as someone who is new to programming mobile apps (Mono for Android and MonoTouch). In the case of building a monodroid app in Visual