-
Notifications
You must be signed in to change notification settings - Fork 256
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
Support ValueTask-returning test methods for all target frameworks #4059
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small nits but otherwise LGTM. Let's see if there are some unanticipated problems with our net framework users.
</group> | ||
<group targetFramework="uap10.0" /> | ||
<group targetFramework="netcoreapp3.1"> | ||
<dependency id="Microsoft.Testing.Extensions.VSTestBridge" version="$TestingPlatformVersion$" /> | ||
<dependency id="Microsoft.Testing.Platform.MSBuild" version="$TestingPlatformVersion$" /> | ||
<dependency id="System.Threading.Tasks.Extensions" version="$SystemThreadingTasksExtensionsVersion$" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the docs it seems that ValueTask
is available for netcore3.1 so no need to add the deps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. The intent was for UWP. Thanks for catching that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Evangelink uap10.0 seems to currently have no dependencies at all. I'm wondering why it's different from all others which have VSTestBridge and MTP.MSBuild?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new platform hasn't been validated as working.
Fixes #4056