Skip to content

Commit

Permalink
Move to .NET Core tooling (Azure#170)
Browse files Browse the repository at this point in the history
Motivation
.NET Core tooling allows building for both .NET Framework and .NET Standard while easing pains of running tests and packaging.

Modifications
- csproj -> xproj + project.json
- support for .NET Standard 1.3
- build script is now based on CAKE
- using dotnet CLI for building, testing, packing
- strong name by default (snk included)

Result
DotNetty works on .NET Core and any other platform supporting .NET Standard 1.3+.
  • Loading branch information
nayato authored Nov 8, 2016
1 parent 6fc8941 commit 4f28a55
Show file tree
Hide file tree
Showing 227 changed files with 3,810 additions and 6,072 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,9 @@ nuget.exe
*.ipch
*.sln.ide
*.lock.json
*.db
*.db
.vs/
[Tt]ools/Cake.*
/build/
.dotnet/
DotNetty.*.nuget.targets
23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceRoot}/bin/Debug/<target-framework>/<project-name.dll>",
"args": [],
"cwd": "${workspaceRoot}",
"externalConsole": false,
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command.pickProcess}"
}
]
}
16 changes: 16 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": "0.1.0",
"command": "dotnet",
"isShellCommand": true,
"args": [],
"tasks": [
{
"taskName": "build",
"args": [
"**/project.json"
],
"isBuildCommand": true,
"problemMatcher": "$msCompile"
}
]
}
19 changes: 0 additions & 19 deletions DotNetty.nuspec

This file was deleted.

359 changes: 160 additions & 199 deletions DotNetty.sln

Large diffs are not rendered by default.

Binary file added DotNetty.snk
Binary file not shown.
5 changes: 5 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#### 0.3.3 November 04 2016
- .NET Standard 1.3 support.
- Libraries are strong-named by default.
- Redis codec.

#### 0.3.2 June 22 2016
- Better API alignment with final version of netty 4.1 (#125).
- Exposed API for flexible TlsHandler initialization (#132, #134).
Expand Down
Loading

0 comments on commit 4f28a55

Please sign in to comment.