Skip to content

Example Tests

Example Tests #125

Manually triggered November 16, 2023 16:11
Status Success
Total duration 3m 47s
Artifacts

example-test.yaml

on: workflow_dispatch
Matrix: acceptance-test-msbuild
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 39 warnings
acceptance-test-msbuild (32 Bit, 32bit)
Assets file 'D:\a\dscom\dscom\src\dscom.client\obj\project.assets.json' doesn't have a target for 'net6.0/win-x86'. Ensure that restore has run and that you have included 'net6.0' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
acceptance-test-msbuild (OutProc, outproc)
Assets file 'D:\a\dscom\dscom\src\dscom.client\obj\project.assets.json' doesn't have a target for 'net6.0/win-x64'. Ensure that restore has run and that you have included 'net6.0' in the TargetFrameworks for your project. You may also need to include 'win-x64' in your project's RuntimeIdentifiers.
acceptance-test-msbuild (32 Bit, 32bit): src/dscom/internal/structs/CUSTDATA.cs#L23
Member can be made 'readonly' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0251)
acceptance-test-msbuild (32 Bit, 32bit): src/dscom/writer/InterfaceWriter.cs#L128
Change return type of method 'GetMethodNamesOfBaseTypeInfo' from 'System.Collections.Generic.IEnumerable<string>' to 'System.Collections.Generic.List<string>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
acceptance-test-msbuild (32 Bit, 32bit): src/dscom/TypeInfoResolver.cs#L22
Change type of field '_typeLibs' from 'System.Collections.Generic.IDictionary<dSPACE.Runtime.InteropServices.TypeLibIdentifier, System.Runtime.InteropServices.ComTypes.ITypeLib>' to 'System.Collections.Generic.Dictionary<dSPACE.Runtime.InteropServices.TypeLibIdentifier, System.Runtime.InteropServices.ComTypes.ITypeLib>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
acceptance-test-msbuild (32 Bit, 32bit): src/dscom/RegistrationServices.cs#L280
Change return type of method 'GetComRegistratableTypes' from 'System.Collections.Generic.IReadOnlyCollection<System.Type>' to 'System.Type[]' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
acceptance-test-msbuild (32 Bit, 32bit): src/dscom/names/SimpleNameResolver.cs#L21
Change type of field '_names' from 'System.Collections.Generic.IDictionary<string, string>' to 'System.Collections.Generic.Dictionary<string, string>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
acceptance-test-msbuild (32 Bit, 32bit): src/dscom/internal/structs/CUSTDATA.cs#L23
Member can be made 'readonly' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0251)
acceptance-test-msbuild (32 Bit, 32bit): src/dscom/writer/LibraryWriter.cs#L44
Use 'ObjectDisposedException.ThrowIf' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1513)
acceptance-test-msbuild (32 Bit, 32bit): src/dscom/writer/LibraryWriter.cs#L86
Use 'ObjectDisposedException.ThrowIf' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1513)
acceptance-test-msbuild (32 Bit, 32bit): src/dscom/writer/InterfaceWriter.cs#L63
Use 'ObjectDisposedException.ThrowIf' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1513)
acceptance-test-msbuild (32 Bit, 32bit): src/dscom/writer/InterfaceWriter.cs#L128
Change return type of method 'GetMethodNamesOfBaseTypeInfo' from 'System.Collections.Generic.IEnumerable<string>' to 'System.Collections.Generic.List<string>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
acceptance-test-msbuild (32 Bit, 32bit)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "dSPACE.Runtime.InteropServices
acceptance-test-msbuild (32 Bit, 32bit)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "dSPACE.Runtime.InteropServices
acceptance-test-msbuild (32 Bit, 32bit)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "dSPACE.Runtime.InteropServices
acceptance-test-msbuild (32 Bit, 32bit)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "dSPACE.Runtime.InteropServices
acceptance-test-msbuild (32 Bit, 32bit)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "dSPACE.Runtime.InteropServices
acceptance-test-msbuild (32 Bit, 32bit)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "dSPACE.Runtime.InteropServices
acceptance-test-msbuild (32 Bit, 32bit): src/dscom/internal/structs/CUSTDATA.cs#L23
Member can be made 'readonly' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0251)
acceptance-test-msbuild (32 Bit, 32bit): src/dscom/RegistrationServices.cs#L194
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
acceptance-test-msbuild (32 Bit, 32bit): src/dscom/RegistrationServices.cs#L201
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
acceptance-test-msbuild (OutProc, outproc): src/dscom/writer/InterfaceWriter.cs#L128
Change return type of method 'GetMethodNamesOfBaseTypeInfo' from 'System.Collections.Generic.IEnumerable<string>' to 'System.Collections.Generic.List<string>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
acceptance-test-msbuild (OutProc, outproc): src/dscom/names/SimpleNameResolver.cs#L21
Change type of field '_names' from 'System.Collections.Generic.IDictionary<string, string>' to 'System.Collections.Generic.Dictionary<string, string>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
acceptance-test-msbuild (OutProc, outproc): src/dscom/internal/structs/CUSTDATA.cs#L23
Member can be made 'readonly' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0251)
acceptance-test-msbuild (OutProc, outproc): src/dscom/TypeInfoResolver.cs#L22
Change type of field '_typeLibs' from 'System.Collections.Generic.IDictionary<dSPACE.Runtime.InteropServices.TypeLibIdentifier, System.Runtime.InteropServices.ComTypes.ITypeLib>' to 'System.Collections.Generic.Dictionary<dSPACE.Runtime.InteropServices.TypeLibIdentifier, System.Runtime.InteropServices.ComTypes.ITypeLib>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
acceptance-test-msbuild (OutProc, outproc): src/dscom/RegistrationServices.cs#L280
Change return type of method 'GetComRegistratableTypes' from 'System.Collections.Generic.IReadOnlyCollection<System.Type>' to 'System.Type[]' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
acceptance-test-msbuild (OutProc, outproc): src/dscom/internal/structs/CUSTDATA.cs#L23
Member can be made 'readonly' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0251)
acceptance-test-msbuild (OutProc, outproc): src/dscom/internal/structs/CUSTDATA.cs#L25
Cast is redundant. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0004)
acceptance-test-msbuild (OutProc, outproc): src/dscom/internal/structs/CUSTDATA.cs#L23
Member can be made 'readonly' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0251)
acceptance-test-msbuild (OutProc, outproc): src/dscom/internal/OleAut32.cs#L21
Mark the method 'UnRegisterTypeLibForUser' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1054)
acceptance-test-msbuild (OutProc, outproc): src/dscom/internal/OleAut32.cs#L15
Mark the method 'LoadRegTypeLib' with 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1054)
acceptance-test-msbuild (OutProc, outproc)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "dSPACE.Runtime.InteropServices
acceptance-test-msbuild (OutProc, outproc)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "dSPACE.Runtime.InteropServices
acceptance-test-msbuild (OutProc, outproc)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "dSPACE.Runtime.InteropServices
acceptance-test-msbuild (OutProc, outproc)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "dSPACE.Runtime.InteropServices
acceptance-test-msbuild (OutProc, outproc)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "dSPACE.Runtime.InteropServices
acceptance-test-msbuild (OutProc, outproc)
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "dSPACE.Runtime.InteropServices
acceptance-test-msbuild (OutProc, outproc): src/dscom/internal/structs/CUSTDATA.cs#L23
Member can be made 'readonly' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0251)
acceptance-test-msbuild (OutProc, outproc): src/dscom/RegistrationServices.cs#L194
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
acceptance-test-msbuild (OutProc, outproc): src/dscom/RegistrationServices.cs#L201
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
acceptance-test-msbuild (OutProc, outproc): src/dscom/writer/InterfaceWriter.cs#L128
Change return type of method 'GetMethodNamesOfBaseTypeInfo' from 'System.Collections.Generic.IEnumerable<string>' to 'System.Collections.Generic.List<string>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)