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

Only reference Microsoft.Extensions.PlatformAbstractions in .NET 6+ b… #4785

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Feb 14, 2024

…uilds

A test based on the comments in #4716 (comment) - it looks to me like Microsoft.Extensions.PlatformAbstractions is only used in the .NET 6/7/8 builds and not the .NET 4.6.2 build, so lets try excluding the NuGet package refernece in the 4.6.2 build

@Numpsy
Copy link
Contributor Author

Numpsy commented Feb 14, 2024

Hmm, not sure how that made the macOS tests fail :-(

@RicoSuter
Copy link
Owner

Is this PR still valid? Can you merge master in the branch?

@Numpsy Numpsy changed the title [Test] Only reference Microsoft.Extensions.PlatformAbstractions in .NET 6+ b… Only reference Microsoft.Extensions.PlatformAbstractions in .NET 6+ b… Mar 14, 2024
@Numpsy
Copy link
Contributor Author

Numpsy commented Mar 14, 2024

I've rebased it onto the current master.

The macos CI is still fialing, but then it looks like the Ubuntu build at https://github.com/RicoSuter/NSwag/actions/runs/8287816759 failed with the same error, so I'm not sure if that's related to the change, or if something is flakey elsewhere :-(

@Numpsy
Copy link
Contributor Author

Numpsy commented Mar 14, 2024

@RicoSuter RicoSuter merged commit 2cbbeba into RicoSuter:master Jul 1, 2024
3 checks passed
@RicoSuter
Copy link
Owner

Thanks for the PR.

@Numpsy Numpsy deleted the rw/conditional branch July 1, 2024 13:35
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