Publishing a .NET Core project for Nuget - which version of the framework to use?

TL DR version

I am creating a .NET Core lib focusing on the netstandard1.6+ dnxcore50c framework project.json. My binaries are embedded in folders with the corresponding names. The NDN naming convention for MSDN says that it dnxcore50is an "obsolete" structure, so should I just rename my folder to, netcore50or should I completely target another structure?

I am using the VS 2015 community and the DotNetCore.1.0.1 SDK.

Long version

I support an FTP library called FluentFTP . I successfully compiled the version for the .NET kernel using the VS 2015 community. My .json project looks like this:

{
  "dependencies": {
    "NETStandard.Library": "1.6.0",
    "System.IO": "4.3.0.0",
    "System.Net.NameResolution": "4.3.0.0",
    "System.Net.Sockets": "4.3.0.0",
    "System.Net.Security": "4.3.0.0"
  },
  "frameworks": {
    "netstandard1.6": {
      "imports": "dnxcore50"
    },
    "dnxcore50": {
    }
  }
}

frameworks, , . , .NET Core 5.0 (-) .NET Standard 1.6. , , .NET Standard 1.6 .NET Core 5.0 ( ). , , :

  • dnxcore50
  • netstandard1.6
  • net20
  • net40

lib nuget, MSDN , .

dnxcore50 " " . , :

  • / ?

  • dnxcore50 netcore50 ?

+4
3

dnxcore50.. , lib .NET Core, VS 2015. . , FluentFTP .NET Core " " VS 2015.

: VS 2017 . .

0

, , ( ), , :

, , , . , . , ( ). , , ( / , , - ), , .

, , , / ( , - ). , , # 3.0 Windows XP, Windows 10 Visual Studio 2017, .NET Framework 4.6.2 , , , .

, , - (, , ctp, rc ..) - , , , ( ©).

, ( ) ( ), , :

  • , , . , / , /, , . , .. , ( ) : (, , , / ).

  • - , , (, /, ) , , . , , , / , ..

0

Source: https://habr.com/ru/post/1670812/


All Articles