Skip to content

Test run of excluding Microsoft.Aspnetcore.testing ref assembly #18720

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

Closed
wants to merge 1 commit into from

Conversation

wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Jan 31, 2020

Proof-of-concept of excluding the Microsoft.AspNetCore.Testing ref assembly from the bad 3.1.0 extensions ref pack. The versions files have been downgraded to consume the version of extensions where we deleted that ref assembly from the project.

CC @dougbu @JunTaoLuo

@wtgodbe
Copy link
Member Author

wtgodbe commented Jan 31, 2020

Yep, looks like this works. We can just re-do dotnet/extensions#2817 and insert this change for 3.1.3

@@ -293,7 +293,7 @@
<ItemGroup>
<ReferencePath>
<ReferenceAssembly
Condition=" '%(ReferencePath.ReferenceAssembly)' == '' AND Exists('$(MicrosoftInternalExtensionsRefsPath)%(FileName).dll') ">$(MicrosoftInternalExtensionsRefsPath)%(FileName).dll</ReferenceAssembly>
Condition=" '%(ReferencePath.ReferenceAssembly)' == '' AND Exists('$(MicrosoftInternalExtensionsRefsPath)%(FileName).dll') AND '%(FileName)' != 'Microsoft.AspNetCore.Testing' ">$(MicrosoftInternalExtensionsRefsPath)%(FileName).dll</ReferenceAssembly>
Copy link
Contributor

Choose a reason for hiding this comment

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

This is really the only change that we'd want right? The rest is to test this change?

Copy link
Member Author

Choose a reason for hiding this comment

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

Correct

@Pilchie Pilchie added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Feb 3, 2020
@wtgodbe wtgodbe closed this Feb 5, 2020
@wtgodbe wtgodbe deleted the wtgodbe/ExcludeAspTesting branch February 5, 2020 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants