Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Orleans not recognising ServerGC setting #4418
I am running Orleans in a .NET Core console app. The project is basically the same as #4417.
In order to turn on ServerGC, I follow this Stack Overflow answer and add the following in my
Despite this, I still get the following warning:
OK, I am still getting the warnings. I am following the docs to the letter, so I have this in my .NET Core csproj:
Perhaps Orleans is looking specifically for the old App.config settings? I get that impression from the warning - its instructions are App.config-specific:
The GC settings in that JSON file were missing. After deleting the bin and obj folders and rebuilding, they were there, and Orleans recognised the GC settings, so problem solved.
It would be useful to understand how this file gets generated and why the settings would be missing despite being in the csproj.