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

Convert to .NET Standard 2.0. #75

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

schungx
Copy link

@schungx schungx commented Mar 10, 2018

This PR enables log4net.Azure to compile as a .NET Standard 2.0 library.

Two things are not supported:

  1. LocationInfo.StackFrames doesn't seem to exist on the .NET Standard version of log4net.

  2. CloudConfigurationManager from Microsoft.Azure.ConfigurationManager is for .NET Framework only and not supported under .NET Standard.

Beware it is a little hacky... Microsoft.WindowsAzure.Storage has changed most access methods into async, and so there are a bunch of .Wait(TIMEOUT) sprinkled all over the place. Poor programming practice, but works.

Note: Sorry I messed up some files' formatting -- VS auto-formatted them when I saved.

@schungx schungx mentioned this pull request Mar 10, 2018
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.

1 participant