mono

Running simple winforms application on Mono for ARM

≡放荡痞女 提交于 2019-12-29 08:32:12
问题 I am currently trying to set up an environment in which I can create winform applications with Visual Studio 2013 that I then want to put on an ARM v7 BeagleBone Black with an attached touchscreen where they are supposed to run with Mono. In order to do so, I took a Ubuntu 14.10 AMD64 system and created a cross-compile environment with the BeagleBone Black's toolchain and scratchbox2. I verified that the toolchain an sb2 work correctly by compiling some native test programs with it, they do

Linux: Mono installation and errors

拈花ヽ惹草 提交于 2019-12-29 08:10:03
问题 Over the past weeks I struggled to get a working Mono installation without success. I have tried it on Debian6_x64 , Debian7_x64 and Ubuntu_12.04_x64 . I have installed it using the default mono-complete using apt-get , tried compiling it from GitHub and from alternative repositories. Either with Mono 2.x or 3.x, I followed several tutorials and nothing seems to work. Unfortunately I don't have the error logs of past installs but at this moment my current situation is: Ubuntu 12.04 x64 Mono

Linux: Mono installation and errors

我的梦境 提交于 2019-12-29 08:09:04
问题 Over the past weeks I struggled to get a working Mono installation without success. I have tried it on Debian6_x64 , Debian7_x64 and Ubuntu_12.04_x64 . I have installed it using the default mono-complete using apt-get , tried compiling it from GitHub and from alternative repositories. Either with Mono 2.x or 3.x, I followed several tutorials and nothing seems to work. Unfortunately I don't have the error logs of past installs but at this moment my current situation is: Ubuntu 12.04 x64 Mono

Error Installing Xamarin Tools VS2015 : A Setup Package is either missing or damaged Error

好久不见. 提交于 2019-12-29 07:21:34
问题 I am using Visual Studio 2015 . I have installed vs2015 from iso . VS2015 is installed . But Now i am going to installed xamarin tools for visual studio 2015 but when i started the package faced this error I am downloading Xamarin Tools from here - https://www.xamarin.com/download I have seen the stack overflow question here - "A Setup Package is either missing or damaged" error while installing Visual Studio 2015 on Windows 10 It is said in question link that error is resolved 8 months ago

Do PowerShell scripts run under Mono?

ε祈祈猫儿з 提交于 2019-12-29 05:46:08
问题 Do PowerShell scripts run under Mono? I would like to run them on a Mac. 回答1: There is an open source version of PowerShell called Pash designed for Mono. It is not complete, but may be able to do what you need: http://pash.sourceforge.net/ (this project has not been active for quite some time) Checkout the re-start at: Pash-Project on GitHub. 回答2: Powershell has now been open-sourced and is available here. As of right now it is V6.0 alpha. I've been running it on OS X for a lot of file

Mono remote debugging from Visual Studio

强颜欢笑 提交于 2019-12-29 03:18:08
问题 I would like to remote debug a C# console application running on Linux from Visual Studio. Here's what I found so far: http://www.mono-project.com/Debugger The Mono runtime implements a debugging interface that allows debuggers and IDEs to debug managed code. This is called the Soft Debugger and is supported by both MonoDevelop, Xamarin Studio and Visual Studio (when the appropriate plugins are installed) as well as the command line SDB client. Mono provides an API to communicate with the

How to remove compiler error with struct: “Use of unassigned local variable”

只谈情不闲聊 提交于 2019-12-29 02:00:08
问题 The C# compiler is a bit ... old fashioned ... and won't do static analysis. So it breaks on seemingly correct code like this: MyStruct s; bool inited = false; foreach( Something foo in ACollection ) { if( foo.Test() ) continue; if( inited ) s.DoSomething(); else { s = foo.GetMeAnS(); inited = true; } } Note: the unusual problem is that "s" is a struct. If it were a class, I'd simply init it to null. This struct has no meaningful "uninited" state, and I don't want to pay the performance cost

What is the best way to run ServiceStack on Linux / Mono?

北战南征 提交于 2019-12-28 02:20:25
问题 Listed on the ServiceStack website it shows that ServiceStack can run on Mono with either: XSP mod_mono FastCgi Console What are these different configurations and which is preferred for Web Services on Mono? 回答1: Update for Linux From the v4.5.2 Release ServiceStack now supports .NET Core which offers significant performance and stability improvements over Mono that’s derived from a shared cross-platform code-base and supported by Microsoft's well-resourced, active and responsive team. If

How to convert a simple .Net console project a into portable exe with Mono and mkbundle?

蓝咒 提交于 2019-12-28 00:52:11
问题 I'd like to convert my simple pure .Net 2.0 console utility into a portable exe which I could just put on an USB stick and run without having to worry whether the CLR and framework libraries are installed on a particular machine or not. Stackoverflow already has some information on using Mono and Mkbundle for creating self-contained Windows exes from .Net-projects, but what I would like to have is a compact but useful HOWTO. What are the minimum steps for achieving a portability from a simple

The State of Linkers for .NET apps (aka “Please Sir, May I have a Linker” 2009 edition)

放肆的年华 提交于 2019-12-27 18:22:06
问题 Many people here are probably familiar with one of Joel Spolsky most popular blog posts, Please Sir, May I Have a Linker, where he cries out for a way to remove dependencies on the .NET framework so a stand-alone application can be developed and sold. Jason Zander of the Visual Studio development team, at the time, replied with his views on the topic, arguing that the topic is somewhat moot - the ability to fix security problems in the runtime (among other points) was their chief concern.