Skip to content

Fix CI/CD error

Fix CI/CD error #4

Triggered via push March 10, 2026 12:26
Status Failure
Total duration 28s
Artifacts 2

publish.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 8 warnings
Ubuntu
Process completed with exit code 1.
Ubuntu: Example/Example.cs#L53
This call site is reachable on all platforms. 'IKernel32<int, uint>.Boop(int, int)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Ubuntu
File '/home/runner/work/NativeInvoke/NativeInvoke/bin/NativeInvoke.dll' is not added because the package already contains file 'lib/netstandard2.0/NativeInvoke.dll'
Ubuntu: NativeInvoke/AnalyzerReleases.Shipped.md#L4
Analyzer release file 'AnalyzerReleases.Shipped.md' has a missing or invalid release header '## 1.0.0' (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
Ubuntu: NativeInvoke/Generator/NativeImportGenerator.cs#L3
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn/blob/main/docs/roslyn-analyzers/rules/RS1038.md)
Ubuntu: Example/Example.cs#L53
This call site is reachable on all platforms. 'IKernel32<int, uint>.Boop(int, int)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Ubuntu
File '/home/runner/work/NativeInvoke/NativeInvoke/bin/NativeInvoke.dll' is not added because the package already contains file 'lib/netstandard2.0/NativeInvoke.dll'
Ubuntu: NativeInvoke/AnalyzerReleases.Shipped.md#L4
Analyzer release file 'AnalyzerReleases.Shipped.md' has a missing or invalid release header '## 1.0.0' (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md)
Ubuntu: NativeInvoke/Generator/NativeImportGenerator.cs#L3
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn/blob/main/docs/roslyn-analyzers/rules/RS1038.md)

Artifacts

Produced during runtime
Name Size Digest
NativeInvoke.zip Expired
18.8 KB
sha256:61d96a675d079afa0f37d56aacad43c2165beb490518065673c94dc95fbe2d34
nuget-package Expired
22.8 KB
sha256:305bb626a4d921bdb231258aebc58f469cc07497e4504c932da43b58e0eedf8b