-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Execute interop and template tests on latest Fx #32510
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
Conversation
Looks like we're still testing against Microsoft.AspNetCore.App.Runtime bits from the SDK |
This seems to break all the template tests? |
- `restore $(TestDependsOnAspNetRuntime)` settings - needed to execute on just-built Microsoft.AspNetCore.App.Runtime - separate from `$(TestDependsOnAspNetPackages)` because App.UnitTests need only the packages nit: use `bool` form in `Conditions` using above properties
cd3e4c7
to
820cd40
Compare
Thanks @HaoK. I had ignored |
Just so I understand the intent/distinction here, so we have a set of tests that we don't want to install the aspnet packages? What exactly does TestDependsOnAspNetRuntime affect vs the default false/false case for most tests. |
@HaoK the interop and template tests build and execute test asset projects using the shared framework.
Put another way, test builds normally use the shared Fx carried in the SDK. When |
Awesome thanks @dougbu that clarifies things for me, I wasn't sure what this switch did, now it makes sense :) |
Side note, maybe we could rename TestDependsOnAspNetRuntime to convey this better, TestDependsOnBuildAspNetRuntime ? |
I'm not sure how that improves things and like the existing name. Perhaps |
$(TestDependsOnAspNetRuntime)
settings$(TestDependsOnAspNetPackages)
because App.UnitTests need only the packages