monodevelop

Console project fails to run in MonoDevelop 6.3 on Ubuntu

荒凉一梦 提交于 2019-12-17 17:14:11
问题 I installed MonoDevelop 6.3 on Ubuntu using flatpak install --user --from https://download.mono-project.com/repo/monodevelop.flatpakref . When I create a new console project and hit F5 to start it with debugging, MonoDevelop can't start it and gives me an error message saying: Debugger operation failed Cannot start process because a file name has not been provided. Ctrl + F5 also doesn't work, it says: Cannot execute "/home/sashoalm/... 回答1: You will need to edit the run configuration and

Can you Run Xcode in Linux?

北战南征 提交于 2019-12-17 10:13:36
问题 Can you run Xcode in Linux? Mac OS X was based on BSD Unix, so is it possible? From what I have heard, there is a MonoDevelop plugin that has an iPhone simulator. 回答1: The low-level toolchain for Xcode (the gcc compiler family, the gdb debugger, etc.) is all open source and common to Unix and Linux platforms. But the IDE--the editor, project management, indexing, navigation, build system, graphical debugger, visual data modeling, SCM system, refactoring, project snapshots, etc.--is a Mac OS X

How to convert Windows desktop app to Mac desktop app?

孤街浪徒 提交于 2019-12-14 03:48:51
问题 I need to convert a C# .NET Windows desktop app to Mac. I've read about the cross-platform aspects of Qt, REAL Studio, LiveCode/RunRev, wxWidgets, and Mono (www.mono-project.com and http://monodevelop.com). Is Mono the only one that can be used to directly convert? If I were developing the app from scratch, what would be the advantages and disadvantages of each of these products? I've read great things about Qt, but the commercial license is expensive. I've read much less about REAL Studio

Error submitting Monotouch application - “Unable to locate the metadata-template.xml file within the application”

为君一笑 提交于 2019-12-14 02:52:02
问题 I'm trying to submit an iPhone application developed in MonoTouch and I'm getting the cryptic error "Unable to locate the metadata-template.xml file within the application". I'm using the Application Loader and the application runs fine on the simulator and an iPhone. Any help or pointing me in the right direction would be greatly appreciated. I don't even know where to start looking... 回答1: Is this a file that you deleted from your project, but is still referenced somewhere in a config or

MonoDevelop build error “The search could not be finished”

人盡茶涼 提交于 2019-12-13 18:22:11
问题 I am currently developing a C# application to be cross compatible in Windows and Ubuntu. I am developing the software in Visual Studio 2010 on Windows and copying the project to ubuntu and make any modifications that are required using MonoDevelop. This has been working perfectly all the time but now for some reason it isn't. When I try to do a search and replace across the entire project which has always worked is now coming up with an that says 'The search could not be finished. Could not

Hitting breakpoints in MonoDevelop 2.2 Beta 1 on OSX

回眸只為那壹抹淺笑 提交于 2019-12-13 15:50:35
问题 Just installed MonoDevelop 2.2 Beta 1 on OSX Snow Leopard, and all is good. I created a new ASP.NET web project, and ran it. So far so good. But then I put a breakpoint in the code behind, and it didn't hit it...any ideas why? cheers 回答1: There is no debugger for Mac. It won't work until they actually have one. This feature works on Windows and Linux. :) 回答2: The mono debugger, MDB, does not run on Mac OS yet, so MD is unable to use it to debug Mono apps. Note that where there are no debugger

How to make MonoDevelop update it's cache after nuGet's restore?

為{幸葍}努か 提交于 2019-12-13 07:18:08
问题 When restoring packages via solution's context menu option "Restore NuGet Packages..." the MonoDevelop IDE still marks references to NuGet libraries as invalid and complains about non-existing namespaces. Restarting IDE helps as it clears MonoDevelop's cache, but is there a way to do this automatically? Perhaps some option in some settings that I've missed? 回答1: Not currently. Whilst MonoDevelop will detect assemblies that have been removed, and indicates this in the Solution window by

Conversion of RLE to UIImageView.Image in IOS

烈酒焚心 提交于 2019-12-13 06:21:04
问题 How I can convert RLE image data to IOS compatible image format (that is supported by IOS) ImgView.Image = UIImage.LoadFromData(_data) // _data contains of size 1350124 _data contains the byte array of image in RLE format. while is assign to ImgView.Image it gets null. so image is not display on UIImageView. how to make _data compatible format with UIImage 回答1: after implementing RLE Algorithm just i code below few line of code long struggle finally I got it solution Byte _imgData =

Cant connect to MySQL when using Debug mode

好久不见. 提交于 2019-12-13 05:24:22
问题 I have written in program in C# which connects to a MySQL database. public bool Connect() { bool OK = true; try { dbcon = new MySqlConnection(ConnectionString); dbcon.Open(); } catch { OK = false; } return OK; } For the connection string I am using public string Server = "localhost"; public string Database = "samplemonitor"; public string UserID = "root"; public string Password = "password"; public bool Pooling = false; public string ConnectionString { get { string isPooling; if (Pooling) {

Not getting image from Persistant path in Android using unity3d

元气小坏坏 提交于 2019-12-13 04:32:22
问题 I have a script to take screenshot and save that image and to show that image in a plane. But not getting that texture. private string path; void Start () { path = Application.persistentDataPath; } void captureScreeshot(){ Application.CaptureScreenshot(path + "/Screenshot.png"); alert.text = "saved"; StartCoroutine(saveScreenshot()); onetimeBool = false; } IEnumerator saveScreenshot(){ WWW imgfile = new WWW("file://" + path+ "/Screenshot.png"); yield return imgfile; if(imgfile.error==null){