dotnet / linker

389 stars 127 forks source link

IlLinker generates StackOverflowException after solution was transfered to .NET 7.0 #3155

Open estario33 opened 1 year ago

estario33 commented 1 year ago

On .NET 6.0.11 everything worked correctly. Problem occured after transfering to .NET 7.0 OS: Ubunty Used docker container with parent image "mcr.microsoft.com/dotnet/sdk:7.0" Log attached in the following file StackOverflowException.txt

vitek-karas commented 1 year ago

I "think" this should be fixed with https://github.com/dotnet/linker/pull/3094. Which is scheduled for the next servicing release.

If you can share a project which reproduces the behavior I can validate the fix.

Also, this is already fixed in main, so you can try to get a nightly 8.0 SDK and it should work there as well.