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

Move VerifyClosure tasks into M.D.PackageTesting #7692

Merged

Conversation

ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Aug 1, 2021

As we plan to deprecate the M.D.B.Tasks.Packaging project in the future,
moving the tasks into the PackageTesting project. This removes the dependency on the Packaging assembly in the package testing infrastructure in dotnet/runtime.

Fixes #7474

To double check:

@ViktorHofer ViktorHofer requested a review from Anipik August 1, 2021 11:43
@ViktorHofer ViktorHofer self-assigned this Aug 1, 2021
@ViktorHofer ViktorHofer force-pushed the VerifyClosureTypesPackageTesting branch 2 times, most recently from 926af47 to 66e4867 Compare August 1, 2021 11:54
ViktorHofer added a commit to ViktorHofer/runtime that referenced this pull request Aug 1, 2021
Depends on dotnet/arcade#7692

Removing the dependency on the Packaging assembly in favor of the
PackageTesting assembly which now contains the VerifyClosure and
VerifyTypes tasks that are required for package testing.

Also removing some obsolete properties and files.
@ViktorHofer ViktorHofer force-pushed the VerifyClosureTypesPackageTesting branch from 66e4867 to 2833628 Compare August 1, 2021 12:14
@ViktorHofer ViktorHofer force-pushed the VerifyClosureTypesPackageTesting branch 2 times, most recently from 9b765fa to b0b4c0a Compare August 1, 2021 15:05
As we plan to deprecate the M.D.B.Tasks.Packaging project in the future,
moving the tasks into the PackageTesting project.

Fixes dotnet#7474
@ViktorHofer ViktorHofer force-pushed the VerifyClosureTypesPackageTesting branch from b0b4c0a to 2b02594 Compare August 1, 2021 16:47
@@ -9,6 +9,8 @@
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildUtilitiesCoreVersion)" />
<PackageReference Include="NuGet.Frameworks" Version="$(NuGetVersion)" />
<PackageReference Include="NuGet.Packaging" Version="$(NuGetVersion)" />
<!-- Remove when targeting >= net5.0. -->
<PackageReference Include="System.Reflection.Metadata" Version="5.0.0" />
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 PackageReference is required to avoid a conflict in ResolveAssemblyReference where RAR can't decide which System.Reflection.Metadata assembly to choose.

@ViktorHofer ViktorHofer merged commit a50c276 into dotnet:main Aug 2, 2021
@ViktorHofer ViktorHofer deleted the VerifyClosureTypesPackageTesting branch August 2, 2021 10:35
Copy link
Contributor

@Anipik Anipik left a comment

Choose a reason for hiding this comment

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

lgtm

ViktorHofer added a commit to dotnet/runtime that referenced this pull request Aug 2, 2021
* React to Verify* task PackageTesting change

Depends on dotnet/arcade#7692

Removing the dependency on the Packaging assembly in favor of the
PackageTesting assembly which now contains the VerifyClosure and
VerifyTypes tasks that are required for package testing.

Also removing some obsolete properties and files.
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.

Consider moving VerifyClosure task into the PackageTesting package
3 participants