Skip to content

Bump Microsoft.Windows.Compatibility from 8.0.8 to 8.0.10 #8

Bump Microsoft.Windows.Compatibility from 8.0.8 to 8.0.10

Bump Microsoft.Windows.Compatibility from 8.0.8 to 8.0.10 #8

Status Success
Total duration 1m 36s
Artifacts

build.yml

on: push
Matrix: build-net8
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
build-net8-windows-latest: src/Technosoftware/OpcRcw/Da/DataAccess.cs#L27
Avoid empty interfaces (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1040)
build-net8-windows-latest: src/Technosoftware/OpcRcw/Ae/AlarmsAndEvents.cs#L27
Avoid empty interfaces (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1040)
build-net8-windows-latest: src/Technosoftware/OpcRcw/Ae/AlarmsAndEvents.cs#L27
Prefix interface name CATID_OPCAEServer10 with 'I' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1715)
build-net8-windows-latest: src/Technosoftware/OpcRcw/Da/DataAccess.cs#L27
Prefix interface name CATID_OPCDAServer10 with 'I' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1715)
build-net8-windows-latest: src/Technosoftware/OpcRcw/Ae/AlarmsAndEvents.cs#L27
Remove the underscores from type name Technosoftware.OpcRcw.Ae.CATID_OPCAEServer10 (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
build-net8-windows-latest: src/Technosoftware/OpcRcw/Da/DataAccess.cs#L27
Remove the underscores from type name Technosoftware.OpcRcw.Da.CATID_OPCDAServer10 (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
build-net8-windows-latest: src/Technosoftware/OpcRcw/Da/DataAccess.cs#L33
Avoid empty interfaces (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1040)
build-net8-windows-latest: src/Technosoftware/OpcRcw/Da/DataAccess.cs#L33
Prefix interface name CATID_OPCDAServer20 with 'I' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1715)
build-net8-windows-latest: src/Technosoftware/OpcRcw/Da/DataAccess.cs#L33
Remove the underscores from type name Technosoftware.OpcRcw.Da.CATID_OPCDAServer20 (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
build-net8-windows-latest: src/Technosoftware/OpcRcw/Da/DataAccess.cs#L39
Avoid empty interfaces (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1040)
build-net8-windows-latest: examples/WorkshopClients/AeConsole/Program.cs#L38
Type 'Program' is a static holder type but is neither static nor NotInheritable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1052)
build-net8-windows-latest: examples/WorkshopClients/HdaConsole/Program.cs#L38
Type 'Program' is a static holder type but is neither static nor NotInheritable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1052)
build-net8-windows-latest: examples/WorkshopClients/AeConsole/OpcSample.cs#L42
Type 'OpcSample' is a static holder type but is neither static nor NotInheritable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1052)
build-net8-windows-latest: examples/WorkshopClients/HdaConsole/OpcSample.cs#L51
Method 'void OpcSample.OnReadComplete(IOpcRequest request, TsCHdaItemValueCollection[] results)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "OnReadComplete():". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
build-net8-windows-latest: examples/WorkshopClients/AeConsole/OpcSample.cs#L58
The behavior of 'DateTime.ToString()' could vary based on the current user's locale settings. Replace this call in 'OpcSample.OnDataChangedEvent(TsCAeEventNotification[], bool, bool)' with a call to 'DateTime.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build-net8-windows-latest: examples/WorkshopClients/HdaConsole/OpcSample.cs#L146
Change the type of parameter 'url' of method 'OpcSample.GetServerForUrl(string)' from 'string' to 'System.Uri', or provide an overload to 'OpcSample.GetServerForUrl(string)' that allows 'url' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054)
build-net8-windows-latest: examples/WorkshopClients/AeConsole/OpcSample.cs#L154
The behavior of 'string.Format(string, object)' could vary based on the current user's locale settings. Replace this call in 'OpcSample.Run()' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build-net8-windows-latest: examples/WorkshopClients/HdaConsole/OpcSample.cs#L49
Member 'OnReadComplete' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build-net8-windows-latest: examples/WorkshopClients/AeConsole/OpcSample.cs#L160
The behavior of 'string.Format(string, object)' could vary based on the current user's locale settings. Replace this call in 'OpcSample.Run()' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build-net8-windows-latest: examples/WorkshopClients/HdaConsole/OpcSample.cs#L148
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)