diff --git a/Readme.md b/Readme.md index d8f3013..dcda960 100644 --- a/Readme.md +++ b/Readme.md @@ -43,6 +43,17 @@ $ xbuild /p:Configuration=Debug jabber-net.sln $ mono ./packages/NUnit.ConsoleRunner.3.4.1/tools/nunit3-console.exe ./test/bin5/Debug/test.dll ``` +.NET Core +--------- + +There's an alpha-level support for [.NET Core][dotnet-core] build system in the +project. To build the project using `dotnet`, invoke the following command: + +```console +$ dotnet restore +$ dotnet build **/project.json +``` + Documentation ------------- @@ -80,6 +91,7 @@ consult [Licensing.md][] for details on licensing of internal components. [Licensing.md]: ./Licensing.md [appveyor]: https://ci.appveyor.com/project/ForNeVeR/jabber-net/branch/develop +[dotnet-core]: https://docs.microsoft.com/dotnet/ [nuget]: https://www.nuget.org/packages/jabber-net/ [paket]: https://fsprojects.github.io/Paket/index.html [travis]: https://travis-ci.org/ForNeVeR/jabber-net diff --git a/src/JabberNet.Netlib.Dns/project.json b/src/JabberNet.Netlib.Dns/project.json new file mode 100644 index 0000000..3c0896d --- /dev/null +++ b/src/JabberNet.Netlib.Dns/project.json @@ -0,0 +1,9 @@ +{ + "version": "2.1.2-*", + "buildOptions": { + "debugType": "portable" + }, + "frameworks": { + "net45": {} + } +} diff --git a/src/JabberNet.Netlib.Dns/project.lock.json b/src/JabberNet.Netlib.Dns/project.lock.json new file mode 100644 index 0000000..13e443e --- /dev/null +++ b/src/JabberNet.Netlib.Dns/project.lock.json @@ -0,0 +1,14 @@ +{ + "locked": false, + "version": 2, + "targets": { + ".NETFramework,Version=v4.5": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "": [], + ".NETFramework,Version=v4.5": [] + }, + "tools": {}, + "projectFileToolGroups": {} +} \ No newline at end of file diff --git a/src/JabberNet/project.json b/src/JabberNet/project.json new file mode 100644 index 0000000..b548a9b --- /dev/null +++ b/src/JabberNet/project.json @@ -0,0 +1,20 @@ +{ + "version": "2.1.2-*", + "buildOptions": { + "allowUnsafe": true, + "debugType": "portable" + }, + "dependencies": { + "zlib.net": "1.0.4", + "JabberNet.Netlib.Dns": "*" + }, + "frameworks": { + "net45": { + "frameworkAssemblies": { + "System.Drawing": "4.0.0.0", + "System.Security": "4.0.0.0", + "System.Xml": "4.0.0.0" + } + } + } +} diff --git a/src/JabberNet/project.lock.json b/src/JabberNet/project.lock.json new file mode 100644 index 0000000..00e6715 --- /dev/null +++ b/src/JabberNet/project.lock.json @@ -0,0 +1,50 @@ +{ + "locked": false, + "version": 2, + "targets": { + ".NETFramework,Version=v4.5": { + "zlib.net/1.0.4": { + "type": "package", + "compile": { + "lib/zlib.net.dll": {} + }, + "runtime": { + "lib/zlib.net.dll": {} + } + }, + "JabberNet.Netlib.Dns/2.1.2": { + "type": "project", + "framework": ".NETFramework,Version=v4.5" + } + } + }, + "libraries": { + "zlib.net/1.0.4": { + "sha512": "ywKkVY1y20tGQsUnYgKupYm91L8GVrVgoEOFTjfR1Bb5Xiy5tBJu5SV9liIiW2h8/KQUBefE45vSythtNMmahQ==", + "type": "package", + "path": "zlib.net/1.0.4", + "files": [ + "lib/zlib.net.dll", + "zlib.net.1.0.4.nupkg.sha512", + "zlib.net.nuspec" + ] + }, + "JabberNet.Netlib.Dns/2.1.2": { + "type": "project", + "path": "../JabberNet.Netlib.Dns/project.json" + } + }, + "projectFileDependencyGroups": { + "": [ + "JabberNet.Netlib.Dns", + "zlib.net >= 1.0.4" + ], + ".NETFramework,Version=v4.5": [ + "System.Drawing >= 4.0.0", + "System.Security >= 4.0.0", + "System.Xml >= 4.0.0" + ] + }, + "tools": {}, + "projectFileToolGroups": {} +} \ No newline at end of file