Skip to content

Conversation

@natemcmaster
Copy link
Contributor

@pakrym
Copy link
Contributor

pakrym commented Apr 21, 2017

LGTM, is this the only thing causing Import warnings?

@natemcmaster
Copy link
Contributor Author

The warning is caused by using <Project Sdk="Microsoft.NET.Sdk"> in the repo.targets file in aspnet/Universe. Microsoft.NET.Sdk was imported to make available the ResolveDependencies task which reasons about project.assets.json and the nuget cache. Adding this property makes all that unnecessary as the package itself makes a property available pointing to the right file location.

https://github.com/aspnet/Universe/pull/503/files#diff-e45ce6afc81adf6a66a1064a7eeb7ca1R1

</metadata>
<files>
<file src="netcoreapp1.0\" target="/" />
<file src="netcoreapp1.0\build\*.targets" target="/build" />
Copy link
Contributor

Choose a reason for hiding this comment

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

What files end up in netcoreapp1.0\build\*.targets that then end up in the NUPKG for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nothing. Can be removed. Can't remember why I added it even though I wrote this last night

@natemcmaster natemcmaster merged commit b0ca852 into dev Apr 21, 2017
@natemcmaster natemcmaster deleted the namc/where branch April 21, 2017 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants