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

Added target framework to netstandard2.0 #821

Merged
merged 5 commits into from
Jan 31, 2023
Merged

Conversation

maniglia
Copy link
Contributor

Please consider adding netstandard2.0 as a target framework if you can.

@jbogard
Copy link
Owner

jbogard commented Jan 17, 2023

I...don't understand how this compiles. The docs say IAsyncEnumerable only supports netstandard2.1 and above:

image

I'll do some more digging but if it's working with netstandard2.0 then I'll just downgrade to that altogether.

@jbogard
Copy link
Owner

jbogard commented Jan 17, 2023

Welp it gets pulled in with the Microsoft.Bcl.AsyncInterfaces package (which I did not know existed). Derp. We can just target netstandard2.0 directly.

@@ -4,7 +4,7 @@
<Authors>Jimmy Bogard</Authors>
<Description>Simple, unambitious mediator implementation in .NET</Description>
<Copyright>Copyright Jimmy Bogard</Copyright>
<TargetFrameworks>netstandard2.1</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
Copy link
Owner

Choose a reason for hiding this comment

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

Evidently this can be JUST netstandard2.0.

*RequestExceptionHandlerState.cs
*IStreamRequestHandler.cs
*Microsoft.Extensions.DependencyInjection.Abstractions 7.0.0
*MinVer 4.2.0
@maniglia
Copy link
Contributor Author

Unfortunately I have some problems compiling the project, i get the following message:
MinVer : error MINVER1007: "git" is not present in PATH.
Even though I installed git and entered the environment variable.

@jbogard jbogard merged commit eb6d1f0 into jbogard:master Jan 31, 2023
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