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

Add support for netstandard 2.0 to CSharpier.Core #619

Merged
merged 4 commits into from
Feb 26, 2022
Merged

Conversation

belav
Copy link
Owner

@belav belav commented Feb 21, 2022

This shims in the required code so that CSharpier.Core can be built targeting netstandard2.0

@belav belav marked this pull request as ready for review February 21, 2022 18:36
@belav belav changed the title Possible support for netstandard 2.0 Add support for netstandard 2.0 to CSharpier.Core Feb 21, 2022
@@ -2,7 +2,7 @@
<Import Project="../../CSharpier.Build.props" />
<PropertyGroup>
<PackageId>CSharpier.Core</PackageId>
<TargetFrameworks>net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>net5.0;net6.0;netstandard2.0</TargetFrameworks>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there any particular reason this has to be netstandard2.0?
IIRC netstandard2.1 includes the Index type and you won't have to do this shim.

Copy link
Owner Author

Choose a reason for hiding this comment

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

The request was for netstandard2.0 - #470 (comment)
I am assuming because it is needed in a .net framework project.

@belav belav added this to the 0.16.0 milestone Feb 26, 2022
@belav belav merged commit 95555cf into master Feb 26, 2022
@belav belav deleted the support-netstandard2 branch February 26, 2022 15:21
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.

None yet

2 participants