-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add EnableAotAnalyzer support into SDK #24091
Conversation
- Set EnableAotAnalyzer if PublishAot is set - Import Microsoft.NET.ILLink.Analyzers.props if EnableAotAnalyzer is set - Import ILLink Analyzers if EnableAotAnalyzer is set Add tests in SDK
I'm creating this as a draft since when solving issues in the tests I realized that I needed to fix dotnet/linker#2650 and dotnet/linker#2655. Now I need to wait for those changes to flow into SDK otherwise the tests will fail. |
src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.Analyzers.targets
Outdated
Show resolved
Hide resolved
…rent for every test
src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAnAotApp.cs
Outdated
Show resolved
Hide resolved
… another test file Use LatestTFM for now, eventually it should be Dotnet7Plus
Add EnableAotAnalyzer support into SDK
Add tests in SDK