See https://aka.ms/dotnet-discord in the #monovm channel for our primary community location.
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...
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
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
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?
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