c# kernel compile error
Posted: Mon Jul 10, 2023 6:40 pm
i was following the bare bones wiki guide on c# development https://wiki.osdev.org/C_Sharp_Bare_Bones but i get an error when i compile the example kernel
is there any way to fix this?
Code: Select all
tysila2.exe --arch i586-elf-tysos -fno-rtti -o kernel.o kernel.exe
Unhandled Exception: System.ArgumentException: Value does not fall within the expected range.
at System.Runtime.CompilerServices.RuntimeHelpers.InitializeArray(Array array, RuntimeFieldHandle fldHandle)
at libtysila.PEFile.ReadResolutionScope(Stream file, Metadata m)
at libtysila.PEFile.GetMetadata(Assembler @$$)
at libtysila.Metadata.LoadAssembly(String mod_name, Assembler @$$, String output_name)
at tysila.Program.Main(String[] args)