Ralf

Results 74 comments of 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: ![grafik](https://user-images.githubusercontent.com/3949137/225699056-5002648a-3531-4997-9b6c-f145f33a850a.png) Running via "dotnet clean/build" and execute: ![grafik](https://user-images.githubusercontent.com/3949137/225699522-62d419a9-8154-45cc-b651-accd71497682.png) 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: ![grafik](https://user-images.githubusercontent.com/3949137/225736985-edaa1029-efb2-4e1c-85ec-8e890ebf3973.png)

mscorlib seems to only contain TypeForwards ![grafik](https://user-images.githubusercontent.com/3949137/225737577-74f43392-e100-4b24-a72b-7bc04dfb016b.png)