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

Assemblies in Dependencies/netstandard2.0 folder duplicate BCL assemblies in Unity #138

Open
aka-STInG opened this issue Mar 12, 2020 · 2 comments

Comments

@aka-STInG
Copy link

After nuget package dependencies are restored there is a bunch of BCL assemblies in Dependencies/netstandard2.0 folder such as System.Linq that duplicate the ones imported by Unity.

@ryantrem
Copy link
Member

There is an exclusion list that filters libraries like this out of the output here: https://github.com/microsoft/MSBuildForUnity/blob/master/Source/MSBuildTools.Unity.NuGet/Publish.props

Currently it only filters when building for UAP, because it used to be the case that we only had this problem when targeting UAP. It's possible that things have changed and we need a similar exclusion list for netstandard2.0 as well.

@aka-STInG
Copy link
Author

@ryantrem
As I understand if any nuget has netstandard lower than netsrandard2.0 it will drag this dependencies

Anyway thank you for the hint!

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

No branches or pull requests

2 participants