Skip to content

Disable treating NU1603 Warning as Error #1811

Disable treating NU1603 Warning as Error

Disable treating NU1603 Warning as Error #1811

Triggered via pull request July 11, 2024 19:03
Status Success
Total duration 9m 20s
Artifacts

CI.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build (windows-latest): samples/MSAppGenerator/ExampleGenerator.cs#L107
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ExampleGenerator.GenerateApp(int, IList<string>)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build (windows-latest): samples/pptx2msapp/PptxConverter.cs#L177
Dereference of a possibly null reference.
build (windows-latest): samples/pptx2msapp/PptxConverter.cs#L128
The behavior of 'StringBuilder.Append(ref StringBuilder.AppendInterpolatedStringHandler)' could vary based on the current user's locale settings. Replace this call in 'PptxConverter.ConvertShape(string, TextBody, ShapeProperties, IList<Control>)' with a call to 'StringBuilder.Append(IFormatProvider, ref StringBuilder.AppendInterpolatedStringHandler)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build (windows-latest): samples/pptx2msapp/PptxConverter.cs#L130
The behavior of 'StringBuilder.Append(ref StringBuilder.AppendInterpolatedStringHandler)' could vary based on the current user's locale settings. Replace this call in 'PptxConverter.ConvertShape(string, TextBody, ShapeProperties, IList<Control>)' with a call to 'StringBuilder.Append(IFormatProvider, ref StringBuilder.AppendInterpolatedStringHandler)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build (windows-latest): samples/pptx2msapp/Program.cs#L9
Type 'Program' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (windows-latest): samples/pptx2msapp/PptxConverter.cs#L13
Type 'PptxConverter' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build (windows-latest): samples/MSAppGenerator/ExampleGenerator.cs#L107
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ExampleGenerator.GenerateApp(int, IList<string>)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build (windows-latest): samples/MSAppGenerator/ExampleGenerator.cs#L107
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ExampleGenerator.GenerateApp(int, IList<string>)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build (windows-latest): samples/pptx2msapp/PptxConverter.cs#L177
Dereference of a possibly null reference.
build (windows-latest): samples/pptx2msapp/PptxConverter.cs#L128
The behavior of 'StringBuilder.Append(ref StringBuilder.AppendInterpolatedStringHandler)' could vary based on the current user's locale settings. Replace this call in 'PptxConverter.ConvertShape(string, TextBody, ShapeProperties, IList<Control>)' with a call to 'StringBuilder.Append(IFormatProvider, ref StringBuilder.AppendInterpolatedStringHandler)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)