These tests would need to do the following:
- Set up one or more target projects
a. The task binaries and content files need to be explicitly laid out and referenced, since there is no NuGet package yet when the tests run
- Run a
dotnet command on one of the above
- Assert on the command output and the artifacts of the target project
Features to test:
- MsBuild integration for compiled model and precompiled query generation for Build and Publish
- NativeAOT
- Trimming
- Feature flags
Related to #32616
Also see https://github.com/dotnet/efcore/blob/main/eng/testing/linker/trimmingTests.targets