Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use latest dot net core in Universal Windows Class Library?

I would like to use the latest .NET Core in a new Universal Windows Class Library.

However creating a new library in VS2015 the System.Net.Sockets.Socket API does not appear to be updated. In particular I want this commit: https://github.com/dotnet/corefx/pull/4079/files

My project.json looks like:

{
  "dependencies": {
    "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0"
  },
  "frameworks": {
    "uap10.0": {}
  },
  "runtimes": {
    "win10-arm": {},
    "win10-arm-aot": {},
    "win10-x86": {},
    "win10-x86-aot": {},
    "win10-x64": {},
    "win10-x64-aot": {}
  }
}
like image 345
markmnl Avatar asked Mar 22 '16 04:03

markmnl


People also ask

How to create a DotNet core class library project?

The user can use the “dotnet new classlib” or dotnet new “Class Library” command from the dotnet-CLI toolset to create a new dotnet core class library project also known as Dynamic Link Library or DLL. The command provides few options that can be applied as a parameter to tweak the output of the command, like for example ...

How to use a library across a framework or core?

To use a library across .net framework or core, you can develop the library in .net standard, then you can use this for both.

Where is the NET Core in UWP?

With the UWP, the .NET Core is included as a set of NuGet packages in your app. When you create a new project, you’ll see only the general Microsoft.NETCore.UniversalWindowsPlatform package dependency, but if you look at this package on NuGet, you’ll see all of the .NET Framework libraries that are included, as shown in Figure 1.

What is the difference between NET Core and NET Native?

Finally, .NET Core is the underlying framework on which .NET Native depends. When .NET Native was designed, it was clear that the .NET Framework wouldn’t be suitable as the foundation for the framework class libraries.


1 Answers

You could try upgrading that package using their nightly feed: https://dotnet.myget.org/gallery/dotnet-core

like image 136
bricelam Avatar answered Oct 03 '22 07:10

bricelam