From 9cd36df24a511476b1daedfa4d7c0f735119acfe Mon Sep 17 00:00:00 2001 From: Florian Rappl Date: Sun, 15 Jan 2023 13:50:49 +0100 Subject: [PATCH] Improved nuke build --- .gitignore | 3 + .nuke/temp/build-attempt.log | 4 -- .nuke/temp/build.2023-01-15_01-27-08.log | 29 ---------- .nuke/temp/build.2023-01-15_01-29-22.log | 29 ---------- .nuke/temp/build.2023-01-15_01-30-03.log | 71 ------------------------ .nuke/temp/build.log | 71 ------------------------ README.md | 4 +- nuke/Build.cs | 1 + src/AngleSharp.Io.nuspec | 1 + 9 files changed, 7 insertions(+), 206 deletions(-) delete mode 100644 .nuke/temp/build-attempt.log delete mode 100644 .nuke/temp/build.2023-01-15_01-27-08.log delete mode 100644 .nuke/temp/build.2023-01-15_01-29-22.log delete mode 100644 .nuke/temp/build.2023-01-15_01-30-03.log delete mode 100644 .nuke/temp/build.log diff --git a/.gitignore b/.gitignore index 39a64c7..de3ed79 100644 --- a/.gitignore +++ b/.gitignore @@ -194,3 +194,6 @@ pip-log.txt # Mac crap .DS_Store + +# Nuke build tool +.nuke/temp diff --git a/.nuke/temp/build-attempt.log b/.nuke/temp/build-attempt.log deleted file mode 100644 index d4f0c5d..0000000 --- a/.nuke/temp/build-attempt.log +++ /dev/null @@ -1,4 +0,0 @@ -77a74fac8e4ce00c1d0fbd53c441f1ea -Restore -Compile -RunUnitTests diff --git a/.nuke/temp/build.2023-01-15_01-27-08.log b/.nuke/temp/build.2023-01-15_01-27-08.log deleted file mode 100644 index 479c93e..0000000 --- a/.nuke/temp/build.2023-01-15_01-27-08.log +++ /dev/null @@ -1,29 +0,0 @@ -V | | ArgumentsFromParametersFile.OnBuildCreated (150) -V | | Passing value for Build.Solution (src/AngleSharp.Io.sln) -V | | InjectParameterValues.OnBuildCreated (100) -V | | HandleShellCompletion.OnBuildCreated (75) -V | | GenerateBuildServerConfigurations.OnBuildCreated (50) -V | | InvokeBuildServerConfigurationGeneration.OnBuildCreated (45) -V | | UpdateNotification.OnBuildCreated (10) -V | | UnsetVisualStudioEnvironmentVariables.OnBuildCreated (0) -V | | HandleVisualStudioDebugging.OnBuildCreated (0) -V | | HandleSingleFileExecution.OnBuildCreated (-50) -V | | EventInvoker.OnBuildCreated (-3.4028235E+38) -V | | HandleHelpRequests.OnBuildInitialized (5) -V | | Telemetry.OnBuildInitialized (0) -V | | InjectNonParameterValues.OnBuildInitialized (-100) -V | | EventInvoker.OnBuildInitialized (-3.4028235E+38) -D | | Reading ChangeLog E:\Code\AngleSharp\AngleSharp.Io\CHANGELOG.md... -D | | Using LastestVersion from ChangeLog: 1.0.0 -I | | Building version: 1.0.0 -V | | Target-unrelated exception was thrown -System.ArgumentException: TargetProject could not be loaded! - at Nuke.Common.Assert.NotNull[T](T obj, String message, String argumentExpression) in /_/source/Nuke.Common/Assert.cs:line 61 - at Build.OnBuildInitialized() in E:\Code\AngleSharp\AngleSharp.Io\nuke\Build.cs:line 103 - at Nuke.Common.Execution.EventInvoker.OnBuildInitialized(NukeBuild build, IReadOnlyCollection`1 executableTargets, IReadOnlyCollection`1 executionPlan) in /_/source/Nuke.Common/Execution/EventInvoker.cs:line 27 - at Nuke.Common.Utilities.Collections.EnumerableExtensions.ForEach[T](IEnumerable`1 enumerable, Action`1 action) in /_/source/Nuke.Common/Utilities/Collections/Enumerable.ForEach.cs:line 17 - at Nuke.Common.NukeBuild.ExecuteExtension[TExtension](Expression`1 action) - at Nuke.Common.Execution.BuildManager.Execute[T](Expression`1[] defaultTargetExpressions) in /_/source/Nuke.Common/Execution/BuildManager.cs:line 58 -V | | UpdateNotification.OnBuildFinished (10) -V | | SerializeBuildServerState.OnBuildFinished (0) -V | | EventInvoker.OnBuildFinished (-3.4028235E+38) diff --git a/.nuke/temp/build.2023-01-15_01-29-22.log b/.nuke/temp/build.2023-01-15_01-29-22.log deleted file mode 100644 index 479c93e..0000000 --- a/.nuke/temp/build.2023-01-15_01-29-22.log +++ /dev/null @@ -1,29 +0,0 @@ -V | | ArgumentsFromParametersFile.OnBuildCreated (150) -V | | Passing value for Build.Solution (src/AngleSharp.Io.sln) -V | | InjectParameterValues.OnBuildCreated (100) -V | | HandleShellCompletion.OnBuildCreated (75) -V | | GenerateBuildServerConfigurations.OnBuildCreated (50) -V | | InvokeBuildServerConfigurationGeneration.OnBuildCreated (45) -V | | UpdateNotification.OnBuildCreated (10) -V | | UnsetVisualStudioEnvironmentVariables.OnBuildCreated (0) -V | | HandleVisualStudioDebugging.OnBuildCreated (0) -V | | HandleSingleFileExecution.OnBuildCreated (-50) -V | | EventInvoker.OnBuildCreated (-3.4028235E+38) -V | | HandleHelpRequests.OnBuildInitialized (5) -V | | Telemetry.OnBuildInitialized (0) -V | | InjectNonParameterValues.OnBuildInitialized (-100) -V | | EventInvoker.OnBuildInitialized (-3.4028235E+38) -D | | Reading ChangeLog E:\Code\AngleSharp\AngleSharp.Io\CHANGELOG.md... -D | | Using LastestVersion from ChangeLog: 1.0.0 -I | | Building version: 1.0.0 -V | | Target-unrelated exception was thrown -System.ArgumentException: TargetProject could not be loaded! - at Nuke.Common.Assert.NotNull[T](T obj, String message, String argumentExpression) in /_/source/Nuke.Common/Assert.cs:line 61 - at Build.OnBuildInitialized() in E:\Code\AngleSharp\AngleSharp.Io\nuke\Build.cs:line 103 - at Nuke.Common.Execution.EventInvoker.OnBuildInitialized(NukeBuild build, IReadOnlyCollection`1 executableTargets, IReadOnlyCollection`1 executionPlan) in /_/source/Nuke.Common/Execution/EventInvoker.cs:line 27 - at Nuke.Common.Utilities.Collections.EnumerableExtensions.ForEach[T](IEnumerable`1 enumerable, Action`1 action) in /_/source/Nuke.Common/Utilities/Collections/Enumerable.ForEach.cs:line 17 - at Nuke.Common.NukeBuild.ExecuteExtension[TExtension](Expression`1 action) - at Nuke.Common.Execution.BuildManager.Execute[T](Expression`1[] defaultTargetExpressions) in /_/source/Nuke.Common/Execution/BuildManager.cs:line 58 -V | | UpdateNotification.OnBuildFinished (10) -V | | SerializeBuildServerState.OnBuildFinished (0) -V | | EventInvoker.OnBuildFinished (-3.4028235E+38) diff --git a/.nuke/temp/build.2023-01-15_01-30-03.log b/.nuke/temp/build.2023-01-15_01-30-03.log deleted file mode 100644 index e21502c..0000000 --- a/.nuke/temp/build.2023-01-15_01-30-03.log +++ /dev/null @@ -1,71 +0,0 @@ -V | | ArgumentsFromParametersFile.OnBuildCreated (150) -V | | Passing value for Build.Solution (src/AngleSharp.Io.sln) -V | | InjectParameterValues.OnBuildCreated (100) -V | | HandleShellCompletion.OnBuildCreated (75) -V | | GenerateBuildServerConfigurations.OnBuildCreated (50) -V | | InvokeBuildServerConfigurationGeneration.OnBuildCreated (45) -V | | UpdateNotification.OnBuildCreated (10) -V | | UnsetVisualStudioEnvironmentVariables.OnBuildCreated (0) -V | | HandleVisualStudioDebugging.OnBuildCreated (0) -V | | HandleSingleFileExecution.OnBuildCreated (-50) -V | | EventInvoker.OnBuildCreated (-3.4028235E+38) -V | | HandleHelpRequests.OnBuildInitialized (5) -V | | Telemetry.OnBuildInitialized (0) -V | | InjectNonParameterValues.OnBuildInitialized (-100) -V | | EventInvoker.OnBuildInitialized (-3.4028235E+38) -D | | Reading ChangeLog E:\Code\AngleSharp\AngleSharp.Io\CHANGELOG.md... -D | | Using LastestVersion from ChangeLog: 1.0.0 -I | | Building version: 1.0.0 -I | | Target Framework(s): ["netstandard2.0", "net461", "net472", "net6.0", "net7.0"] -V | Restore | EventInvoker.OnTargetRunning (-3.4028235E+38) -I | Restore | > "C:\Program Files\dotnet\dotnet.exe" restore E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.sln -D | Restore | Determining projects to restore... -D | Restore | Restored E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj (in 230 ms). -D | Restore | Restored E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\AngleSharp.Io.Tests.csproj (in 1,51 sec). -V | Restore | Telemetry.OnTargetSucceeded (0) -V | Restore | EventInvoker.OnTargetSucceeded (-3.4028235E+38) -V | Compile | EventInvoker.OnTargetRunning (-3.4028235E+38) -I | Compile | > "C:\Program Files\dotnet\dotnet.exe" build E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.sln --configuration Debug --no-restore -D | Compile | MSBuild version 17.4.0+18d5aef85 for .NET -W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FtpRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net6.0] -W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FileRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net6.0] -W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FtpRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net7.0] -W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FileRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net7.0] -D | Compile | AngleSharp.Io -> E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\bin\Debug\net7.0\AngleSharp.Io.dll -D | Compile | AngleSharp.Io -> E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\bin\Debug\net461\AngleSharp.Io.dll -D | Compile | AngleSharp.Io -> E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\bin\Debug\net472\AngleSharp.Io.dll -D | Compile | AngleSharp.Io -> E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\bin\Debug\net6.0\AngleSharp.Io.dll -D | Compile | AngleSharp.Io -> E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\bin\Debug\netstandard2.0\AngleSharp.Io.dll -W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\Network\HttpClientRequesterTests.cs(37,13): warning CS0618: 'HttpRequestMessage.Properties' is obsolete: 'HttpRequestMessage.Properties has been deprecated. Use Options instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\AngleSharp.Io.Tests.csproj::TargetFramework=net6.0] -W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\Network\HttpClientRequesterTests.cs(56,13): warning CS0618: 'HttpRequestMessage.Properties' is obsolete: 'HttpRequestMessage.Properties has been deprecated. Use Options instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\AngleSharp.Io.Tests.csproj::TargetFramework=net6.0] -D | Compile | AngleSharp.Io.Tests -> E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\bin\Debug\net6.0\AngleSharp.Io.Tests.dll -D | Compile | -D | Compile | Build succeeded. -D | Compile | -W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FtpRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net6.0] -W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FileRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net6.0] -W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FtpRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net7.0] -W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FileRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net7.0] -W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\Network\HttpClientRequesterTests.cs(37,13): warning CS0618: 'HttpRequestMessage.Properties' is obsolete: 'HttpRequestMessage.Properties has been deprecated. Use Options instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\AngleSharp.Io.Tests.csproj::TargetFramework=net6.0] -W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\Network\HttpClientRequesterTests.cs(56,13): warning CS0618: 'HttpRequestMessage.Properties' is obsolete: 'HttpRequestMessage.Properties has been deprecated. Use Options instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\AngleSharp.Io.Tests.csproj::TargetFramework=net6.0] -D | Compile | 6 Warning(s) -D | Compile | 0 Error(s) -D | Compile | -D | Compile | Time Elapsed 00:00:01.83 -V | Compile | Telemetry.OnTargetSucceeded (0) -V | Compile | EventInvoker.OnTargetSucceeded (-3.4028235E+38) -V | RunUnitTests | EventInvoker.OnTargetRunning (-3.4028235E+38) -I | RunUnitTests | > "C:\Program Files\dotnet\dotnet.exe" test E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.sln --configuration Debug --no-build --no-restore -D | RunUnitTests | Test run for E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\bin\Debug\net6.0\AngleSharp.Io.Tests.dll (.NETCoreApp,Version=v6.0) -D | RunUnitTests | Microsoft (R) Test Execution Command Line Tool Version 17.4.0 (x64) -D | RunUnitTests | Copyright (c) Microsoft Corporation. All rights reserved. -D | RunUnitTests | -D | RunUnitTests | Starting test execution, please wait... -D | RunUnitTests | A total of 1 test files matched the specified pattern. -D | RunUnitTests | Skipped SettingCookieIsPreservedViaRedirect [< 1 ms] -D | RunUnitTests | Skipped SettingCookieIsPreservedViaRedirect [< 1 ms] -D | RunUnitTests | Skipped SettingCookieIsPreservedViaRedirectToDifferentProtocol [< 1 ms] -D | RunUnitTests | -D | RunUnitTests | Passed! - Failed: 0, Passed: 102, Skipped: 3, Total: 105, Duration: 14 s - AngleSharp.Io.Tests.dll (net6.0) -V | RunUnitTests | Telemetry.OnTargetSucceeded (0) -V | RunUnitTests | EventInvoker.OnTargetSucceeded (-3.4028235E+38) diff --git a/.nuke/temp/build.log b/.nuke/temp/build.log deleted file mode 100644 index 01c1a29..0000000 --- a/.nuke/temp/build.log +++ /dev/null @@ -1,71 +0,0 @@ -01:30:03.042 | V | | ArgumentsFromParametersFile.OnBuildCreated (150) -01:30:03.083 | V | | Passing value for Build.Solution (src/AngleSharp.Io.sln) -01:30:03.093 | V | | InjectParameterValues.OnBuildCreated (100) -01:30:03.134 | V | | HandleShellCompletion.OnBuildCreated (75) -01:30:03.233 | V | | GenerateBuildServerConfigurations.OnBuildCreated (50) -01:30:03.233 | V | | InvokeBuildServerConfigurationGeneration.OnBuildCreated (45) -01:30:03.245 | V | | UpdateNotification.OnBuildCreated (10) -01:30:03.245 | V | | UnsetVisualStudioEnvironmentVariables.OnBuildCreated (0) -01:30:03.245 | V | | HandleVisualStudioDebugging.OnBuildCreated (0) -01:30:03.246 | V | | HandleSingleFileExecution.OnBuildCreated (-50) -01:30:03.247 | V | | EventInvoker.OnBuildCreated (-3.4028235E+38) -01:30:03.267 | V | | HandleHelpRequests.OnBuildInitialized (5) -01:30:03.267 | V | | Telemetry.OnBuildInitialized (0) -01:30:03.701 | V | | InjectNonParameterValues.OnBuildInitialized (-100) -01:30:03.702 | V | | EventInvoker.OnBuildInitialized (-3.4028235E+38) -01:30:03.704 | D | | Reading ChangeLog E:\Code\AngleSharp\AngleSharp.Io\CHANGELOG.md... -01:30:03.716 | D | | Using LastestVersion from ChangeLog: 1.0.0 -01:30:03.717 | I | | Building version: 1.0.0 -01:30:03.759 | I | | Target Framework(s): ["netstandard2.0", "net461", "net472", "net6.0", "net7.0"] -01:30:03.776 | V | Restore | EventInvoker.OnTargetRunning (-3.4028235E+38) -01:30:03.812 | I | Restore | > "C:\Program Files\dotnet\dotnet.exe" restore E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.sln -01:30:04.291 | D | Restore | Determining projects to restore... -01:30:05.004 | D | Restore | Restored E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj (in 230 ms). -01:30:06.264 | D | Restore | Restored E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\AngleSharp.Io.Tests.csproj (in 1,51 sec). -01:30:06.300 | V | Restore | Telemetry.OnTargetSucceeded (0) -01:30:06.300 | V | Restore | EventInvoker.OnTargetSucceeded (-3.4028235E+38) -01:30:06.305 | V | Compile | EventInvoker.OnTargetRunning (-3.4028235E+38) -01:30:06.309 | I | Compile | > "C:\Program Files\dotnet\dotnet.exe" build E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.sln --configuration Debug --no-restore -01:30:06.445 | D | Compile | MSBuild version 17.4.0+18d5aef85 for .NET -01:30:07.169 | W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FtpRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net6.0] -01:30:07.173 | W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FileRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net6.0] -01:30:07.180 | W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FtpRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net7.0] -01:30:07.182 | W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FileRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net7.0] -01:30:07.275 | D | Compile | AngleSharp.Io -> E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\bin\Debug\net7.0\AngleSharp.Io.dll -01:30:07.276 | D | Compile | AngleSharp.Io -> E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\bin\Debug\net461\AngleSharp.Io.dll -01:30:07.277 | D | Compile | AngleSharp.Io -> E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\bin\Debug\net472\AngleSharp.Io.dll -01:30:07.282 | D | Compile | AngleSharp.Io -> E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\bin\Debug\net6.0\AngleSharp.Io.dll -01:30:07.635 | D | Compile | AngleSharp.Io -> E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\bin\Debug\netstandard2.0\AngleSharp.Io.dll -01:30:08.155 | W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\Network\HttpClientRequesterTests.cs(37,13): warning CS0618: 'HttpRequestMessage.Properties' is obsolete: 'HttpRequestMessage.Properties has been deprecated. Use Options instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\AngleSharp.Io.Tests.csproj::TargetFramework=net6.0] -01:30:08.157 | W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\Network\HttpClientRequesterTests.cs(56,13): warning CS0618: 'HttpRequestMessage.Properties' is obsolete: 'HttpRequestMessage.Properties has been deprecated. Use Options instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\AngleSharp.Io.Tests.csproj::TargetFramework=net6.0] -01:30:08.289 | D | Compile | AngleSharp.Io.Tests -> E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\bin\Debug\net6.0\AngleSharp.Io.Tests.dll -01:30:08.313 | D | Compile | -01:30:08.313 | D | Compile | Build succeeded. -01:30:08.314 | D | Compile | -01:30:08.315 | W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FtpRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net6.0] -01:30:08.317 | W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FileRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net6.0] -01:30:08.318 | W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FtpRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net7.0] -01:30:08.319 | W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\Network\FileRequester.cs(21,17): warning SYSLIB0014: 'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io\AngleSharp.Io.csproj::TargetFramework=net7.0] -01:30:08.321 | W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\Network\HttpClientRequesterTests.cs(37,13): warning CS0618: 'HttpRequestMessage.Properties' is obsolete: 'HttpRequestMessage.Properties has been deprecated. Use Options instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\AngleSharp.Io.Tests.csproj::TargetFramework=net6.0] -01:30:08.322 | W | Compile | E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\Network\HttpClientRequesterTests.cs(56,13): warning CS0618: 'HttpRequestMessage.Properties' is obsolete: 'HttpRequestMessage.Properties has been deprecated. Use Options instead.' [E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\AngleSharp.Io.Tests.csproj::TargetFramework=net6.0] -01:30:08.324 | D | Compile | 6 Warning(s) -01:30:08.325 | D | Compile | 0 Error(s) -01:30:08.325 | D | Compile | -01:30:08.326 | D | Compile | Time Elapsed 00:00:01.83 -01:30:08.349 | V | Compile | Telemetry.OnTargetSucceeded (0) -01:30:08.349 | V | Compile | EventInvoker.OnTargetSucceeded (-3.4028235E+38) -01:30:08.353 | V | RunUnitTests | EventInvoker.OnTargetRunning (-3.4028235E+38) -01:30:08.367 | I | RunUnitTests | > "C:\Program Files\dotnet\dotnet.exe" test E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.sln --configuration Debug --no-build --no-restore -01:30:09.184 | D | RunUnitTests | Test run for E:\Code\AngleSharp\AngleSharp.Io\src\AngleSharp.Io.Tests\bin\Debug\net6.0\AngleSharp.Io.Tests.dll (.NETCoreApp,Version=v6.0) -01:30:09.266 | D | RunUnitTests | Microsoft (R) Test Execution Command Line Tool Version 17.4.0 (x64) -01:30:09.267 | D | RunUnitTests | Copyright (c) Microsoft Corporation. All rights reserved. -01:30:09.269 | D | RunUnitTests | -01:30:09.357 | D | RunUnitTests | Starting test execution, please wait... -01:30:09.475 | D | RunUnitTests | A total of 1 test files matched the specified pattern. -01:30:15.843 | D | RunUnitTests | Skipped SettingCookieIsPreservedViaRedirect [< 1 ms] -01:30:20.439 | D | RunUnitTests | Skipped SettingCookieIsPreservedViaRedirect [< 1 ms] -01:30:20.439 | D | RunUnitTests | Skipped SettingCookieIsPreservedViaRedirectToDifferentProtocol [< 1 ms] -01:30:26.104 | D | RunUnitTests | -01:30:26.109 | D | RunUnitTests | Passed! - Failed: 0, Passed: 102, Skipped: 3, Total: 105, Duration: 14 s - AngleSharp.Io.Tests.dll (net6.0) -01:30:26.199 | V | RunUnitTests | Telemetry.OnTargetSucceeded (0) -01:30:26.199 | V | RunUnitTests | EventInvoker.OnTargetSucceeded (-3.4028235E+38) diff --git a/README.md b/README.md index 3129f03..5619f89 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # AngleSharp.Io -[![Build Status](https://img.shields.io/appveyor/ci/FlorianRappl/AngleSharp-Io.svg?style=flat-square)](https://ci.appveyor.com/project/FlorianRappl/AngleSharp-Io) +[![CI](https://github.com/AngleSharp/AngleSharp.Io/actions/workflows/ci.yml/badge.svg)](https://github.com/AngleSharp/AngleSharp.Io/actions/workflows/ci.yml) [![GitHub Tag](https://img.shields.io/github/tag/AngleSharp/AngleSharp.Io.svg?style=flat-square)](https://github.com/AngleSharp/AngleSharp.Io/releases) [![NuGet Count](https://img.shields.io/nuget/dt/AngleSharp.Io.svg?style=flat-square)](https://www.nuget.org/packages/AngleSharp.Io/) [![Issues Open](https://img.shields.io/github/issues/AngleSharp/AngleSharp.Io.svg?style=flat-square)](https://github.com/AngleSharp/AngleSharp.Io/issues) @@ -148,7 +148,7 @@ This project is supported by the [.NET Foundation](https://dotnetfoundation.org) The MIT License (MIT) -Copyright (c) 2015 - 2022 AngleSharp +Copyright (c) 2015 - 2023 AngleSharp Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/nuke/Build.cs b/nuke/Build.cs index fd91872..cbd915b 100644 --- a/nuke/Build.cs +++ b/nuke/Build.cs @@ -159,6 +159,7 @@ protected override void OnBuildInitialized() CopyFile(SourceDirectory / $"{TargetProjectName}.nuspec", NugetDirectory / $"{TargetProjectName}.nuspec", FileExistsPolicy.OverwriteIfNewer); CopyFile(RootDirectory / "logo.png", NugetDirectory / "logo.png", FileExistsPolicy.OverwriteIfNewer); + CopyFile(RootDirectory / "README.md", NugetDirectory / "README.md", FileExistsPolicy.OverwriteIfNewer); }); Target CreatePackage => _ => _ diff --git a/src/AngleSharp.Io.nuspec b/src/AngleSharp.Io.nuspec index 703d530..2806336 100644 --- a/src/AngleSharp.Io.nuspec +++ b/src/AngleSharp.Io.nuspec @@ -8,6 +8,7 @@ MIT https://anglesharp.github.io logo.png + README.md false Providers additional requesters and IO helpers for AngleSharp. https://github.com/AngleSharp/AngleSharp.Io/blob/main/CHANGELOG.md