Remove obsolete custom platform detection. #122
Annotations
7 errors and 10 warnings
Unit tests (ubuntu-latest)
To build a project targeting Windows on this operating system, set the EnableWindowsTargeting property to true.
|
Unit tests (ubuntu-latest)
To build a project targeting Windows on this operating system, set the EnableWindowsTargeting property to true.
|
Unit tests (ubuntu-latest)
Process completed with exit code 1.
|
Unit tests (macos-latest)
To build a project targeting Windows on this operating system, set the EnableWindowsTargeting property to true.
|
Unit tests (macos-latest)
To build a project targeting Windows on this operating system, set the EnableWindowsTargeting property to true.
|
Unit tests (macos-latest)
Process completed with exit code 1.
|
selenium
Process completed with exit code 1.
|
Unit tests (windows-latest):
Duplicati/Library/Common/IO/PosixFile.cs#L44
The variable 'e' is declared but never used
|
Unit tests (windows-latest):
Duplicati/Library/Common/Platform/Platform.cs#L50
Environment.OSVersion.get is deprecated (https://github.com/dotnet/platform-compat/blob/master/docs/DE0009.md)
|
Unit tests (windows-latest):
Duplicati/Library/Common/Platform/Platform.cs#L50
Environment.OSVersion.get is deprecated (https://github.com/dotnet/platform-compat/blob/master/docs/DE0009.md)
|
|
Unit tests (windows-latest):
Duplicati/Library/Common/IO/SystemIO.cs#L45
This call site is reachable on all platforms. 'SystemIO.IO_WIN' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
Unit tests (windows-latest):
Duplicati/Library/Common/IO/SystemIO.cs#L46
This call site is reachable on all platforms. 'SystemIO.IO_SYS' is only supported on: 'linux', 'macOS/OSX'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
Unit tests (windows-latest):
Duplicati/Library/Common/IO/SystemIO.cs#L46
This call site is reachable on all platforms. 'SystemIOLinux' is only supported on: 'linux', 'macOS/OSX'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
Unit tests (windows-latest):
Duplicati/Library/Utility/AsyncHttpRequest.cs#L90
'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
Unit tests (windows-latest):
Duplicati/Library/Utility/WorkerThread.cs#L331
'Thread.ResetAbort()' is obsolete: 'Thread.ResetAbort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
|
Unit tests (windows-latest):
Duplicati/Library/Utility/WorkerThread.cs#L340
'Thread.ResetAbort()' is obsolete: 'Thread.ResetAbort is not supported and throws PlatformNotSupportedException.' (https://aka.ms/dotnet-warnings/SYSLIB0006)
|