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

Enable AOT Publish Test #131

Open
eerhardt opened this issue Mar 28, 2025 · 3 comments
Open

Enable AOT Publish Test #131

eerhardt opened this issue Mar 28, 2025 · 3 comments
Assignees
Labels
test Issue related to tests

Comments

@eerhardt
Copy link

In order to ensure this library works with native AOT, we should have a test as described in https://devblogs.microsoft.com/dotnet/creating-aot-compatible-libraries/#analyzing-.net-libraries. We currently have the Roslyn Analzyers enabled, but the analyzers unfortunately can't catch all issues.

We can follow other repos implementations for this. A good starting point would be

https://github.com/dotnet/extensions/tree/main/test/Libraries/Microsoft.Extensions.AotCompatibility.TestApp

https://github.com/dotnet/extensions/blob/799a1db854dac00e51b0765bdd6cd3494b4b6b5d/eng/pipelines/templates/BuildAndTest.yml#L119-L121

@IvanMurzak
Copy link

+1. This it really needed for my Unity-MCP server to let it work in runtime games to let developer to write commands in their games directly.

@stephentoub
Copy link
Contributor

+1. This it really needed for my Unity-MCP server to let it work in runtime games to let developer to write commands in their games directly.

This issue is about adding a test.

What problem are you hitting?

@IvanMurzak
Copy link

+1. This it really needed for my Unity-MCP server to let it work in runtime games to let developer to write commands in their games directly.

This issue is about adding a test.

What problem are you hitting?

There is no problem. Test would be helpful to cover the feature.

@eiriktsarpalis eiriktsarpalis self-assigned this Apr 7, 2025
@stephentoub stephentoub added the test Issue related to tests label Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issue related to tests
Projects
None yet
Development

No branches or pull requests

4 participants