Skip to content
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

Merged
merged 6 commits into from
Jan 3, 2018
Merged

Conversation

smadala
Copy link
Contributor

@smadala smadala commented Dec 29, 2017

@@ -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>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggest: .NET test projects

Copy link
Contributor Author

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" />
Copy link
Contributor

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 :)

Copy link
Contributor

@mayankbansal018 mayankbansal018 Dec 29, 2017

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.

Copy link
Contributor Author

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" />
Copy link
Contributor

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?

Copy link
Contributor Author

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>
Copy link
Contributor

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 ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Contributor

@mayankbansal018 mayankbansal018 left a 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

@smadala smadala self-assigned this Jan 2, 2018
@smadala
Copy link
Contributor Author

smadala commented Jan 3, 2018

@dotnet-bot please test Windows_NT / Debug Build

@smadala smadala merged commit 6fa9eaa into microsoft:master Jan 3, 2018
@smadala smadala deleted the uwp-meta-pkg branch January 3, 2018 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants