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 target for .net standard 2.0 #76

Merged
merged 3 commits into from
Jan 17, 2019
Merged

Add target for .net standard 2.0 #76

merged 3 commits into from
Jan 17, 2019

Conversation

vhatsura
Copy link
Contributor

to fix #75.

Why reference to System.Threading and System.Runtime.InteropServices is needed for netstandard1.3?

Copy link
Member

@nblumhardt nblumhardt left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! 👍 Just wondering about the package dependency configuration.

@@ -58,4 +62,11 @@
<PackageReference Include="System.Runtime.InteropServices" Version="4.1.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="System.IO" Version="4.1.0" />
Copy link
Member

Choose a reason for hiding this comment

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

Are the majority of these necessary, given that they're included by default in netstandard2.0?

Copy link
Contributor Author

@vhatsura vhatsura Jan 14, 2019

Choose a reason for hiding this comment

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

Yeah, my fault. System.IO and System.IO.FileSystem.Primitives were removed.

@nblumhardt nblumhardt merged commit ab9fc9f into serilog:dev Jan 17, 2019
@nblumhardt nblumhardt mentioned this pull request Oct 17, 2019
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.

Add .Net Standard 2.0 target
2 participants