-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable default JSON reflection when PublishTrimmed == true #88480
Disable default JSON reflection when PublishTrimmed == true #88480
Conversation
Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas Issue DetailsFollowing up on feedback from dotnet/sdk#33757 this updates from Microsoft.NET.Sdk.targets in the sdk repo to Microsoft.NET.ILLink.targets. I might need some guidance on the testing strategy here, my assumption is that we would need to test this from the sdk repo once the change has been merged.
|
Looks like ILLink.RoslynAnalyzer.Tests are failing. Here's one:
I'm not sure what is happening. @sbomer @vitek-karas @agocke - any thoughts? |
The failures may be: #88492 |
Those failures are #88278, unrelated to this change. The change here looks good to me as far as defaulting the feature switch goes. I think it's fine to test this in the SDK repo, which is the approach we currently use for testing MSBuild logic. The discussion in dotnet/sdk#33757 mentioned different defaults for MAUI and wasm. Did we land on what their defaults should be? Will they need to update in response to this change (or has that already been done)? |
Yes, these targets should explicitly set the |
Following up on feedback from dotnet/sdk#33757 this updates from Microsoft.NET.Sdk.targets in the sdk repo to Microsoft.NET.ILLink.targets.
I might need some guidance on the testing strategy here, my assumption is that we would need to test this from the sdk repo once the change has been merged.
Fix #84378