I am running format check by running following command dotnet-format ./MySolution.sln --fix-style warn --check -v diag.
The solution contains a VB.NET Winform project which references a Nuget package using PackageRefence.
The inheritance is as follows: CustomForm (in my project) -> BaseForm (in NuGet project) -> Form
Using the following code, dotnet-format always reports a BC30512 error because it does not recognise that Me implements IWin32Window through inheritance:
Using dialogForm As New SaveFileDialog
If dialogForm.ShowDialog(Me) = DialogResult.OK Then
'Do nothing
End If
End Using
Even if I add dotnet_diagnostic.BC30512.severity = none in the .editorconfig the output still contains the BC30512 error code.
I am running format check by running following command
dotnet-format ./MySolution.sln --fix-style warn --check -v diag
.The solution contains a VB.NET
Winform
project which references a Nuget package usingPackageRefence
.The inheritance is as follows:
CustomForm
(in my project) ->BaseForm
(in NuGet project) ->Form
Using the following code,
dotnet-format
always reports aBC30512
error because it does not recognise thatMe
implementsIWin32Window
through inheritance:Even if I add
dotnet_diagnostic.BC30512.severity = none
in the.editorconfig
the output still contains theBC30512
error code.Probably related to #1061 and #1627