Skip to content

Commit

Permalink
#61: initial support of .NET Core build system
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Sep 24, 2016
1 parent 9e8c3ca commit a6149e5
Show file tree
Hide file tree
Showing 5 changed files with 105 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------

Expand Down Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions src/JabberNet.Netlib.Dns/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"version": "2.1.2-*",
"buildOptions": {
"debugType": "portable"
},
"frameworks": {
"net45": {}
}
}
14 changes: 14 additions & 0 deletions src/JabberNet.Netlib.Dns/project.lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"locked": false,
"version": 2,
"targets": {
".NETFramework,Version=v4.5": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"": [],
".NETFramework,Version=v4.5": []
},
"tools": {},
"projectFileToolGroups": {}
}
20 changes: 20 additions & 0 deletions src/JabberNet/project.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
50 changes: 50 additions & 0 deletions src/JabberNet/project.lock.json
Original file line number Diff line number Diff line change
@@ -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": {}
}

0 comments on commit a6149e5

Please sign in to comment.