You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thinking as a start I'll use WebApplicationFactory to test all the endpoints in the sample app. This will be in-process and thus not native AOT or trimmed. I can then have another test that publishes the app and tests the endpoints for real. Ideally would do it for both PublishTrimmed and PublishAot which will likely require manipulating the project file as I've hit issues passing -p:PublishAot=true/-p:PublishTrimmed=true at the command line as it ends up applying to the source generator project too which causes errors as it targets .NET Standard which isn't compatible with trimming or native AOT.
The text was updated successfully, but these errors were encountered:
It's time. Too easy to regress stuff now.
Thinking as a start I'll use
WebApplicationFactory
to test all the endpoints in the sample app. This will be in-process and thus not native AOT or trimmed. I can then have another test that publishes the app and tests the endpoints for real. Ideally would do it for bothPublishTrimmed
andPublishAot
which will likely require manipulating the project file as I've hit issues passing-p:PublishAot=true
/-p:PublishTrimmed=true
at the command line as it ends up applying to the source generator project too which causes errors as it targets .NET Standard which isn't compatible with trimming or native AOT.The text was updated successfully, but these errors were encountered: