Skip to content

Add .NET 9 unit tests, building #796

Add .NET 9 unit tests, building

Add .NET 9 unit tests, building #796

Triggered via pull request October 10, 2024 10:00
Status Failure
Total duration 1m 56s
Artifacts

publish-nuget.yml

on: pull_request
Matrix: Unit testing
Build all packages as smoke test
0s
Build all packages as smoke test
Build and publish all packages to NuGet
0s
Build and publish all packages to NuGet
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 20 warnings
Unit testing (ubuntu-latest): src/NetSparkle/SparkleUpdater.cs#L1388
The name 'RuntimeInformation' does not exist in the current context
Unit testing (ubuntu-latest): src/NetSparkle/SparkleUpdater.cs#L1388
The name 'OSPlatform' does not exist in the current context
Unit testing (ubuntu-latest): src/NetSparkle/SparkleUpdater.cs#L1392
The name 'RuntimeInformation' does not exist in the current context
Unit testing (ubuntu-latest): src/NetSparkle/SparkleUpdater.cs#L1392
The name 'OSPlatform' does not exist in the current context
Unit testing (ubuntu-latest): src/NetSparkle/SparkleUpdater.cs#L1400
The name 'RuntimeInformation' does not exist in the current context
Unit testing (ubuntu-latest): src/NetSparkle/SparkleUpdater.cs#L1400
The name 'OSPlatform' does not exist in the current context
Unit testing (ubuntu-latest): src/NetSparkle/SparkleUpdater.cs#L1463
The name 'RuntimeInformation' does not exist in the current context
Unit testing (ubuntu-latest): src/NetSparkle/SparkleUpdater.cs#L1463
The name 'OSPlatform' does not exist in the current context
Unit testing (ubuntu-latest): src/NetSparkle/SparkleUpdater.cs#L1464
The name 'RuntimeInformation' does not exist in the current context
Unit testing (ubuntu-latest): src/NetSparkle/SparkleUpdater.cs#L1464
The name 'OSPlatform' does not exist in the current context
Unit testing (macos-latest)
The job was canceled because "ubuntu-latest" failed.
Unit testing (macos-latest): src/NetSparkle/SparkleUpdater.cs#L1388
The name 'RuntimeInformation' does not exist in the current context
Unit testing (macos-latest): src/NetSparkle/SparkleUpdater.cs#L1388
The name 'OSPlatform' does not exist in the current context
Unit testing (macos-latest): src/NetSparkle/SparkleUpdater.cs#L1392
The name 'RuntimeInformation' does not exist in the current context
Unit testing (macos-latest): src/NetSparkle/SparkleUpdater.cs#L1392
The name 'OSPlatform' does not exist in the current context
Unit testing (macos-latest): src/NetSparkle/SparkleUpdater.cs#L1400
The name 'RuntimeInformation' does not exist in the current context
Unit testing (macos-latest): src/NetSparkle/SparkleUpdater.cs#L1400
The name 'OSPlatform' does not exist in the current context
Unit testing (macos-latest): src/NetSparkle/SparkleUpdater.cs#L1463
The name 'RuntimeInformation' does not exist in the current context
Unit testing (macos-latest): src/NetSparkle/SparkleUpdater.cs#L1463
The name 'OSPlatform' does not exist in the current context
Unit testing (macos-latest): src/NetSparkle/SparkleUpdater.cs#L1464
The name 'RuntimeInformation' does not exist in the current context
Unit testing (macos-latest): src/NetSparkle/SparkleUpdater.cs#L1464
The name 'OSPlatform' does not exist in the current context
Unit testing (windows-latest)
The job was canceled because "ubuntu-latest" failed.
Unit testing (windows-latest)
The operation was canceled.
Unit testing (ubuntu-latest): src/NetSparkle/Utilities.cs#L135
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
Unit testing (ubuntu-latest): src/NetSparkle/Utilities.cs#L138
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
Unit testing (ubuntu-latest): src/NetSparkle/Utilities.cs#L135
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
Unit testing (ubuntu-latest): src/NetSparkle/Utilities.cs#L135
Possible null reference return.
Unit testing (ubuntu-latest): src/NetSparkle/Utilities.cs#L138
Possible null reference return.
Unit testing (ubuntu-latest): src/NetSparkle/SparkleUpdater.cs#L161
'ServicePointManager' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead. Settings on ServicePointManager no longer affect SslStream or HttpClient.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
Unit testing (ubuntu-latest): src/NetSparkle/SparkleUpdater.cs#L165
'ServicePointManager' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead. Settings on ServicePointManager no longer affect SslStream or HttpClient.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
Unit testing (ubuntu-latest): src/NetSparkle/Downloaders/WebRequestAppCastDataDownloader.cs#L82
'ServicePointManager' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead. Settings on ServicePointManager no longer affect SslStream or HttpClient.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
Unit testing (ubuntu-latest): src/NetSparkle/Downloaders/WebRequestAppCastDataDownloader.cs#L114
'ServicePointManager' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead. Settings on ServicePointManager no longer affect SslStream or HttpClient.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
Unit testing (ubuntu-latest): src/NetSparkle/Downloaders/WebRequestAppCastDataDownloader.cs#L147
'ServicePointManager' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead. Settings on ServicePointManager no longer affect SslStream or HttpClient.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
Unit testing (macos-latest): src/NetSparkle/Utilities.cs#L135
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
Unit testing (macos-latest): src/NetSparkle/Utilities.cs#L138
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
Unit testing (macos-latest): src/NetSparkle/Utilities.cs#L135
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
Unit testing (macos-latest): src/NetSparkle/Utilities.cs#L135
Possible null reference return.
Unit testing (macos-latest): src/NetSparkle/Utilities.cs#L138
Possible null reference return.
Unit testing (macos-latest): src/NetSparkle/SparkleUpdater.cs#L161
'ServicePointManager' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead. Settings on ServicePointManager no longer affect SslStream or HttpClient.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
Unit testing (macos-latest): src/NetSparkle/SparkleUpdater.cs#L165
'ServicePointManager' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead. Settings on ServicePointManager no longer affect SslStream or HttpClient.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
Unit testing (macos-latest): src/NetSparkle/Downloaders/WebRequestAppCastDataDownloader.cs#L82
'ServicePointManager' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead. Settings on ServicePointManager no longer affect SslStream or HttpClient.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
Unit testing (macos-latest): src/NetSparkle/Downloaders/WebRequestAppCastDataDownloader.cs#L114
'ServicePointManager' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead. Settings on ServicePointManager no longer affect SslStream or HttpClient.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
Unit testing (macos-latest): src/NetSparkle/Downloaders/WebRequestAppCastDataDownloader.cs#L147
'ServicePointManager' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead. Settings on ServicePointManager no longer affect SslStream or HttpClient.' (https://aka.ms/dotnet-warnings/SYSLIB0014)