-
Notifications
You must be signed in to change notification settings - Fork 323
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
Add UWP testhost deps in meta package #1351
Conversation
@@ -9,12 +9,24 @@ | |||
<requireLicenseAcceptance>true</requireLicenseAcceptance> | |||
<licenseUrl>http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm</licenseUrl> | |||
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl> | |||
<description>The MSbuild targets and properties for building the .Net core test projects.</description> | |||
<description>The MSbuild targets and properties for building .NET Core, .NET Full framework and Universal Windows test projects.</description> |
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.
suggest: .NET test projects
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.
Done.
<dependency id="Microsoft.TestPlatform.TestHost" version="$Version$" /> | ||
<dependency id="Microsoft.CodeCoverage" version="1.0.3" /> | ||
<group targetFramework="uap10.0"> | ||
<dependency id="System.ComponentModel.Primitives" version="4.1.0" /> |
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.
Why did we choose to not provide TestHost in section? CodeCoverage is not provided because it's not supported in UWP yet.
A comment in here may help our future selves :)
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.
please do not hardcode any version, set them as min version. You can look at objectmodel nuspec, there we specify min version of dependencies.
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.
Done
<dependency id="System.ComponentModel.Primitives" version="4.1.0" /> | ||
<dependency id="System.ComponentModel.TypeConverter" version="4.1.0" /> | ||
<dependency id="System.Runtime.InteropServices.RuntimeInformation" version="4.0.0" /> | ||
<dependency id="Newtonsoft.Json" version="9.0.1" /> |
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.
NewtonSoft.Json is also needed by TestHost. How do we keep versions in sync?
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.
Using JsonNetVersion from TestPlatform.Dependencies.props.
@@ -12,6 +12,7 @@ | |||
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl> | |||
<projectUrl>https://github.com/microsoft/vstest/</projectUrl> | |||
<copyright>© Microsoft Corporation. All rights reserved.</copyright> | |||
<tags>vstest visual-studio unittest testplatform mstest microsoft test</tags> |
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.
Searching for packages with test
shows 1042 packages and testing
lists 1045. While we're at it, maybe add testing as well. I wish it were easier to find and add tags from nuget ;)
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.
Done.
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.
Add min version for UWP dependencies, so user can upgrade them if they want to
@dotnet-bot please test Windows_NT / Debug Build |
Related issue
unit test app (universal windows) don't compile with Newtonsoft.Json