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

BackPort to .NET 4.0 #36

Open
ststeiger opened this issue Mar 18, 2019 · 0 comments
Open

BackPort to .NET 4.0 #36

ststeiger opened this issue Mar 18, 2019 · 0 comments

Comments

@ststeiger
Copy link

ststeiger commented Mar 18, 2019

I've added support for .NET 4.0.

Just 3 small changes necessary, and these additional files:

https://github.com/ststeiger/ChromeDevTools/tree/master/source/MasterDev.ChromeDevTools.DotNet4/Net4

Check if you want to integrate it.

  • Replace Task.Run with Task2.Run (2x) to redirect to the appropriate Task-class
  • Replace t.GenericTypeArguments with t.GetGenericTypeArguments (1x)
  • add Microsoft.Bcl.Async and Microsoft.Net.Http nugets if the target is net4
Install-Package Microsoft.Bcl.Async
Install-Package Microsoft.Net.Http

and finished

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

No branches or pull requests

1 participant