Код: Выделить всё
dotnet "C:\Program Files\dotnet\sdk\8.0.303\Roslyn\bincore\csc.dll" /lib:"C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.7" /r:"System.Runtime.dll" /r:"System.Private.CoreLib.dll" /r:"netstandard.dll" /r:"System.Console.dll" csc_test.cs
Но когда я запускаю ./csc_test.exe i get: < /p>
Код: Выделить всё
Unhandled Exception: System.TypeLoadException: Could not load type 'System.Object' from assembly 'System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' because the parent does not exist.
Подробнее здесь: https://stackoverflow.com/questions/794 ... doesnt-run