I have a program called prg.exe written in C#. I want to run this program in mono with an argument (arg1) and redirect the output to a log file called log.txt. If I open a terminal and enter the command: everything works fine. When the program is finished, the log.txt file is created, which contains any error. Now I want
Tag: mono
https “bindings” in Linux with XSP4 server
I’m sitting with a bit of a interesting situation. I have a customer that want to try and host their ASP.NET WebAPI from a Linux server. Obviously setting this up on Windows is reasonably straight forward, but I’ve gotten stuck at the point where one needs set up the “bindings” for the application. Simply running xsp4 –https –p12file=cert.pfx –pkpwd=lolno results
Reference assemblies for framework “.NETFramework,Version=v4.7.1” were not found
I try to open a Unity3D project with VSCode under Linux (Ubuntu 18.10). The omnisharp extension doesn’t load the project, saying assemblies were not found. It may seems very stupide, but i’m not really used to .Net yet, and i have been stuck with this error for quite some days now. I have been trying re-installing dotnet (even using the
View CIL of C# code on Linux with mono
I want to inspect the generated CIL code of the following C# source file on Linux: When I compile and run it everything is fine: But how can I get the human readable CIL output? Answer Mono disassembler, extracts IL code from an assembly: Full reference can be found here: https://www.mono-project.com/docs/tools+libraries/tools/monodis/ Dis/Assembling CIL Code (Mono Project)
F# on Linux – targeting net4xx
I’ve got both mono (5.10.1.20) and dotnet core (2.1.4) installed on my Linux Mint (18.3) machine. I want to create a project using VS Code Ionide: Ctrl+Shift+P -> F#: New Project -> console. This goes without problems. However, when I try to build it, I get: error MSB3644: The reference assemblies for framework “.NETFramework,Version=v4.6.1” were not found. To resolve this,
How to fix ‘cannot open shared object file: No such file or directory’ error?
I’m trying to run a C# application in a ubuntu Docker container with mono. The application runs correctly in a windows environment. I just copied all the directories to the docker volume. I can build the application using the following command without errors or warnings: msbuild CSharpSampleLSV2.csproj /t:Rebuild /p:Configuration=Release /p:Platform=”x86″ But when I try to run the application using the
Where is mono’s log file?
I’m having an issue with a program crashing on mono, I have an idea why but I can not confirm it as I can not find the log location for mono on ubuntu. I’m developing on windows however I’m deploying to a ubuntu server. So my question is, where is the standard log location for mono on ubuntu? Answer I
MonoDevelop Error: Unknown MSBuild failure. Please try building the project again
Just installed MonoDevelop and I tried to compile a simple “Hello World”. Code I used: The error that I get is : My system info: Ubuntu 16.04 LTS , updated The MonoDevelop and mono are freshly installed. Mono JIT compiler version 5.0.1.1 MonoDevelop Version 5.10 I can use mcs and run it but can’t use monodevelop to run it. I
Why would this image threshold work in windows but not mono / linux?
I have a relatively simple threshold function that’s using unsafe code. This works a treat in Windows, however, in Mono on linux, no thresholding takes place. It’s difficult to debug as it’s on Linux only, I’ve checked the bitsPerPixel is correct along with the height h, width w and stride ws are all correct as well. What else can I
Starting a process using systemd on Linux: different behaviour using “su root -c”
We have a SignalR push server using Mono/Owin on a Linux Debian server. We perform a load test and we get a different behaviour according to how the push is started on systemd Working: ExecStart=/bin/su root -c ‘/usr/bin/mono –server mydaemon.exe -l:/var/run/mydaemon.pid’ Hanging after around 1k connections: ExecStart=/usr/bin/mono –server mydaemon.exe -l:/var/run/mydaemon.pid We may reproduce the different behaviour anytime: in the second