question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Beta] Support .NET Standard 1.0

See original GitHub issue

This issue attempts the avenue marked Alternative in #132 : convert the PCL 259 package to make a netstandard1.0 offering for Polly, rather than the netstandard1.6 offering in #132. Rationale: A netstandard1.0 offering will have wider applicability (lower netstandard versions support wider targets).

Status and issues 02 July 2016

[1] The pre-requisite step described in Oren Novotny’s article of moving from packages.config to project.json (per an earlier article) worked, and was pushed as commit bc66df8 to this branch on my local fork.

[2] The subsequent step in the original article of moving projects from PCL259 to target instead netstandard1.0 works for both Polly.Pcl and Polly.Pcl.Specs.

[3] But, as expected, while we are awaiting xunit supporting netstandard and FluentAssertions .NET Standard support, testing is blocked in a catch22:

  • (i) If we make Polly.Pcl.Specs target netstandard1.0 we cannot run the xunit tests. (per commit ea462f7) UPDATE 04 July 2016 Dennis Doomen and Oren Novotny advise against this approach: test libraries should not target .NET standard, but a specific target framework.
  • (ii) If we don’t make Polly.Pcl.Specs target netstandard1.0 but Polly.Pcl does, Polly.Pcl.Specs cannot reference Polly.Pcl (obviously meaning again the tests cannot be run). (per commit 9d55469). UPDATE 04 July 2016: Something like this approach is recommended. Need to update approach to testing.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
adamhathcockcommented, Jul 14, 2016

Any chance for a beta package to get pushed to nuget?

2reactions
devleadcommented, Aug 16, 2016

@reisenberger tested your fork and beta-netstandard10 with our Cake build scripts and haven’t found any issues yet, perhaps you should have an MyGet feed for alpha releases? Allot easier to test when you can pull using nuget.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NET Standard
NET Standard 1.0 has 7,949 of the 37,118 available APIs. .NET implementation, Version support .NET and .NET Core, 1.0, 1.1, 2.0, 2.1, 2.2 ......
Read more >
Standards.AspNetCore 1.0.0-beta.1
Library of standards implemented to use in ASP.NET Core.
Read more >
Unity 5.0.0-beta targeting netstandard 1.0 · Issue #1175
Unity has a new Maintainer and they started refactoring to target netstandard 1.0. Since PrismLibrary is also moving towards netstandard1.0 ...
Read more >
.NET Framework version history - Wikipedia
On 19 June 2001, the tenth anniversary of the release of Visual Basic, .NET Framework 1.0 Beta 2 was released. .NET Framework 1.0...
Read more >
If I want to create a NuGet package, should I write it in .NET ...
.NET 5 effectively transitions Framework to "on life support". ... I thought net standard 1.0 only works with .net framework 4.5 or higher?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found