Skip to content

Conversation

nkolev92
Copy link
Contributor

@nkolev92 nkolev92 commented Jun 8, 2020

Fixes #11612

Porting #11451 and 7a05b62 to match the change made on the legacy package reference side which added support for extern alias in 16.7, see dotnet/NuGet.BuildTasks@286d99e.

I imagine, I might have to port 40256fc
to get the tests running under the correct conditions, but just wanted to get the PR going ASAP.

cc @wli3 @dsplaisted @sfoslund

Add support for reading the aliases flag from the assets file.
[CoreMSBuildOnlyFact]
public void CanBuildProjectWithPackageReferencesWithConflictingTypes()
{
var targetFramework = "netcoreapp5.0";
Copy link

Choose a reason for hiding this comment

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

netcoreapp3.1

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed.

@wli3
Copy link

wli3 commented Jun 11, 2020

@nkolev92 do you have QB approval? Once you get that you can merge

@nkolev92
Copy link
Contributor Author

@wli3
Do we need QB approval already?

I have not done that, but I can certainly try to get it.

@wli3
Copy link

wli3 commented Jun 11, 2020

@nkolev92 my bad. It is M2 approval.

@wli3
Copy link

wli3 commented Jun 11, 2020

@dondrake could you approve this checkin to SDK?

@dondrake
Copy link

@wil3, sorry, wrong person...

@nkolev92
Copy link
Contributor Author

welp :D

I think this is the right one @ :)

@dondr

@nkolev92
Copy link
Contributor Author

@wli3
I was hoping we can get this in P3. Thanks.

@dondr
Copy link

dondr commented Jun 12, 2020

Approved

@wli3 wli3 merged commit 32e8cf2 into dotnet:release/3.1.4xx Jun 12, 2020
@nkolev92 nkolev92 deleted the release314xx-aliasesSupport branch June 12, 2020 17:46
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