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

Support reference assemblies #329

Merged
merged 7 commits into from
Nov 4, 2019
Merged

Conversation

sharwell
Copy link
Member

@sharwell sharwell commented May 28, 2019

Resolves #305
Fixes #232

@sharwell sharwell force-pushed the reference-assemblies branch 4 times, most recently from 09e774c to bfd525c Compare October 31, 2019 13:26
@sharwell sharwell force-pushed the reference-assemblies branch from 02c7891 to a98e27c Compare October 31, 2019 15:24
@sharwell sharwell marked this pull request as ready for review October 31, 2019 15:27
@sharwell sharwell requested a review from a team as a code owner October 31, 2019 15:27

public AssemblyIdentityComparer AssemblyIdentityComparer { get; }

public PackageIdentity? ReferenceAssemblyPackage { get; }
Copy link
Member Author

Choose a reason for hiding this comment

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

📝 PackageIdentity is a type from the NuGet API. Most NuGet-related APIs are not directly exposed by the testing library API, but this one is. This seems fine (at least for the first release of this feature) but I wanted to call it out.

<PackageReference Include="NuGet.Common" Version="$(NuGetApiVersion)" PrivateAssets="compile" />
<PackageReference Include="NuGet.Protocol" Version="$(NuGetApiVersion)" PrivateAssets="compile" />
<PackageReference Include="NuGet.Resolver" Version="$(NuGetApiVersion)" PrivateAssets="compile" />
<PackageReference Include="NuGet.Packaging" Version="$(NuGetApiVersion)" />
Copy link
Member Author

Choose a reason for hiding this comment

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

📝 This package is required at compile time for test code to use PackageIdentity.

Copy link
Contributor

@jmarolf jmarolf left a comment

Choose a reason for hiding this comment

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

:shipit:

@sharwell sharwell merged commit 801f721 into dotnet:master Nov 4, 2019
@sharwell sharwell deleted the reference-assemblies branch November 4, 2019 13:35
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.

Allow analyzer testing against reference assemblies XML documentation not provided for metadata references
2 participants