Date: 2025-07-22 23:24:30
Score: 2
Natty:
In case anyone wondering how to set the property in csproj file mentioned in the above accepted answer,
<PropertyGroup>
<PreserveCompilationContext>true</PreserveCompilationContext>
</PropertyGroup>
Source -
https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/6.0/preservecompilationcontext-not-set-by-default#recommended-action
Reasons:
- Probably link only (1):
- Low length (0.5):
- Has code block (-0.5):
- Low reputation (1):
Posted by: user25194364