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

Fix transient dependencies #205

Merged
merged 3 commits into from
Oct 22, 2024

Conversation

trejjam
Copy link
Contributor

@trejjam trejjam commented Oct 22, 2024

Hi,
I was curious about the new (preview) version and discovered it introduces a dead dependency: Microsoft.AspNetCore.Mvc.Razor.
See dependency diff:
image

This PR fixes it and should prevent it in the future

@trejjam
Copy link
Contributor Author

trejjam commented Oct 22, 2024

Another solution is to remove Microsoft.AspNetCore.Mvc.Razor completely since no target uses it.

@andrewlock
Copy link
Owner

Yikes, yeah, I totally missed this, thanks 😅 Removing the reference completely is definitely the "correct" approach though IMO 👍

Copy link
Owner

@andrewlock andrewlock left a comment

Choose a reason for hiding this comment

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

Thanks!

@andrewlock andrewlock merged commit 926c315 into andrewlock:main Oct 22, 2024
3 checks passed
@trejjam trejjam deleted the fix/transient-dependencies branch October 22, 2024 22:04
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.

2 participants