How can I reference a .NET Standard 2.0 class libary from a UWP app?

BCA

So according to Microsoft in this article:

"With the release of .NET Standard 2.0, we’re now officially deprecating PCLs and you should move your projects to .NET Standard"

Great. I would love to. Except I cannot reference a .NET Standard 2.0 class library from my Universal Windows app. How can this be?

Does Microsoft really expect that if I were to start a new multi-platform solution (involving an UWP client app) today, that shared code would have to be in obsolete PCL form? Am I missing something here?

Jessica

If you read it again carefully, you will see this

Upcoming version of UWP (expected to ship later this year)

So no you cannot at the moment as it's yet to be supported.

Update: this post just came out so basically you can now target 2.0 with the latest Visual Studio 2017 15.4.

https://blogs.msdn.microsoft.com/dotnet/2017/08/25/uwp-net-standard-2-0-preview/

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Access a StorageFile embedded as a resource in a Net Standard 2.0 class libary from UWP

From Dev

How to create a .NET Core library I can reference from a .NET Core App (Web API)

From Dev

Can I rebuild .NET class from reference source?

From Dev

How do I reference Entity Framework 6 from a .NET core class library in RC2?

From Dev

How do I reference Entity Framework 6 from a .NET core class library in RC2?

From Dev

How do I reference a UWP+NET46 portable library from a .NET 4.6 console application?

From Dev

How can I reference a C# class from a different file?

From Dev

How can I reference a class from a specific documentation with Intersphinx?

From Dev

How can I reference a C# class from a different file?

From Dev

Reference a class library from UWP and ASP.NET 5

From Dev

Can't reference C++/cx class from xaml? (UWP)

From Dev

How can I reference a class in an array?

From Dev

Can I use dynamic in a .NET Standard class library?

From Dev

In R, how can I reference an S4 class from another package in my class definition?

From Dev

Can I reference a class from a method within an inner class, and if so, how?

From Dev

How can I access only one specific method from the UWP class?

From Dev

how can i verify that i got N^2 integers from standard input(Stdin)?

From Dev

Can I use Google Polymer from a standard Javascript app?

From Dev

How can I reference a static class with a separate enum class in Java?

From Dev

How can I reference an icon from a plugin?

From Dev

How can I reference a 3D array from another class?

From Dev

How can I reference a 3D array from another class?

From Dev

How can I reference the same FXML element from an instance of the same class

From Dev

Why are tons of packages added when I reference a .NET Standard NuGet from within .NET 461?

From Dev

How can I give focus to a grid in a Windows 10 UWP app?

From Dev

UWP app: How can I deploy updatable Json file?

From Dev

How do I recover reference to this$0 in a nested class?

From Dev

How do I recover reference to this$0 in a nested class?

From Dev

Cannot reference .NET Core library from UWP

Related Related

  1. 1

    Access a StorageFile embedded as a resource in a Net Standard 2.0 class libary from UWP

  2. 2

    How to create a .NET Core library I can reference from a .NET Core App (Web API)

  3. 3

    Can I rebuild .NET class from reference source?

  4. 4

    How do I reference Entity Framework 6 from a .NET core class library in RC2?

  5. 5

    How do I reference Entity Framework 6 from a .NET core class library in RC2?

  6. 6

    How do I reference a UWP+NET46 portable library from a .NET 4.6 console application?

  7. 7

    How can I reference a C# class from a different file?

  8. 8

    How can I reference a class from a specific documentation with Intersphinx?

  9. 9

    How can I reference a C# class from a different file?

  10. 10

    Reference a class library from UWP and ASP.NET 5

  11. 11

    Can't reference C++/cx class from xaml? (UWP)

  12. 12

    How can I reference a class in an array?

  13. 13

    Can I use dynamic in a .NET Standard class library?

  14. 14

    In R, how can I reference an S4 class from another package in my class definition?

  15. 15

    Can I reference a class from a method within an inner class, and if so, how?

  16. 16

    How can I access only one specific method from the UWP class?

  17. 17

    how can i verify that i got N^2 integers from standard input(Stdin)?

  18. 18

    Can I use Google Polymer from a standard Javascript app?

  19. 19

    How can I reference a static class with a separate enum class in Java?

  20. 20

    How can I reference an icon from a plugin?

  21. 21

    How can I reference a 3D array from another class?

  22. 22

    How can I reference a 3D array from another class?

  23. 23

    How can I reference the same FXML element from an instance of the same class

  24. 24

    Why are tons of packages added when I reference a .NET Standard NuGet from within .NET 461?

  25. 25

    How can I give focus to a grid in a Windows 10 UWP app?

  26. 26

    UWP app: How can I deploy updatable Json file?

  27. 27

    How do I recover reference to this$0 in a nested class?

  28. 28

    How do I recover reference to this$0 in a nested class?

  29. 29

    Cannot reference .NET Core library from UWP

HotTag

Archive