diff --git a/.gitignore b/.gitignore
index 183abd9f7..16b2b61f9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -385,3 +385,6 @@ TODO.txt
/test/DotNetty.Transport.Tests.Performance/Perf
/tools
/global.json
+/.idea/
+build.fsx.lock
+/.vscode
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 1b8070a50..67a037619 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -1,7 +1,6 @@
{
- "version": "0.1.0",
+ "version": "2.0.0",
"command": "dotnet",
- "isShellCommand": true,
"args": [],
"tasks": [
{
diff --git a/DotNetty.CrossPlatform.sln b/DotNetty.CrossPlatform.sln
index 76e84ef73..765850491 100644
--- a/DotNetty.CrossPlatform.sln
+++ b/DotNetty.CrossPlatform.sln
@@ -49,13 +49,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DotNetty.Microbench", "perf
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "azure-pipelines", "azure-pipelines", "{EC6681D3-3F9C-4CBB-B5D5-091E7F85D1C7}"
ProjectSection(SolutionItems) = preProject
- build\azure-pipeline.template.yaml = build\azure-pipeline.template.yaml
+ build\templates\azure-pipeline.template.yaml = build\templates\azure-pipeline.template.yaml
build\pr-netfx-validation.yaml = build\pr-netfx-validation.yaml
build\pr-validation.yaml = build\pr-validation.yaml
EndProjectSection
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DotNetty.NetUV", "src\DotNetty.NetUV\DotNetty.NetUV.csproj", "{3162B002-96BD-4C3A-BA83-94791BA65A49}"
-EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "local-build", "local-build", "{D16D7F56-E54C-498D-B4B2-AEBF1C8CA462}"
ProjectSection(SolutionItems) = preProject
DotnetCLIVersion.txt = DotnetCLIVersion.txt
@@ -270,22 +268,6 @@ Global
{10264C0F-F854-4201-AFCB-2B7315EFBCE0}.Release|x64.Build.0 = Release|Any CPU
{10264C0F-F854-4201-AFCB-2B7315EFBCE0}.Release|x86.ActiveCfg = Release|Any CPU
{10264C0F-F854-4201-AFCB-2B7315EFBCE0}.Release|x86.Build.0 = Release|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Debug|ARM.ActiveCfg = Debug|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Debug|ARM.Build.0 = Debug|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Debug|x64.ActiveCfg = Debug|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Debug|x64.Build.0 = Debug|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Debug|x86.ActiveCfg = Debug|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Debug|x86.Build.0 = Debug|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Release|Any CPU.Build.0 = Release|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Release|ARM.ActiveCfg = Release|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Release|ARM.Build.0 = Release|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Release|x64.ActiveCfg = Release|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Release|x64.Build.0 = Release|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Release|x86.ActiveCfg = Release|Any CPU
- {3162B002-96BD-4C3A-BA83-94791BA65A49}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -304,7 +286,6 @@ Global
{F5A34D9C-854C-4972-ABF3-8BAE4712386D} = {3D04C4DC-6F8E-4326-9569-92F3E26C6EEB}
{10264C0F-F854-4201-AFCB-2B7315EFBCE0} = {B6984E67-A4D0-459E-B3C9-01CA4DBBE241}
{EC6681D3-3F9C-4CBB-B5D5-091E7F85D1C7} = {013DFD29-E1DB-4968-A67B-C2342E6F5B6E}
- {3162B002-96BD-4C3A-BA83-94791BA65A49} = {3D04C4DC-6F8E-4326-9569-92F3E26C6EEB}
{D16D7F56-E54C-498D-B4B2-AEBF1C8CA462} = {013DFD29-E1DB-4968-A67B-C2342E6F5B6E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
diff --git a/DotNetty.Netstandard.sln b/DotNetty.Netstandard.sln
index ee89d3ec5..79f806330 100644
--- a/DotNetty.Netstandard.sln
+++ b/DotNetty.Netstandard.sln
@@ -73,13 +73,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DotNetty.End2End.Tests", "t
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DotNetty.Suite.Tests", "test\DotNetty.Suite.Tests.Netstandard\DotNetty.Suite.Tests.csproj", "{D7063A5D-CEEE-4496-96E9-AA244B44744B}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DotNetty.NetUV.Netstandard", "src\DotNetty.NetUV\DotNetty.NetUV.Netstandard.csproj", "{70213847-9E6A-4880-8808-CE469A75D42D}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DotNetty.NetUV.Tests", "test\DotNetty.NetUV.Tests.Netstandard\DotNetty.NetUV.Tests.csproj", "{21FCDAD0-26FC-41E6-B385-DEAB88BD661B}"
-EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "azure-pipelines", "azure-pipelines", "{7AF386B8-794E-449E-9174-D6FD9ADD99EF}"
ProjectSection(SolutionItems) = preProject
- build\azure-pipeline.template.yaml = build\azure-pipeline.template.yaml
+ build\templates\azure-pipeline.template.yaml = build\templates\azure-pipeline.template.yaml
build\pr-netfx-validation.yaml = build\pr-netfx-validation.yaml
build\pr-validation.yaml = build\pr-validation.yaml
EndProjectSection
@@ -506,38 +502,6 @@ Global
{D7063A5D-CEEE-4496-96E9-AA244B44744B}.Release|x64.Build.0 = Release|Any CPU
{D7063A5D-CEEE-4496-96E9-AA244B44744B}.Release|x86.ActiveCfg = Release|Any CPU
{D7063A5D-CEEE-4496-96E9-AA244B44744B}.Release|x86.Build.0 = Release|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Debug|ARM.ActiveCfg = Debug|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Debug|ARM.Build.0 = Debug|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Debug|x64.ActiveCfg = Debug|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Debug|x64.Build.0 = Debug|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Debug|x86.ActiveCfg = Debug|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Debug|x86.Build.0 = Debug|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Release|Any CPU.Build.0 = Release|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Release|ARM.ActiveCfg = Release|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Release|ARM.Build.0 = Release|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Release|x64.ActiveCfg = Release|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Release|x64.Build.0 = Release|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Release|x86.ActiveCfg = Release|Any CPU
- {70213847-9E6A-4880-8808-CE469A75D42D}.Release|x86.Build.0 = Release|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Debug|ARM.ActiveCfg = Debug|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Debug|ARM.Build.0 = Debug|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Debug|x64.ActiveCfg = Debug|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Debug|x64.Build.0 = Debug|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Debug|x86.ActiveCfg = Debug|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Debug|x86.Build.0 = Debug|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Release|Any CPU.Build.0 = Release|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Release|ARM.ActiveCfg = Release|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Release|ARM.Build.0 = Release|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Release|x64.ActiveCfg = Release|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Release|x64.Build.0 = Release|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Release|x86.ActiveCfg = Release|Any CPU
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -568,8 +532,6 @@ Global
{EE14EB67-04A4-45AE-91F0-0A0DB36D7C0B} = {2CCCD679-102A-4422-97D8-DA1A55DAFCA5}
{37F48AC6-2A51-45AF-AEF0-1C83CB076B4E} = {2CCCD679-102A-4422-97D8-DA1A55DAFCA5}
{D7063A5D-CEEE-4496-96E9-AA244B44744B} = {2CCCD679-102A-4422-97D8-DA1A55DAFCA5}
- {70213847-9E6A-4880-8808-CE469A75D42D} = {3D04C4DC-6F8E-4326-9569-92F3E26C6EEB}
- {21FCDAD0-26FC-41E6-B385-DEAB88BD661B} = {2CCCD679-102A-4422-97D8-DA1A55DAFCA5}
{7AF386B8-794E-449E-9174-D6FD9ADD99EF} = {013DFD29-E1DB-4968-A67B-C2342E6F5B6E}
{468C56AA-C2DC-4D2E-A5E3-92CF53703867} = {013DFD29-E1DB-4968-A67B-C2342E6F5B6E}
EndGlobalSection
diff --git a/DotNetty.sln b/DotNetty.sln
index 74e3f8ea4..1b6b88f68 100644
--- a/DotNetty.sln
+++ b/DotNetty.sln
@@ -73,7 +73,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DotNetty.Codecs.Protobuf.Te
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "azure-pipelines", "azure-pipelines", "{A8473C9F-08FF-47DE-8C23-D2BAF5EF4E0A}"
ProjectSection(SolutionItems) = preProject
- build\azure-pipeline.template.yaml = build\azure-pipeline.template.yaml
+ build\templates\azure-pipeline.template.yaml = build\templates\azure-pipeline.template.yaml
build\pr-netfx-validation.yaml = build\pr-netfx-validation.yaml
build\pr-validation.yaml = build\pr-validation.yaml
EndProjectSection
@@ -82,10 +82,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DotNetty.End2End.Tests", "t
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DotNetty.Suite.Tests", "test\DotNetty.Suite.Tests\DotNetty.Suite.Tests.csproj", "{920F73C7-7FBE-44BE-8A99-3A394207D4C8}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DotNetty.NetUV", "src\DotNetty.NetUV\DotNetty.NetUV.csproj", "{68548ECD-222C-40C8-B975-46A17E5D5038}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DotNetty.NetUV.Tests", "test\DotNetty.NetUV.Tests\DotNetty.NetUV.Tests.csproj", "{1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}"
-EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "local-build", "local-build", "{E27C94F8-A148-46D4-A1E0-2CC2B1FBECE9}"
ProjectSection(SolutionItems) = preProject
DotnetCLIVersion.txt = DotnetCLIVersion.txt
@@ -96,6 +92,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "local-build", "local-build"
localRestore.cmd = localRestore.cmd
EndProjectSection
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetty.Handlers.Proxy", "src\DotNetty.Handlers.Proxy\DotNetty.Handlers.Proxy.csproj", "{9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetty.Handlers.Proxy.Tests", "test\DotNetty.Handlers.Proxy.Tests\DotNetty.Handlers.Proxy.Tests.csproj", "{8A11F53C-02FD-4537-9BC9-0525489F128B}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -524,38 +524,38 @@ Global
{920F73C7-7FBE-44BE-8A99-3A394207D4C8}.Release|x64.Build.0 = Release|Any CPU
{920F73C7-7FBE-44BE-8A99-3A394207D4C8}.Release|x86.ActiveCfg = Release|Any CPU
{920F73C7-7FBE-44BE-8A99-3A394207D4C8}.Release|x86.Build.0 = Release|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Debug|ARM.ActiveCfg = Debug|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Debug|ARM.Build.0 = Debug|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Debug|x64.ActiveCfg = Debug|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Debug|x64.Build.0 = Debug|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Debug|x86.ActiveCfg = Debug|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Debug|x86.Build.0 = Debug|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Release|Any CPU.Build.0 = Release|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Release|ARM.ActiveCfg = Release|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Release|ARM.Build.0 = Release|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Release|x64.ActiveCfg = Release|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Release|x64.Build.0 = Release|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Release|x86.ActiveCfg = Release|Any CPU
- {68548ECD-222C-40C8-B975-46A17E5D5038}.Release|x86.Build.0 = Release|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Debug|ARM.ActiveCfg = Debug|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Debug|ARM.Build.0 = Debug|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Debug|x64.ActiveCfg = Debug|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Debug|x64.Build.0 = Debug|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Debug|x86.ActiveCfg = Debug|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Debug|x86.Build.0 = Debug|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Release|Any CPU.Build.0 = Release|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Release|ARM.ActiveCfg = Release|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Release|ARM.Build.0 = Release|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Release|x64.ActiveCfg = Release|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Release|x64.Build.0 = Release|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Release|x86.ActiveCfg = Release|Any CPU
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D}.Release|x86.Build.0 = Release|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Debug|ARM.ActiveCfg = Debug|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Debug|ARM.Build.0 = Debug|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Debug|x64.Build.0 = Debug|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Debug|x86.Build.0 = Debug|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Release|ARM.ActiveCfg = Release|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Release|ARM.Build.0 = Release|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Release|x64.ActiveCfg = Release|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Release|x64.Build.0 = Release|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Release|x86.ActiveCfg = Release|Any CPU
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC}.Release|x86.Build.0 = Release|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Debug|ARM.ActiveCfg = Debug|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Debug|ARM.Build.0 = Debug|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Debug|x64.Build.0 = Debug|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Debug|x86.Build.0 = Debug|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Release|ARM.ActiveCfg = Release|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Release|ARM.Build.0 = Release|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Release|x64.ActiveCfg = Release|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Release|x64.Build.0 = Release|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Release|x86.ActiveCfg = Release|Any CPU
+ {8A11F53C-02FD-4537-9BC9-0525489F128B}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -588,9 +588,9 @@ Global
{A8473C9F-08FF-47DE-8C23-D2BAF5EF4E0A} = {013DFD29-E1DB-4968-A67B-C2342E6F5B6E}
{E6B102FE-C706-4C40-B4F9-569EFC89B70F} = {01F3CC7E-F996-411E-AFD6-72673A826549}
{920F73C7-7FBE-44BE-8A99-3A394207D4C8} = {01F3CC7E-F996-411E-AFD6-72673A826549}
- {68548ECD-222C-40C8-B975-46A17E5D5038} = {3D04C4DC-6F8E-4326-9569-92F3E26C6EEB}
- {1C3FD988-6CBF-4EAE-A78D-F7D8BA085E0D} = {01F3CC7E-F996-411E-AFD6-72673A826549}
{E27C94F8-A148-46D4-A1E0-2CC2B1FBECE9} = {013DFD29-E1DB-4968-A67B-C2342E6F5B6E}
+ {9A960CAF-E1BB-49F0-8F4F-7FA52F787CFC} = {3D04C4DC-6F8E-4326-9569-92F3E26C6EEB}
+ {8A11F53C-02FD-4537-9BC9-0525489F128B} = {01F3CC7E-F996-411E-AFD6-72673A826549}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A659CEFB-DDB3-49BE-AEDD-FF2F1B3297DB}
diff --git a/DotnetCLIVersion.txt b/DotnetCLIVersion.txt
index 2563509cb..2ff7158bd 100644
--- a/DotnetCLIVersion.txt
+++ b/DotnetCLIVersion.txt
@@ -1 +1 @@
-5.0.203
\ No newline at end of file
+5.0.302
\ No newline at end of file
diff --git a/NuGet.Config b/NuGet.Config
index e95b9e287..12f52ed92 100644
--- a/NuGet.Config
+++ b/NuGet.Config
@@ -3,8 +3,6 @@
-
-
-
+
-
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 2745ce9a4..20f9b2f6c 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# dotnetty-span-fork
+# SpanNetty
This is a fork of [DotNetty](https://github.com/azure/dotnetty).
@@ -6,23 +6,23 @@ This is a fork of [DotNetty](https://github.com/azure/dotnetty).
| Stage | Status |
|-----------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| Build | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netfx-validation?branchName=future&jobName=Windows%20Build)](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=6&branchName=future) |
-| .NET Framework 451 Unit Tests | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netfx-validation?branchName=future&jobName=.NET%20Framework%20451%20Unit%20Tests%20(Windows))](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=6&branchName=future) |
-| .NET Framework 471 Unit Tests | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netfx-validation?branchName=future&jobName=.NET%20Framework%20Unit%20Tests%20(Windows))](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=6&branchName=future) |
-| .NET Core (Windows) Unit Tests | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netcore-validation?branchName=future&jobName=.NET%20Core%20Unit%20Tests%20(Windows))](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=7&branchName=future) |
-| .NET Core (Ubuntu 16.04) Unit Tests | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netcore-validation?branchName=future&jobName=.NET%20Core%20Unit%20Tests%20(Ubuntu-16))](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=7&branchName=future) |
-| .NET Core (Ubuntu 18.04) Unit Tests | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netcore-validation?branchName=future&jobName=.NET%20Core%20Unit%20Tests%20(Ubuntu-18))](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=7&branchName=future) |
-| .NET Core (macOS X Mojave 10.14) Unit Tests | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netcore-validation?branchName=future&jobName=.NET%20Core%20Unit%20Tests%20(MacOS-10.14))](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=7&branchName=future) |
-| .NET Core (macOS X Catalina 10.15) Unit Tests | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netcore-validation?branchName=future&jobName=.NET%20Core%20Unit%20Tests%20(MacOS-10.15))](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=7&branchName=future) |
-| .NET Netstandard (Windows) Unit Tests | [![Build status](https://ci.appveyor.com/api/projects/status/rvx3h1bmahad2giw/branch/future?svg=true)](https://ci.appveyor.com/project/cuteant/SpanNetty/branch/future) |
+| Build | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netfx-validation?branchName=main&jobName=Windows%20Build)](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=6&branchName=main) |
+| .NET Framework 451 Unit Tests | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netfx-validation?branchName=main&jobName=.NET%20Framework%20451%20Unit%20Tests%20(Windows))](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=6&branchName=main) |
+| .NET Framework 471 Unit Tests | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netfx-validation?branchName=main&jobName=.NET%20Framework%20Unit%20Tests%20(Windows))](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=6&branchName=main) |
+| .NET Core (Windows) Unit Tests | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netcore-validation?branchName=main&jobName=.NET%20Core%20Unit%20Tests%20(Windows))](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=7&branchName=main) |
+| .NET Core (Ubuntu 16.04) Unit Tests | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netcore-validation?branchName=main&jobName=.NET%20Core%20Unit%20Tests%20(Ubuntu-16))](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=7&branchName=main) |
+| .NET Core (Ubuntu 18.04) Unit Tests | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netcore-validation?branchName=main&jobName=.NET%20Core%20Unit%20Tests%20(Ubuntu-18))](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=7&branchName=main) |
+| .NET Core (macOS X Mojave 10.14) Unit Tests | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netcore-validation?branchName=main&jobName=.NET%20Core%20Unit%20Tests%20(MacOS-10.14))](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=7&branchName=main) |
+| .NET Core (macOS X Catalina 10.15) Unit Tests | [![Build Status](https://dev.azure.com/SpanNetty/SpanNetty/_apis/build/status/SpanNetty/pr-netcore-validation?branchName=main&jobName=.NET%20Core%20Unit%20Tests%20(MacOS-10.15))](https://dev.azure.com/SpanNetty/SpanNetty/_build/latest?definitionId=7&branchName=main) |
+| .NET Netstandard (Windows) Unit Tests | [![Build status](https://ci.appveyor.com/api/projects/status/rvx3h1bmahad2giw/branch/main?svg=true)](https://ci.appveyor.com/project/cuteant/SpanNetty/branch/main) |
## Features
- Align with [Netty-4.1.51.Final](https://github.com/netty/netty/tree/netty-4.1.51.Final)
- ArrayPooledByteBuffer
- Support **Span<byte>** and **Memory<byte>** in Buffer/Common APIs
- Add support for IBufferWriter<byte> to the **IByteBuffer**
- - [ByteBufferReader](https://github.com/cuteant/dotnetty-span-fork/tree/future/src/DotNetty.Buffers/Reader) and [ByteBufferWriter](https://github.com/cuteant/dotnetty-span-fork/tree/future/src/DotNetty.Buffers/Writer)
- - [HTTP 2 codec](https://github.com/cuteant/dotnetty-span-fork/tree/future/src/DotNetty.Codecs.Http2)
+ - [ByteBufferReader](https://github.com/cuteant/spannetty/tree/main/src/DotNetty.Buffers/Reader) and [ByteBufferWriter](https://github.com/cuteant/dotnetty-span-fork/tree/main/src/DotNetty.Buffers/Writer)
+ - [HTTP 2 codec](https://github.com/cuteant/spannetty/tree/main/src/DotNetty.Codecs.Http2)
## Use
@@ -30,18 +30,18 @@ This is a fork of [DotNetty](https://github.com/azure/dotnetty).
* Nightly builds are available on [MyGet](https://www.myget.org/F/cuteant/api/v2).
-|NuGet Package|Status|
-|------|-------------|
-|SpanNetty.Common|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Common)](https://www.nuget.org/packages/SpanNetty.Common/)|
-|SpanNetty.Buffers|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Buffers)](https://www.nuget.org/packages/SpanNetty.Buffers/)|
-|SpanNetty.Codecs|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Codecs)](https://www.nuget.org/packages/SpanNetty.Codecs/)|
-|SpanNetty.Codecs.Http|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Codecs.Http)](https://www.nuget.org/packages/SpanNetty.Codecs.Http/)|
-|SpanNetty.Codecs.Http2|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Codecs.Http2)](https://www.nuget.org/packages/SpanNetty.Codecs.Http2/)|
-|SpanNetty.Codecs.Mqtt|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Codecs.Mqtt)](https://www.nuget.org/packages/SpanNetty.Codecs.Mqtt/)|
-|SpanNetty.Codecs.Protobuf|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Codecs.Protobuf)](https://www.nuget.org/packages/SpanNetty.Codecs.Protobuf/)|
-|SpanNetty.Handlers|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Handlers)](https://www.nuget.org/packages/SpanNetty.Handlers/)|
-|SpanNetty.Transport|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Transport)](https://www.nuget.org/packages/SpanNetty.Transport/)|
-|SpanNetty.Transport.Libuv|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Transport.Libuv)](https://www.nuget.org/packages/SpanNetty.Transport.Libuv/)|
+|Package|NuGet Version|MyGet Version|
+|------|-------------|-------------|
+|SpanNetty.Common|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Common)](https://www.nuget.org/packages/SpanNetty.Common/)|[![MyGet Version](https://img.shields.io/myget/cuteant/vpre/SpanNetty.Common)](https://www.myget.org/feed/cuteant/package/nuget/SpanNetty.Common)|
+|SpanNetty.Buffers|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Buffers)](https://www.nuget.org/packages/SpanNetty.Buffers/)|[![MyGet Version](https://img.shields.io/myget/cuteant/vpre/SpanNetty.Buffers)](https://www.myget.org/feed/cuteant/package/nuget/SpanNetty.Buffers)|
+|SpanNetty.Codecs|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Codecs)](https://www.nuget.org/packages/SpanNetty.Codecs/)|[![MyGet Version](https://img.shields.io/myget/cuteant/vpre/SpanNetty.Codecs)](https://www.myget.org/feed/cuteant/package/nuget/SpanNetty.Codecs)|
+|SpanNetty.Codecs.Http|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Codecs.Http)](https://www.nuget.org/packages/SpanNetty.Codecs.Http/)|[![MyGet Version](https://img.shields.io/myget/cuteant/vpre/SpanNetty.Codecs.Http)](https://www.myget.org/feed/cuteant/package/nuget/SpanNetty.Codecs.Http)|
+|SpanNetty.Codecs.Http2|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Codecs.Http2)](https://www.nuget.org/packages/SpanNetty.Codecs.Http2/)|[![MyGet Version](https://img.shields.io/myget/cuteant/vpre/SpanNetty.Codecs.Http2)](https://www.myget.org/feed/cuteant/package/nuget/SpanNetty.Codecs.Http2)|
+|SpanNetty.Codecs.Mqtt|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Codecs.Mqtt)](https://www.nuget.org/packages/SpanNetty.Codecs.Mqtt/)|[![MyGet Version](https://img.shields.io/myget/cuteant/vpre/SpanNetty.Codecs.Mqtt)](https://www.myget.org/feed/cuteant/package/nuget/SpanNetty.Codecs.Mqtt)|
+|SpanNetty.Codecs.Protobuf|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Codecs.Protobuf)](https://www.nuget.org/packages/SpanNetty.Codecs.Protobuf/)|[![MyGet Version](https://img.shields.io/myget/cuteant/vpre/SpanNetty.Codecs.Protobuf)](https://www.myget.org/feed/cuteant/package/nuget/SpanNetty.Codecs.Protobuf)|
+|SpanNetty.Handlers|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Handlers)](https://www.nuget.org/packages/SpanNetty.Handlers/)|[![MyGet Version](https://img.shields.io/myget/cuteant/vpre/SpanNetty.Handlers)](https://www.myget.org/feed/cuteant/package/nuget/SpanNetty.Handlers)|
+|SpanNetty.Transport|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Transport)](https://www.nuget.org/packages/SpanNetty.Transport/)|[![MyGet Version](https://img.shields.io/myget/cuteant/vpre/SpanNetty.Transport)](https://www.myget.org/feed/cuteant/package/nuget/SpanNetty.Transport)|
+|SpanNetty.Transport.Libuv|[![NuGet Version and Downloads count](https://buildstats.info/nuget/SpanNetty.Transport.Libuv)](https://www.nuget.org/packages/SpanNetty.Transport.Libuv/)|[![MyGet Version](https://img.shields.io/myget/cuteant/vpre/SpanNetty.Transport.Libuv)](https://www.myget.org/feed/cuteant/package/nuget/SpanNetty.Transport.Libuv)|
## Performance
diff --git a/build.fsx b/build.fsx
index 0c45041e2..266c9851d 100644
--- a/build.fsx
+++ b/build.fsx
@@ -5,13 +5,12 @@ open System
open System.IO
open System.Text
-
open Fake
open Fake.DotNetCli
open Fake.NuGet.Install
// Variables
-let configuration = "Debug"
+let configuration = environVarOrDefault "configuration" "Debug"
let solution = System.IO.Path.GetFullPath(string "./DotNetty.sln")
// Directories
@@ -35,7 +34,7 @@ let versionFromReleaseNotes =
let versionSuffix =
match (getBuildParam "nugetprerelease") with
- | "future" -> preReleaseVersionSuffix
+ | "main" -> preReleaseVersionSuffix
| "" -> versionFromReleaseNotes
| str -> str
@@ -94,8 +93,8 @@ let getAffectedProjects =
Target "ComputeIncrementalChanges" (fun _ ->
if runIncrementally then
let targetBranch = match getBuildParam "targetBranch" with
- | "" -> "future"
- | null -> "future"
+ | "" -> "main"
+ | null -> "main"
| b -> b
let incrementalistPath =
let incrementalistDir = toolsDir @@ "incrementalist"
@@ -114,6 +113,7 @@ Target "ComputeIncrementalChanges" (fun _ ->
|> append solution
|> append "-f"
|> append incrementalistReport
+ |> append "--verbose"
|> toText
let result = ExecProcess(fun info ->
@@ -231,8 +231,8 @@ Target "RunTests" (fun _ ->
let runSingleProject project =
let arguments =
match (hasTeamCity) with
- | true -> (sprintf "test -c Debug --no-build --logger:trx --logger:\"console;verbosity=normal\" --framework %s -- RunConfiguration.TargetPlatform=x64 --results-directory \"%s\" -- -parallel none -teamcity" testNetVersion outputTests)
- | false -> (sprintf "test -c Debug --no-build --logger:trx --logger:\"console;verbosity=normal\" --framework %s -- RunConfiguration.TargetPlatform=x64 --results-directory \"%s\" -- -parallel none" testNetVersion outputTests)
+ | true -> (sprintf "test -c %s --no-build --logger:trx --logger:\"console;verbosity=normal\" --framework %s -- RunConfiguration.TargetPlatform=x64 --results-directory \"%s\" -- -parallel none -teamcity" configuration testNetVersion outputTests)
+ | false -> (sprintf "test -c %s --no-build --logger:trx --logger:\"console;verbosity=normal\" --framework %s -- RunConfiguration.TargetPlatform=x64 --results-directory \"%s\" -- -parallel none" configuration testNetVersion outputTests)
let result = ExecProcess(fun info ->
info.FileName <- "dotnet"
diff --git a/build.ps1 b/build.ps1
index 7e358ef57..4e2d9ebfe 100644
--- a/build.ps1
+++ b/build.ps1
@@ -30,10 +30,8 @@ Param(
)
$FakeVersion = "4.63.0"
-$NugetVersion = "5.8.0";
-$NugetUrl = "https://dist.nuget.org/win-x86-commandline/v$NugetVersion/nuget.exe"
-$IncrementalistVersion = "0.4.0";
+$IncrementalistVersion = "0.8.0";
# Make sure tools folder exists
$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
@@ -43,18 +41,6 @@ if (!(Test-Path $ToolPath)) {
New-Item -Path $ToolPath -Type directory | out-null
}
-###########################################################################
-# INSTALL NUGET
-###########################################################################
-
-# Make sure nuget.exe exists.
-$NugetPath = Join-Path $ToolPath "nuget.exe"
-if (!(Test-Path $NugetPath)) {
- Write-Host "Downloading NuGet.exe..."
- [System.Net.ServicePointManager]::SecurityProtocol=[System.Net.SecurityProtocolType]::Tls12
- (New-Object System.Net.WebClient).DownloadFile($NugetUrl, $NugetPath);
-}
-
###########################################################################
# INSTALL FAKE
###########################################################################
@@ -63,7 +49,7 @@ if (!(Test-Path $NugetPath)) {
$FakeExePath = Join-Path $ToolPath "FAKE/tools/FAKE.exe"
if (!(Test-Path $FakeExePath)) {
Write-Host "Installing Fake..."
- Invoke-Expression "&`"$NugetPath`" install Fake -ExcludeVersion -Version $FakeVersion -OutputDirectory `"$ToolPath`"" | Out-Null;
+ Invoke-Expression "nuget.exe install Fake -ExcludeVersion -Version $FakeVersion -OutputDirectory `"$ToolPath`"" | Out-Null;
if ($LASTEXITCODE -ne 0) {
Throw "An error occured while restoring Fake from NuGet."
}
diff --git a/build.sh b/build.sh
index dc95c4425..69515e5c0 100644
--- a/build.sh
+++ b/build.sh
@@ -13,8 +13,8 @@ NUGET_URL=https://dist.nuget.org/win-x86-commandline/v5.8.0/nuget.exe
FAKE_VERSION=4.63.0
FAKE_EXE=$TOOLS_DIR/FAKE/tools/FAKE.exe
DOTNET_EXE=$SCRIPT_DIR/.dotnet/dotnet
-DOTNETCORE_VERSION=3.1.409
-DOTNET_VERSION=5.0.203
+DOTNETCORE_VERSION=3.1.411
+DOTNET_VERSION=5.0.302
DOTNET_INSTALLER_URL=https://dot.net/v1/dotnet-install.sh
DOTNET_CHANNEL=LTS
PROTOBUF_VERSION=3.4.0
diff --git a/build/Dependencies.3rdParty.props b/build/Dependencies.3rdParty.props
index b4589c671..28c2c08a8 100644
--- a/build/Dependencies.3rdParty.props
+++ b/build/Dependencies.3rdParty.props
@@ -9,6 +9,7 @@
1.5.0
2.10.0
3.3.2
+ 1.3.0
3.3.2
4.0.0
1.2.9
@@ -72,8 +73,8 @@
4.1.3.1
18.6.0
2.18.6
- 2.1.30
- 2.1.30
+ 2.2.4
+ 2.2.4
1.0.112.1
@@ -83,11 +84,11 @@
4.3.0
- 4.7.6
- 4.7.6
- 1.6.5
- 1.6.5
- 4.9.3
+ 4.7.10
+ 4.7.10
+ 1.7.2
+ 1.7.2
+ 4.12.0
2.10.0
2.10.0
@@ -127,8 +128,8 @@
1.15.1
- 1.8.6.1
- 1.8.9
+ 1.8.9
+ 1.8.10
0.6.0
0.6.0
0.6.0
@@ -145,14 +146,15 @@
1.10.0
1.40.0.394
- 2.11.0
- 2.11.0
+ 2.12.0
+ 2.12.0
2.3.0
3.16.0
3.16.0
0.10.1
+ 2.2.85
2.2.85
1.0.2
13.0.1
diff --git a/build/Dependencies.AspNet.props b/build/Dependencies.AspNet.props
deleted file mode 100644
index 153653b42..000000000
--- a/build/Dependencies.AspNet.props
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
- 5.2.7
-
- 5.2.7
-
- 3.2.7
- 3.2.7
-
- 5.2.7
- 5.2.7
- 5.2.7
- 5.2.7
- 5.2.7
- 5.2.7
- 5.2.7
- 5.2.7
-
- 2.2.0
- 2.2.0
- 0.3.4
- 2.2.2
-
-
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
- 2.1.0-preview2-180222-01
-
-
\ No newline at end of file
diff --git a/build/Dependencies.AspNetCore.props b/build/Dependencies.AspNetCore.props
index cd6246015..c31212047 100644
--- a/build/Dependencies.AspNetCore.props
+++ b/build/Dependencies.AspNetCore.props
@@ -1,69 +1,55 @@
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
-
- 5.0.6
-
- 5.0.6
-
- 5.0.6
- 5.0.6
-
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
-
- 5.0.6
- 5.0.6
- 5.0.6
-
- 5.0.6
- 5.0.6
-
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
-
- 5.0.6
- 5.0.6
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+
+ 5.0.8
+
+ 5.0.8
+ 5.0.8
+
+ 5.0.8
+ 5.0.8
+
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+
+ 5.0.8
- 5.0.6
- 5.0.6
-
- 5.0.6
- 5.0.6
-
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
- 5.0.6
-
- 5.0.6
- 5.0.6
- 5.0.6
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+
+ 5.0.8
+ 5.0.8
+
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+
+ 5.0.8
+ 5.0.8
+
+ 5.0.8
+ 5.0.8
5.0.0
5.0.0
diff --git a/build/Dependencies.AspNetCore2.props b/build/Dependencies.AspNetCore2.props
index 81ebdf7aa..022540fe1 100644
--- a/build/Dependencies.AspNetCore2.props
+++ b/build/Dependencies.AspNetCore2.props
@@ -50,6 +50,8 @@
0.2.2
2.2.0
+ 2.2.0
+
2.2.0
2.2.7
2.2.0
@@ -146,27 +148,6 @@
2.2.0
2.2.0
- 2.2.6
- 2.2.6
-
- 2.2.6
- 2.2.6
- 2.2.6
- 2.2.6
- 2.2.6
- 2.2.6
- 2.2.6
- 2.2.6
- 2.2.6
- 2.2.6
-
- 2.2.0
- 2.2.0
- 2.0.2
- 2.2.0
-
- 2.2.0
-
2.2.0
2.2.0
2.2.0-preview3-35497
diff --git a/build/Dependencies.AspNetCore3.props b/build/Dependencies.AspNetCore3.props
index f9e5d045a..66d14acc9 100644
--- a/build/Dependencies.AspNetCore3.props
+++ b/build/Dependencies.AspNetCore3.props
@@ -1,69 +1,55 @@
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
-
- 3.1.15
-
- 3.1.15
-
- 3.1.15
- 3.1.15
-
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
-
- 3.1.15
- 3.1.15
- 3.1.15
-
- 3.1.15
- 3.1.15
-
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
-
- 3.1.15
- 3.1.15
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+
+ 3.1.17
+
+ 3.1.17
+ 3.1.17
+
+ 3.1.17
+ 3.1.17
+
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+
+ 3.1.17
+
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+
+ 3.1.17
+ 3.1.17
+
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+
+ 3.1.17
+ 3.1.17
- 3.1.15
- 3.1.15
-
- 3.1.15
- 3.1.15
-
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
-
- 3.1.15
- 3.1.15
- 3.1.15
+ 3.1.17
+ 3.1.17
5.0.0
5.0.0
diff --git a/build/Dependencies.CuteAnt.props b/build/Dependencies.CuteAnt.props
index 9bc205cee..5cc43cb97 100644
--- a/build/Dependencies.CuteAnt.props
+++ b/build/Dependencies.CuteAnt.props
@@ -135,16 +135,16 @@
1.4.2009.1814
1.4.2009.1814
- 0.7.2012.2221
- 0.7.2012.2221
- 0.7.2012.2221
- 0.7.2012.2221
- 0.7.2012.2221
- 0.7.2012.2221
- 0.7.2012.2221
- 0.7.2012.2221
- 0.7.2012.2221
- 0.7.2012.2221
+ 1.0.0-beta-210716
+ 1.0.0-beta-210716
+ 1.0.0-beta-210716
+ 1.0.0-beta-210716
+ 1.0.0-beta-210716
+ 1.0.0-beta-210716
+ 1.0.0-beta-210716
+ 1.0.0-beta-210716
+ 1.0.0-beta-210716
+ 1.0.0-beta-210716
0.9.16-rtm-200824-01
diff --git a/build/Dependencies.Extensions.props b/build/Dependencies.Extensions.props
index 4f8d9ccdb..a9c909d09 100644
--- a/build/Dependencies.Extensions.props
+++ b/build/Dependencies.Extensions.props
@@ -1,9 +1,12 @@
+ 5.0.8
+ 5.0.8
+
5.0.0
5.0.0
- 5.0.0
+ 5.0.1
5.0.0
5.0.0
5.0.0
@@ -13,30 +16,32 @@
5.0.0
5.0.0
5.0.0
+ 5.0.8
+ 5.0.0
5.0.0
5.0.0
5.0.0
5.0.0
- 5.0.0
+ 5.0.2
3.1.6
5.0.0
5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
+ 5.0.8
+ 5.0.8
+ 5.0.8
5.0.0
5.0.0
- 5.0.0
+ 5.0.8
5.0.0
5.0.0
5.0.0
5.0.0
5.0.0
5.0.0
- 5.0.0
- 5.0.0
+ 5.0.8
+ 5.0.8
5.0.0
5.0.0
5.0.0
@@ -46,9 +51,31 @@
5.0.0
5.0.0
5.0.0
- 5.0.0
+ 5.0.8
5.0.0
+ 5.0.0
5.0.0
- 5.0.0
+ 5.0.1
+
+ 5.0.8
+ 5.0.8
+ 5.0.8
+
+ 5.0.8
+ 5.0.8
+
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+ 5.0.8
+
+ 5.0.8
+ 5.0.8
\ No newline at end of file
diff --git a/build/Dependencies.Extensions2.props b/build/Dependencies.Extensions2.props
index fbad4f69a..ecb6192ed 100644
--- a/build/Dependencies.Extensions2.props
+++ b/build/Dependencies.Extensions2.props
@@ -21,6 +21,7 @@
2.2.0
2.2.0
2.2.0
+ 2.2.0
2.2.0
2.2.0
2.2.0
@@ -56,8 +57,31 @@
2.2.0
2.2.0
2.2.0
+ 2.2.0
2.2.0
2.2.0
+ 2.2.0
+
+ 2.2.0
+ 2.2.0
+ 2.0.2
+ 2.2.0
+
+ 2.2.0
+
+ 2.2.6
+ 2.2.6
+
+ 2.2.6
+ 2.2.6
+ 2.2.6
+ 2.2.6
+ 2.2.6
+ 2.2.6
+ 2.2.6
+ 2.2.6
+ 2.2.6
+ 2.2.6
2.2.0
diff --git a/build/Dependencies.Extensions3.props b/build/Dependencies.Extensions3.props
index 8574dfc1e..c9ab2f974 100644
--- a/build/Dependencies.Extensions3.props
+++ b/build/Dependencies.Extensions3.props
@@ -1,54 +1,81 @@
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
+ 3.1.17
+ 3.1.17
+
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
3.1.6
3.1.6
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
- 3.1.15
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+
+ 3.1.17
+ 3.1.17
+ 3.1.17
+
+ 3.1.17
+ 3.1.17
+
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+ 3.1.17
+
+ 3.1.17
+ 3.2.1
\ No newline at end of file
diff --git a/build/Dependencies.Roslyn.props b/build/Dependencies.Roslyn.props
index 0c891d017..4529a4c14 100644
--- a/build/Dependencies.Roslyn.props
+++ b/build/Dependencies.Roslyn.props
@@ -2,20 +2,20 @@
1.3.2
- 3.9.0
- 3.9.0
- 3.9.0
- 3.9.0
- 3.9.0
- 3.9.0
- 3.9.0
- 3.9.0
- 3.9.0
- 3.9.0
- 3.9.0
+ 3.10.0
+ 3.10.0
+ 3.10.0
+ 3.10.0
+ 3.10.0
+ 3.10.0
+ 3.10.0
+ 3.10.0
+ 3.10.0
+ 3.10.0
+ 3.10.0
- 3.9.0
- 3.9.0
+ 3.10.0
+ 3.10.0
3.3.2
3.3.2
diff --git a/build/Dependencies.System.props b/build/Dependencies.System.props
index 8268af387..790c687de 100644
--- a/build/Dependencies.System.props
+++ b/build/Dependencies.System.props
@@ -29,6 +29,7 @@
6.11.0
+ 3.1.6
5.0.0
5.0.0
5.0.2
@@ -51,6 +52,7 @@
5.0.0
5.0.1
5.0.0
+ 5.0.0
5.0.0
5.0.0
5.0.0
@@ -67,6 +69,9 @@
5.0.1
4.5.4
4.3.4
+ 5.0.0
+ 5.0.0
+ 4.7.1
4.5.0
4.7.1
diff --git a/build/Dependencies.System2.props b/build/Dependencies.System2.props
index af410c9f5..b49238c79 100644
--- a/build/Dependencies.System2.props
+++ b/build/Dependencies.System2.props
@@ -2,6 +2,7 @@
+ 1.0.0
4.5.0
1.0.19239.1
4.7.0
@@ -64,6 +65,9 @@
4.5.3
4.5.3
4.3.4
+ 3.2.0
+ 4.5.4
+ 4.5.3
4.5.0
4.5.1
diff --git a/build/Dependencies.System3.props b/build/Dependencies.System3.props
index bd64cc3a1..0013b7ca6 100644
--- a/build/Dependencies.System3.props
+++ b/build/Dependencies.System3.props
@@ -51,6 +51,7 @@
4.5.1
4.7.0
4.7.0
+ 4.7.1
4.7.0
4.7.0
4.7.0
@@ -67,6 +68,9 @@
4.7.3
4.5.4
4.3.4
+ 3.2.1
+ 4.7.2
+ 4.7.1
4.5.0
4.7.1
diff --git a/build/Dependencies.Testing.props b/build/Dependencies.Testing.props
index 4878734b8..bd950d4c0 100644
--- a/build/Dependencies.Testing.props
+++ b/build/Dependencies.Testing.props
@@ -2,9 +2,9 @@
- 16.9.4
- 16.9.4
- 16.9.4
+ 16.10.0
+ 16.10.0
+ 16.10.0
0.12.1
0.12.1
@@ -26,7 +26,9 @@
2.4.3
2.4.1
2.4.1
- 1.3.12
+ 1.4.1
+ 1.4.13
+ 1.0.37
0.10.0
2.4.2-pre.build.4079
diff --git a/build/pr-netfx-validation.yaml b/build/pr-netfx-validation.yaml
index 052899b6a..c32f26969 100644
--- a/build/pr-netfx-validation.yaml
+++ b/build/pr-netfx-validation.yaml
@@ -3,33 +3,43 @@
trigger:
branches:
include:
- - future
- - master
+ - main
- release/*
pr:
autoCancel: true # indicates whether additional pushes to a PR should cancel in-progress runs for the same PR. Defaults to true
branches:
- include: [ future, master, release/* ] # branch names which will trigger a build
+ include: # branch names which will trigger a build
+ - main
+ - release/*
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
-jobs:
+variables:
+ NUGET_XMLDOC_MODE: none
+ NUGET_CREDENTIALPROVIDER_SESSIONTOKENCACHE_ENABLED: 'true'
+ packageFeed: 'https://pkgs.dev.azure.com/msazure/_packaging/ApiManagement/nuget/v3/index.json'
+
+stages:
+- stage: windows
+ displayName: Windows
+ jobs:
- job: WindowsBuild
- displayName: Windows Build
+ displayName: Build (Windows 2022)
pool:
- vmImage: vs2017-win2016
+ vmImage: windows-2022
demands: Cmd
steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: false # whether to fetch clean each time
submodules: recursive # set to 'true' for a single level of submodules or 'recursive' to get submodules of submodules
persistCredentials: true
- - task: UseDotNet@2
- displayName: 'Use .NET Core SDK 5.0.203'
- inputs:
- packageType: sdk
- version: 5.0.203
+ - template: templates/install-dotnet.yaml
+ - template: templates/install-nuget.yaml
+ - template: templates/restore-nuget-packages.yaml
+ - template: templates/install-build-dependencies.yaml
+ parameters:
+ packageFeed: $(packageFeed)
- task: BatchScript@1
displayName: Windows Build
inputs:
@@ -49,22 +59,13 @@ jobs:
displayName: 'If above is partially succeeded, then fail'
condition: eq(variables['Agent.JobStatus'], 'SucceededWithIssues')
- - template: azure-pipeline.template.yaml
- parameters:
- name: 'netfx_tests_windows'
- displayName: '.NET Framework Unit Tests (Windows)'
- vmImage: 'windows-2019'
- scriptFileName: build.cmd
- scriptArgs: RunTestsNetFx471 incremental
- outputDirectory: 'TestResults'
- artifactName: 'netfx_tests_windows-$(Build.BuildId)'
-
- - template: azure-pipeline.template.yaml
- parameters:
- name: 'netfx_451_tests_windows'
- displayName: '.NET Framework 451 Unit Tests (Windows)'
- vmImage: 'vs2017-win2016'
- scriptFileName: build.cmd
- scriptArgs: RunTestsNetFx451 incremental
- outputDirectory: 'TestResults'
- artifactName: 'netfx_451_tests_windows-$(Build.BuildId)'
+ # - template: templates/azure-pipeline.template.yaml
+ # parameters:
+ # name: 'netfx_tests_windows'
+ # displayName: 'Unit Tests (Windows 2019)'
+ # vmImage: 'windows-2019'
+ # scriptFileName: build.cmd
+ # scriptArgs: RunTestsNetFx471 incremental
+ # outputDirectory: 'TestResults'
+ # artifactName: 'netfx_tests_windows-$(Build.BuildId)'
+ # packageFeed: $(packageFeed)
\ No newline at end of file
diff --git a/build/pr-validation.yaml b/build/pr-validation.yaml
index 86a1e24c2..8e2e6acd6 100644
--- a/build/pr-validation.yaml
+++ b/build/pr-validation.yaml
@@ -3,33 +3,43 @@
trigger:
branches:
include:
- - future
- - master
+ - main
- release/*
pr:
autoCancel: true # indicates whether additional pushes to a PR should cancel in-progress runs for the same PR. Defaults to true
branches:
- include: [ future, master, release/* ] # branch names which will trigger a build
+ include: # branch names which will trigger a build
+ - main
+ - release/*
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
-jobs:
+variables:
+ NUGET_XMLDOC_MODE: none
+ NUGET_CREDENTIALPROVIDER_SESSIONTOKENCACHE_ENABLED: 'true'
+ packageFeed: 'https://pkgs.dev.azure.com/msazure/_packaging/ApiManagement/nuget/v3/index.json'
+
+stages:
+- stage: windows
+ displayName: Windows
+ jobs:
- job: WindowsBuild
- displayName: Windows Build
+ displayName: Build (Windows 2022)
pool:
- vmImage: windows-2019
+ vmImage: windows-2022
demands: Cmd
steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: false # whether to fetch clean each time
submodules: recursive # set to 'true' for a single level of submodules or 'recursive' to get submodules of submodules
persistCredentials: true
- - task: UseDotNet@2
- displayName: 'Use .NET Core SDK 5.0.203'
- inputs:
- packageType: sdk
- version: 5.0.203
+ - template: templates/install-dotnet.yaml
+ - template: templates/install-nuget.yaml
+ - template: templates/restore-nuget-packages.yaml
+ - template: templates/install-build-dependencies.yaml
+ parameters:
+ packageFeed: $(packageFeed)
- task: BatchScript@1
displayName: Windows Build
inputs:
@@ -49,52 +59,50 @@ jobs:
displayName: 'If above is partially succeeded, then fail'
condition: eq(variables['Agent.JobStatus'], 'SucceededWithIssues')
- - template: azure-pipeline.template.yaml
+ # - template: templates/azure-pipeline.template.yaml
+ # parameters:
+ # name: 'net_core_tests_windows_2022'
+ # displayName: 'Unit Tests (Windows 2022)'
+ # vmImage: 'windows-2022'
+ # scriptFileName: build.cmd
+ # scriptArgs: RunTests incremental
+ # outputDirectory: 'TestResults'
+ # artifactName: 'net_core_tests_windows-$(Build.BuildId)'
+ # packageFeed: $(packageFeed)
+
+ - template: templates/azure-pipeline.template.yaml
parameters:
- name: 'net_core_tests_windows'
- displayName: '.NET Core Unit Tests (Windows)'
+ name: 'net_core_tests_windows_2019'
+ displayName: 'Unit Tests (Windows 2019)'
vmImage: 'windows-2019'
scriptFileName: build.cmd
scriptArgs: RunTests incremental
outputDirectory: 'TestResults'
artifactName: 'net_core_tests_windows-$(Build.BuildId)'
+ packageFeed: $(packageFeed)
- - template: azure-pipeline.template.yaml
- parameters:
- name: 'net_core_tests_ubuntu_16'
- displayName: '.NET Core Unit Tests (Ubuntu-16)'
- vmImage: 'ubuntu-16.04'
- scriptFileName: './build.sh'
- scriptArgs: RunTests incremental
- outputDirectory: 'TestResults'
- artifactName: 'net_core_tests_ubuntu_16-$(Build.BuildId)'
+# - stage: linux
+# displayName: Linux (Ubuntu)
+# dependsOn: []
+# jobs:
+# - template: templates/azure-pipeline.template.yaml
+# parameters:
+# name: 'net_core_tests_ubuntu_20'
+# displayName: 'Unit Tests (Ubuntu-20)'
+# vmImage: 'ubuntu-20.04'
+# scriptFileName: './build.sh'
+# scriptArgs: RunTests incremental
+# outputDirectory: 'TestResults'
+# artifactName: 'net_core_tests_ubuntu_16-$(Build.BuildId)'
+# packageFeed: $(packageFeed)
- - template: azure-pipeline.template.yaml
- parameters:
- name: 'net_core_tests_ubuntu_18'
- displayName: '.NET Core Unit Tests (Ubuntu-18)'
- vmImage: 'ubuntu-18.04'
- scriptFileName: './build.sh'
- scriptArgs: RunTests incremental
- outputDirectory: 'TestResults'
- artifactName: 'net_core_tests_ubuntu_18-$(Build.BuildId)'
-
- - template: azure-pipeline.template.yaml
- parameters:
- name: 'net_core_tests_mac_1014'
- displayName: '.NET Core Unit Tests (MacOS-10.14)'
- vmImage: 'macOS-10.14'
- scriptFileName: './build.sh'
- scriptArgs: RunTests incremental
- outputDirectory: 'TestResults'
- artifactName: 'net_core_tests_mac_1014-$(Build.BuildId)'
-
- - template: azure-pipeline.template.yaml
- parameters:
- name: 'net_core_tests_mac_1015'
- displayName: '.NET Core Unit Tests (MacOS-10.15)'
- vmImage: 'macOS-10.15'
- scriptFileName: './build.sh'
- scriptArgs: RunTests incremental
- outputDirectory: 'TestResults'
- artifactName: 'net_core_tests_mac_1015-$(Build.BuildId)'
+# - template: templates/azure-pipeline.template.yaml
+# parameters:
+# name: 'net_core_tests_ubuntu_22'
+# displayName: 'Unit Tests (Ubuntu-22)'
+# vmImage: 'ubuntu-22.04'
+# scriptFileName: './build.sh'
+# scriptArgs: RunTests incremental
+# outputDirectory: 'TestResults'
+# artifactName: 'net_core_tests_ubuntu_22-$(Build.BuildId)'
+# packageFeed: $(packageFeed)
\ No newline at end of file
diff --git a/build/publish-packages.yaml b/build/publish-packages.yaml
new file mode 100644
index 000000000..51d05c486
--- /dev/null
+++ b/build/publish-packages.yaml
@@ -0,0 +1,80 @@
+# Explicitly disable PR trigger
+pr: none
+
+# Trigger pipeline when tag is created
+trigger:
+ tags:
+ include:
+ - 'v*'
+
+variables:
+ NUGET_XMLDOC_MODE: none
+ NUGET_CREDENTIALPROVIDER_SESSIONTOKENCACHE_ENABLED: 'true'
+ packageFeed: 'https://pkgs.dev.azure.com/msazure/_packaging/ApiManagement/nuget/v3/index.json'
+
+jobs:
+ - job: publish
+ displayName: Publish NuGet Packages
+ pool:
+ vmImage: 'windows-2022'
+ variables:
+ configuration: 'Release'
+ steps:
+ - checkout: self # self represents the repo where the initial Pipelines YAML file was found
+ clean: false # whether to fetch clean each time
+ submodules: recursive # set to 'true' for a single level of submodules or 'recursive' to get submodules of submodules
+ persistCredentials: true
+
+ # We need to fetch the origin manually, otherwise main branch is not 'known'
+ # This is required for our build script as it will otherwise fail
+ - powershell: 'git fetch origin'
+ displayName: 'Fetch Git origin'
+
+ - powershell: 'exit 1'
+ displayName: 'Stop for non-Git tag triggers'
+ condition: not(contains(variables['Build.SourceBranch'], 'refs/tags/v'))
+
+ - powershell: echo '$(Build.SourceBranch)'
+ displayName: 'Show Git tag'
+
+ - powershell: |
+ $version = "$(Build.SourceBranch)".Replace("refs/tags/v", "")
+
+ Write-Host "Git tag: $version"
+ echo "##vso[task.setvariable variable=packageVersion;]$version"
+ echo "##vso[task.setvariable variable=BUILD_NUMBER;]$version"
+ displayName: 'Determine package version'
+
+ - powershell: |
+ Write-Host "##vso[build.updatebuildnumber]v$(packageVersion)"
+ displayName: 'Set pipeline run name'
+
+ - template: templates/install-dotnet.yaml
+ - template: templates/install-nuget.yaml
+ - template: templates/restore-nuget-packages.yaml
+ - template: templates/install-build-dependencies.yaml
+ parameters:
+ packageFeed: $(packageFeed)
+
+ - task: BatchScript@1
+ displayName: Build & Test Code
+ inputs:
+ filename: build.cmd
+ arguments: 'RunTests incremental -Configuration Release' # Run an incremental build
+ continueOnError: true
+
+ - task: PublishTestResults@2
+ displayName: 'Publish test results'
+ inputs:
+ testRunner: VSTest
+ testResultsFiles: '**/*.trx'
+ testRunTitle: 'Tests'
+ mergeTestResults: true
+ failTaskOnFailedTests: true
+
+ - task: NuGetCommand@2
+ displayName: 'Push NuGet Packages to Azure Artifacts'
+ inputs:
+ command: push
+ packagesToPush: '**/*.$(packageVersion).symbols.nupkg'
+ publishVstsFeed: '6cb87577-1efb-475d-94b1-a5b0618c8812'
diff --git a/build/azure-pipeline.template.yaml b/build/templates/azure-pipeline.template.yaml
similarity index 76%
rename from build/azure-pipeline.template.yaml
rename to build/templates/azure-pipeline.template.yaml
index 0a8e66e74..8921054c5 100644
--- a/build/azure-pipeline.template.yaml
+++ b/build/templates/azure-pipeline.template.yaml
@@ -8,6 +8,7 @@ parameters:
scriptArgs: 'all'
outputDirectory: ''
timeoutInMinutes: 120
+ packageFeed: ''
jobs:
- job: ${{ parameters.name }}
@@ -16,13 +17,14 @@ jobs:
pool:
vmImage: ${{ parameters.vmImage }}
steps:
- - task: UseDotNet@2
- displayName: 'Use .NET Core SDK 5.0.203'
- inputs:
- packageType: sdk
- version: 5.0.203
+ - template: install-dotnet.yaml
+ - template: install-nuget.yaml
+ - template: restore-nuget-packages.yaml
+ - template: install-build-dependencies.yaml
+ parameters:
+ packageFeed: ${{ parameters.packageFeed }}
- task: Bash@3
- displayName: Linux / OSX Build
+ displayName: Build (Linux)
inputs:
filePath: ${{ parameters.scriptFileName }}
arguments: ${{ parameters.scriptArgs }}
@@ -30,18 +32,12 @@ jobs:
condition: in( variables['Agent.OS'], 'Linux', 'Darwin' )
# Windows
- task: BatchScript@1
- displayName: Windows Build
+ displayName: Build (Windows)
inputs:
filename: ${{ parameters.scriptFileName }}
arguments: ${{ parameters.scriptArgs }}
continueOnError: true
condition: eq( variables['Agent.OS'], 'Windows_NT' )
- - task: PublishTestResults@2
- inputs:
- testRunner: VSTest
- testResultsFiles: '**/*.trx' #TestResults folder usually
- testRunTitle: ${{ parameters.name }}
- mergeTestResults: true
- task: CopyFiles@2
displayName: 'Copy Build Output'
inputs:
@@ -49,7 +45,15 @@ jobs:
contents: '**\*'
targetFolder: $(Build.ArtifactStagingDirectory)
continueOnError: boolean # 'true' if future steps should run even if this step fails; defaults to 'false'
+ - task: PublishTestResults@2
+ displayName: 'Publish test results'
+ inputs:
+ testRunner: VSTest
+ testResultsFiles: '**/*.trx' #TestResults folder usually
+ testRunTitle: ${{ parameters.name }}
+ mergeTestResults: true
+ failTaskOnFailedTests: false
- script: 'echo 1>&2'
failOnStderr: true
- displayName: 'If above is partially succeeded, then fail'
+ displayName: 'Fail job when previous task(s) failed'
condition: eq(variables['Agent.JobStatus'], 'SucceededWithIssues')
\ No newline at end of file
diff --git a/build/templates/install-build-dependencies.yaml b/build/templates/install-build-dependencies.yaml
new file mode 100644
index 000000000..41032b7ac
--- /dev/null
+++ b/build/templates/install-build-dependencies.yaml
@@ -0,0 +1,13 @@
+parameters:
+ packageFeed: ''
+
+steps:
+- task: NuGetCommand@2
+ displayName: Install Fake
+ inputs:
+ command: 'custom'
+ arguments: 'install Fake -ExcludeVersion -Version 4.63.0 -OutputDirectory tools -Source ${{ parameters.packageFeed }}'
+- task: CmdLine@2
+ displayName: Install Incrementalist
+ inputs:
+ script: 'dotnet tool install Incrementalist.Cmd --version 0.8.0 --tool-path tools/incrementalist --add-source ${{ parameters.packageFeed }}'
\ No newline at end of file
diff --git a/build/templates/install-dotnet.yaml b/build/templates/install-dotnet.yaml
new file mode 100644
index 000000000..2f40253ac
--- /dev/null
+++ b/build/templates/install-dotnet.yaml
@@ -0,0 +1,11 @@
+steps:
+- task: UseDotNet@2
+ displayName: 'Install SDK 5.0.302'
+ inputs:
+ packageType: sdk
+ version: 5.0.302
+- task: UseDotNet@2
+ displayName: 'Install SDK 6.x'
+ inputs:
+ packageType: sdk
+ version: 6.x
\ No newline at end of file
diff --git a/build/templates/install-nuget.yaml b/build/templates/install-nuget.yaml
new file mode 100644
index 000000000..fc94572f7
--- /dev/null
+++ b/build/templates/install-nuget.yaml
@@ -0,0 +1,9 @@
+steps:
+- task: NuGetToolInstaller@1
+ displayName: 'Install NuGet'
+ inputs:
+ versionSpec: '5.x'
+- task: NuGetAuthenticate@1
+ displayName: 'Authenticate NuGet Feeds'
+ inputs:
+ nuGetServiceConnections: 'ApimAzureGenevaMonitoringReadPackages, ApimAzureSecurityMonitoringReadPackages'
\ No newline at end of file
diff --git a/build/templates/restore-nuget-packages.yaml b/build/templates/restore-nuget-packages.yaml
new file mode 100644
index 000000000..24c7c75b4
--- /dev/null
+++ b/build/templates/restore-nuget-packages.yaml
@@ -0,0 +1,9 @@
+steps:
+ - task: NuGetCommand@2
+ displayName: 'Restore NuGet Packages'
+ inputs:
+ command: 'restore'
+ restoreSolution: DotNetty.sln
+ feedsToUse: config
+ nugetConfigPath: NuGet.Config
+ externalFeedCredentials: 'ApimAzureGenevaMonitoringReadPackages, ApimAzureSecurityMonitoringReadPackages'
\ No newline at end of file
diff --git a/buildNetstandard.fsx b/buildNetstandard.fsx
index 6962f8d35..53bef57ab 100644
--- a/buildNetstandard.fsx
+++ b/buildNetstandard.fsx
@@ -5,7 +5,6 @@ open System
open System.IO
open System.Text
-
open Fake
open Fake.DotNetCli
open Fake.NuGet.Install
@@ -35,7 +34,7 @@ let versionFromReleaseNotes =
let versionSuffix =
match (getBuildParam "nugetprerelease") with
- | "future" -> preReleaseVersionSuffix
+ | "main" -> preReleaseVersionSuffix
| "" -> versionFromReleaseNotes
| str -> str
@@ -93,8 +92,8 @@ let getAffectedProjects =
Target "ComputeIncrementalChanges" (fun _ ->
if runIncrementally then
let targetBranch = match getBuildParam "targetBranch" with
- | "" -> "future"
- | null -> "future"
+ | "" -> "main"
+ | null -> "main"
| b -> b
let incrementalistPath =
let incrementalistDir = toolsDir @@ "incrementalist"
@@ -220,18 +219,14 @@ Target "RunTests" (fun _ ->
let projects =
let rawProjects = match (isWindows) with
| true -> !! "./test/*.Tests.Netstandard/*.Tests.csproj"
- -- "./test/*.Tests.Netstandard/DotNetty.Transport.Tests.csproj"
- -- "./test/*.Tests.Netstandard/DotNetty.Suite.Tests.csproj"
| _ -> !! "./test/*.Tests.Netstandard/*.Tests.csproj" // if you need to filter specs for Linux vs. Windows, do it here
- -- "./test/*.Tests.Netstandard/DotNetty.Transport.Tests.csproj"
- -- "./test/*.Tests.Netstandard/DotNetty.Suite.Tests.csproj"
rawProjects |> Seq.choose filterProjects
let runSingleProject project =
let arguments =
match (hasTeamCity) with
- | true -> (sprintf "test -c Debug --no-build --logger:trx --logger:\"console;verbosity=normal\" --framework %s -- RunConfiguration.TargetPlatform=x64 --results-directory \"%s\" -- -parallel none -teamcity" testNetCoreVersion outputTests)
- | false -> (sprintf "test -c Debug --no-build --logger:trx --logger:\"console;verbosity=normal\" --framework %s -- RunConfiguration.TargetPlatform=x64 --results-directory \"%s\" -- -parallel none" testNetCoreVersion outputTests)
+ | true -> (sprintf "test -c Debug --no-build --logger:trx --logger:\"console;verbosity=normal\" --framework %s -- RunConfiguration.TargetPlatform=x64 --results-directory \"%s\" -- -parallel none -teamcity" testNetVersion outputTests)
+ | false -> (sprintf "test -c Debug --no-build --logger:trx --logger:\"console;verbosity=normal\" --framework %s -- RunConfiguration.TargetPlatform=x64 --results-directory \"%s\" -- -parallel none" testNetVersion outputTests)
let result = ExecProcess(fun info ->
info.FileName <- "dotnet"
diff --git a/buildNetstandard.ps1 b/buildNetstandard.ps1
index bcd54b991..de732803c 100644
--- a/buildNetstandard.ps1
+++ b/buildNetstandard.ps1
@@ -30,10 +30,8 @@ Param(
)
$FakeVersion = "4.63.0"
-$NugetVersion = "5.8.0";
-$NugetUrl = "https://dist.nuget.org/win-x86-commandline/v$NugetVersion/nuget.exe"
-$IncrementalistVersion = "0.4.0";
+$IncrementalistVersion = "0.8.0";
# Make sure tools folder exists
$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
@@ -43,18 +41,6 @@ if (!(Test-Path $ToolPath)) {
New-Item -Path $ToolPath -Type directory | out-null
}
-###########################################################################
-# INSTALL NUGET
-###########################################################################
-
-# Make sure nuget.exe exists.
-$NugetPath = Join-Path $ToolPath "nuget.exe"
-if (!(Test-Path $NugetPath)) {
- Write-Host "Downloading NuGet.exe..."
- [System.Net.ServicePointManager]::SecurityProtocol=[System.Net.SecurityProtocolType]::Tls12
- (New-Object System.Net.WebClient).DownloadFile($NugetUrl, $NugetPath);
-}
-
###########################################################################
# INSTALL FAKE
###########################################################################
@@ -63,7 +49,7 @@ if (!(Test-Path $NugetPath)) {
$FakeExePath = Join-Path $ToolPath "FAKE/tools/FAKE.exe"
if (!(Test-Path $FakeExePath)) {
Write-Host "Installing Fake..."
- Invoke-Expression "&`"$NugetPath`" install Fake -ExcludeVersion -Version $FakeVersion -OutputDirectory `"$ToolPath`"" | Out-Null;
+ Invoke-Expression "nuget.exe install Fake -ExcludeVersion -Version $FakeVersion -OutputDirectory `"$ToolPath`"" | Out-Null;
if ($LASTEXITCODE -ne 0) {
Throw "An error occured while restoring Fake from NuGet."
}
diff --git a/buildNetstandard.sh b/buildNetstandard.sh
index 498cc698b..166a58157 100644
--- a/buildNetstandard.sh
+++ b/buildNetstandard.sh
@@ -13,8 +13,8 @@ NUGET_URL=https://dist.nuget.org/win-x86-commandline/v5.8.0/nuget.exe
FAKE_VERSION=4.63.0
FAKE_EXE=$TOOLS_DIR/FAKE/tools/FAKE.exe
DOTNET_EXE=$SCRIPT_DIR/.dotnet/dotnet
-DOTNETCORE_VERSION=3.1.409
-DOTNET_VERSION=5.0.203
+DOTNETCORE_VERSION=3.1.411
+DOTNET_VERSION=5.0.302
DOTNET_INSTALLER_URL=https://dot.net/v1/dotnet-install.sh
DOTNET_CHANNEL=LTS
PROTOBUF_VERSION=3.4.0
diff --git a/examples/Discard.Client/DiscardClientHandler.cs b/examples/Discard.Client/DiscardClientHandler.cs
index cb7176f98..bcf5f2140 100644
--- a/examples/Discard.Client/DiscardClientHandler.cs
+++ b/examples/Discard.Client/DiscardClientHandler.cs
@@ -3,23 +3,23 @@
namespace Discard.Client
{
- using System;
using DotNetty.Buffers;
using DotNetty.Transport.Channels;
using Examples.Common;
+ using System;
///
/// Handles a client-side channel.
///
public class DiscardClientHandler : SimpleChannelInboundHandler