Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 07 2019 17:29
    @directhex banned @CharlieIsHere
  • Oct 11 2018 17:23
    @directhex banned @deleteaccount1234567890
Zou Wei
@zwcloud
@atsushieno
Serentty
@Serentty
What are the odds that the other Mono that legacy Mono supports will be ready in time for .NET 6?
Serentty
@Serentty
Oops, I mean the other platforms that legacy Mono supports.
Simona Avornicesei
@savornicesei
What is the correct way to build a solution file (classic .NET Framework 4.x project) with mono, on linux (openSUSE Tumbleweed)? I'm doing mono /usr/lib/mono/msbuild/15.0/bin/MSBuild.dll Solution.sln but it complains about error MSB4019: The imported project "/usr/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets" was not found. Passing RoslynTargetsPath=/usr/lib/mono/msbuild/Current/bin/Roslyn raises /usr/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.Managed.Core.targets(60,27): error MSB4184: The expression ""../CommonAssemblyInfo.cs".GetPathsOfAllDirectoriesAbove()" cannot be evaluated. Method 'System.String.GetPathsOfAllDirectoriesAbove' not found I feel like I'm running in circles...
amieres
@amieres
Question: in mono wasm in aot-interp mode, is there a way to force a method in a DLL (third party dll) to be evaluated in interpreted mode instead of AOT? The code works well in interpreted mode but it is slow. But this function uses reflection and fails with null exception. Could it be forced to be interpreted?
Panos Athanasiou
@panoukos41
Hey, I know it's silly but is it possible to run a .netcore app using mono? Or just a simple .netstandard2.1 like it was a console app?
Alexander Köplinger
@akoeplinger
no, it's not possible
Romber
@Rombersoft
Hello Great People. I have modem Huawei E372. I need to write/read to port /dev/ttyUSB2 but I can only write, when I do reading that SerialPort.BytesToRead returns 0 always. On port /dev/ttyUSB0 I have not any problem to reading and writing. And when I use cutecom application to /dev/ttyUSB2 that also it has not any problem.
This is not first modem in my experience, I noticed the same problem on some modems with Qualcom processors. I've tried with RtsEnable and DtrEnable and without, different HandShake, NewLine and unsuccessfully. I can not understand what do cutecom application that does not do mono. Maybe anybody help me describe my problem
johnson3d
@johnson3d
Hello,Can i debug C# in a c++ app that embed mono runtime. Mono debug doesn't work in vscode
JohnKaldas
@JohnKaldas

Hi guys, I was working on cross-compiling mono
I got the following error when I run make:

libtool: compile: arm-linux-gnueabi-gcc -DHAVE_CONFIG_H -I./include -I./include -DGC_PTHREAD_START_STANDALONE -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -g -O2 -fno-strict-aliasing -MT extra/gc.lo -MD -MP -MF extra/.deps/gc.Tpo -c extra/gc.c -fPIC -DPIC -o extra/.libs/gc.o
In file included from ./include/private/gc_priv.h:254:0,
from ./include/private/dbg_mlc.h:28,
from extra/../backgraph.c:15,
from extra/gc.c:39:
./include/private/gc_atomic_ops.h:105:25: fatal error: atomic_ops.h: No such file or directory
compilation terminated.
Makefile:1599: recipe for target 'extra/gc.lo' failed

JohnKaldas
@JohnKaldas

Hi guys, after I managed to build mono, I got another issue while running mono

The assembly mscorlib.dll was not found or could not be loaded.

