Skip to content
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

Merged
merged 5 commits into from
Feb 28, 2022

Conversation

tlakollo
Copy link
Contributor

Add EnableAotAnalyzer support into SDK

  • 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

 - 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
@tlakollo
Copy link
Contributor Author

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.
@LakshanF you could wait till this PR is merged to continue your work in the runtime or use the command-line instructions to build your own sdk (after building the repo the bits are in artifacts\bin\redist\Debug\dotnet\dotnet.exe) and use that to test

@tlakollo tlakollo marked this pull request as ready for review February 25, 2022 20:32
@tlakollo tlakollo requested a review from sbomer February 26, 2022 01:12
… another test file

Use LatestTFM for now, eventually it should be Dotnet7Plus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants