Ralf
Ralf
Hi, can you provide a code sample for reproduction?
can you provide your examle project without reproduction steps?
Hi, checking your reproduction project I can't reproduce what you observed. Here is the output of my test run: `On entry On exit Hello, World! 863810819 Reference: 'System.Runtime, Version=6.0.0.0, Culture=neutral,...
Ah, you already stated that you tried the latest version. Can you retry it with Visual Studio 2022 on your machine? I know that our debugging symbols are not best...
here are my installed versions: `C:\Users\Ralf>dotnet --list-sdks 2.2.203 [C:\Program Files\dotnet\sdk] 2.2.204 [C:\Program Files\dotnet\sdk] 3.0.100 [C:\Program Files\dotnet\sdk] 3.1.116 [C:\Program Files\dotnet\sdk] 3.1.300 [C:\Program Files\dotnet\sdk] 3.1.403 [C:\Program Files\dotnet\sdk] 3.1.426 [C:\Program Files\dotnet\sdk] 5.0.104 [C:\Program...
Glad that you figured this out. Maybe you can provide a diff between the different installation changes? So if something similar occurs in future we can identify the issue faster....
wow strange. Runnning in MSVS 2022 in Debug:  Running via "dotnet clean/build" and execute:  I think MSVS uses MSBuild and not "dotnet build". But it is rather interesting...
Ah... issue is that somehow "dotnet build" adds the reference to "System.Private.CoreLib, Version=7.0.0.0" but it shouldn't because your example project is set to "net6.0"
Checking the built assemblies with IL-Spy verifies the references: 
mscorlib seems to only contain TypeForwards 