not sure why this dll file is not generated after the build of mono
hn2
@hn2
Hello
Can someone help with this error?
mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb
On Ubuntu 20
hn2
@hn2
can someone help with this error?
mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb
Fredrik Høisæther Rasch
@fredrikhr
I am trying to compile the old gtk-sharp from source on linux, how do I force it to also compile Mono.Cairo and Mono.Posix? the help in configure does not state anything about those libraries, but their C# code is included in the source...?
With old gtk-sharp, I mean the GTK# wrapper for GTK2 obtained from https://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-2.12.45.tar.gz
hn2
@hn2
I am trying to install mono 5.12 but it is installing only the latest version. What is the problem?
Markus Schaber
@markusschaber
How are you installing? Apt, Rpm, ?
hn2
@hn2
apt
Romber
@Rombersoft
ping.Send(host, _pingTimeout, _pingBuff) always returns TtlExpired. What is problem?
Linux Ubuntu 20. mono 6
Chris
@furesoft
Mono is an open platform. So why is there not a framework for building custom compilers. with some helper tools for frontend, middle (IR, Optimizations) and Backend ?
Nick
@divinci
Hi all - anyone know where I can get a release/build of mono-wasm ?
mar23
@mar23
Hi all- anyone know how to build mono for macOS with M1 processor?
Puto
@PutoML_twitter
I think it just builds like normal
Michal Dobrodenka
@michaldobrodenka
Hi all! What is current status of mono? Will there be a new version? Is there a point in reporting bugs? Net6 doesn't cover my CPU arch (ARMv6), so I'm stuck with mono
mar23
@mar23
I have similar problem with Apple Silico. I do not know how compile mono for ARM64
Ali Habib
@alimhabib
Hello ALl, I want to build was packager.exe
I tried sudo make -C sdks/wasm build packager.exe but it gives error #33 19.42 emcc: error: /usr/mono/sdks/out/wasm-runtime-threads-release/lib/libmono-ee-interp.a: No such file or directory ("/usr/mono/sdks/out/wasm-runtime-threads-release/lib/libmono-ee-interp.a" was expected to be an input file, based on the commandline arguments provided)
ben1337
@ben1337
Morning all. I have a web api project that I created using MonoDevelop. Super simple, one html file (index.html) which calls a single GET API method defined in a controller. When I run from MonoDevelop (just hitting Ctrl+F5), it's all working fine - I see my html page, and it can get a value from the controller. However, when I build the application and then try and use xsp4 to serve the application (from inside the bin folder), I can get to index.html, but my web api routes are just giving 404s. What am I missing?
Ali Habib
@alimhabib
Hello I keep gitting No rule to make target 'threads-release'. Stop. though In make.config I enabled it
ENABLE_WASM=1
ENABLE_WASM_THREADS=1
Ali Habib
@alimhabib
hi I keep getting error libmono-ee-interp.a not found do I miss some packages in ubuntu to install
zp
@zhuopeng-tan
Hi, for DLLs compiled by old version mcs, do I need to recompile them if I am going to upgrade mono?
Alexander Köplinger
@akoeplinger
no
zp
@zhuopeng-tan
@akoeplinger Thx.
zp
@zhuopeng-tan
Hi, do I need to recompile DLLs when upgrading from 32bit to 64bit app?
zp
@zhuopeng-tan

Could anyone tell what is wrong?

EntryPointNotFoundException: SystemNative_LChflagsCanSetHiddenFlag
  at Interop+Sys..cctor () [0x00000] in <2340fc16524a4335b1ffb55cb251f8d6>:0 

Rethrow as TypeInitializationException: The type initializer for 'Sys' threw an exception.
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <2340fc16524a4335b1ffb55cb251f8d6>:0

mscorlib.dll is AOTed, other managed code interpreted, iOS

dseshadri
@dseshadri

I recently created a pull request but see some failures in the CI Pipeline. I am not able to really tell what the failures are. Can someone help me understand them.
My pull request: mono/mono#21120
Among the falures that are "required", these are what i see:
-- Linux AArch64 Coop Suspend — Build finished. 206257 tests run, 1200 skipped, 1 failed.
-- Linux i386 — Build finished. No test results found.
-- Windows x64 FullAOT — Build finished. 21065 tests run, 545 skipped, 1 failed.
-- mono-ci (Linux x64 FullAOT) Failing after 36m — Linux x64 FullAOT failed

I am trying to get to the root cause of why the failures happened, but i am not yet familiar with the logs. The errors don't seem to related to my changes, but while i am looking deeper, i just wanted to know if its an option to rerun these tests?

zp
@zhuopeng-tan

Could anyone tell what is wrong?

EntryPointNotFoundException: SystemNative_LChflagsCanSetHiddenFlag
  at Interop+Sys..cctor () [0x00000] in <2340fc16524a4335b1ffb55cb251f8d6>:0 

Rethrow as TypeInitializationException: The type initializer for 'Sys' threw an exception.
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <2340fc16524a4335b1ffb55cb251f8d6>:0

mscorlib.dll is AOTed, other managed code interpreted, iOS

Linked with libmono-native-unified.a, but issue exists still

@akoeplinger Could you share some insights?
zp
@zhuopeng-tan
Solved by adding -force_load $LIB/libmono-native-compat.a to Xcode "Build Settings"->"Other Linker Flags", 🤦
Romber
@Rombersoft
Hello everybody. I faced to such bad situations when thread which was started from Task.Run() after several seconds was aborted with unknown cause.
So I placed my issue here mono/mono#21145.
Please help me to understand what can I do in order to thread work without aborting
Shri Guru
@gshri67
hi..
when i try to run the embeddinator exe to convert the android dll..
i get below error of ikvm badimageformatexception
image.png
devizer
@devizer
MonoPosixHelper: Is there example how to obtain compressed attribute of existing file on HFS/BTRFS/etc?
https://github.com/mono/mono/blob/main/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs#L2763