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

Remove System.Collections.Immutable dependency where not needed #61

Merged
merged 4 commits into from
Jun 1, 2023

Conversation

Arlodotexe
Copy link
Member

Closes #59

@Arlodotexe Arlodotexe added bug 🐛 Something isn't working dev loop ➰ For issues that impact the core dev-loop of building experiments labels May 31, 2023
@Sergio0694
Copy link
Member

Why "non-transient" in the title? 🤔

@Arlodotexe
Copy link
Member Author

Arlodotexe commented May 31, 2023

Why "non-transient" in the title? 🤔

Safest option. I don't think we need this package at all on netstandard2.0 tho, so let's pivot a bit.

@Arlodotexe Arlodotexe changed the title Made System.Collections.Immutable a non-transient dependency Remove System.Collections.Immutable dependency from netstandard May 31, 2023
@Sergio0694
Copy link
Member

"I don't think we need this package at all on netstandard2.0 tho"

We shouldn't be importing this package by default on any target.

@Arlodotexe
Copy link
Member Author

Looks like this was originally added here to resolve MSB4011 warnings - https://github.com/CommunityToolkit/Labs-Windows/pull/117/files#diff-111cb6ee41530a23ad2012cac97291a76f7a52498bb200d707051bf05d376c14R6

A short time after we found out this was a bug in Roslyn, which appears to be resolved now. Let's get this cleaned up. Thanks @Sergio0694!

@Arlodotexe Arlodotexe changed the title Remove System.Collections.Immutable dependency from netstandard Remove System.Collections.Immutable dependency where not needed Jun 1, 2023
Copy link
Member

@Sergio0694 Sergio0694 left a comment

Choose a reason for hiding this comment

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

One nit, otherwise LGTM!

ToolkitComponent.SampleProject.props Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working dev loop ➰ For issues that impact the core dev-loop of building experiments
Projects
None yet
Development

Successfully merging this pull request may close these issues.

System.Collections.Immutable should not be an inbox dependency for components
2 participants