Standard: UWP and netstandard1.6

Created on 18 Dec 2016  路  11Comments  路  Source: dotnet/standard

Hi,
I am not sure if this is the right repo for this so please guide me to the right one of the many dotnet repos if it isn't.

Has UWP (uap10.0) changed from its support for netstandard1.4 to anything higher with Windows 10 14393 and if not what is the roadmap for netstandard2.0 (UWP never seems to be mentioned in the roadmap documentation)

https://github.com/dotnet/standard/blob/master/docs/versions.md shows it as netstandard1.4
https://github.com/dotnet/standard/blob/master/docs/versions/netstandard1.6.md says Universal Windows Platform 10.0 is supported

If not, is there any way to reference a netstandard1.6 library (like something using aspnetcore.mvc) in a UWP project. I could do "uap10.0 import [netstandard1.6]" but I guess this will just trick nuget into compatibility without actually providing any.

Most helpful comment

https://github.com/dotnet/standard/blob/master/docs/versions/netstandard1.6.md that incorrectly lists UWP as a supported platform (cc @terrajobst). I will update that md to remove that.

UWP currently only supports netstandard1.4 and if you do an import netstandard1.6 you will hit issues there are going to be a number of underlying missing APIs.

As for netstandard2.0 support for UWP, while we don't have concrete timelines it is something we plan to add support for.

All 11 comments

AFAIK netstandard1.5 and netstandard1.6 will be scrapped (meaning the changes in there will not be in 2.0) --> so for now use 1.4 until 2.0 is released.

The point is I want to use aspnet.core packages in a UWP. And aspnet.core requires netstandard1.6

https://github.com/dotnet/standard/blob/master/docs/versions/netstandard1.6.md that incorrectly lists UWP as a supported platform (cc @terrajobst). I will update that md to remove that.

UWP currently only supports netstandard1.4 and if you do an import netstandard1.6 you will hit issues there are going to be a number of underlying missing APIs.

As for netstandard2.0 support for UWP, while we don't have concrete timelines it is something we plan to add support for.

I updated the docs to remove UWP 10 from the supported list in netstandard1.5 and netstandard1.6 thanks for calling those to our attention.

AFAIK netstandard1.5 and netstandard1.6 will be scrapped (meaning the changes in there will not be in 2.0) --> so for now use 1.4 until 2.0 is released.

Is this up-to-date information? According to the current FAQ Microsoft decided not to do the breaking change:

Based on community feedback, we decided not to make .NET Standard 2.0 be a breaking change from 1.x. Instead, .NET Standard 2.0 is a strict superset of .NET Standard 1.6.

Is this up-to-date information? According to the current FAQ Microsoft decided not to do the breaking change:

No that information isn't updated and as you point out we changed our mind on this point based on feedback. .NET Standard 2.0 will have all the APIs that are in .NET Standard 1.5 and 1.6.

Thanks for fixing this @weshaggard. No idea, why I listed .NET Standard 1.5. and 1.6. supporting UWP. Must have been copy & paste error...

@weshaggard is this table incorrect too? It says arrow shoulds indicate support for a higher .NETStandard release, and UWP has arrows for 1.5 and 1.6, so it should support 1.5 and 1.6 as well.

@Trolldemorted those arrows are indicating that the vNext version of UWP will support those netstandard versions.

As for netstandard2.0 support for UWP, while we don't have concrete timelines it is something we plan to add support for.

@weshaggard Does that mean this support would only be for UWP apps targeting Fall Creator Update or can we target Anniversary Update too?

Note concrete timelines were since announced. Support for fall creators update was announced at //BUILD. We haven't announced ability to target earlier versions with NS2.0

Was this page helpful?
0 / 5 - 0 ratings