Search code examples
c#visual-studio-2017cosmos

Cosmos C# IL2CPU Error While invoking?


I've been coding a OS with cosmos in c#. It's 350 lines long. I've just got an error saying "Error Occurred while invoking IL2CPU"


Solution

  • Found out why, you need to remove

    console.beep();
    

    console.beep isn't part of the userkit installation. Only in the Devkit installation.