Skip to content

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

<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.

4 participants