Compiler Warning ASPIRE001
このコンテンツはまだ日本語訳がありません。
Version introduced: 8.0.0
The ‘CODELANGUAGE’ language isn’t fully supported by Aspire - some code generation targets will not run, so will require manual authoring.
This diagnostic warning is reported when using a code language other than C#.
To correct this warning
Section titled “To correct this warning”In your Aspire project, use C#.
Suppress the warning
Section titled “Suppress the warning”Suppress the warning with either of the following methods:
-
Set the severity of the rule in the .editorconfig file.
.editorconfig [*.{cs,vb}]dotnet_diagnostic.ASPIRE001.severity = noneFor more information about editor config files, see Configuration files for code analysis rules.
-
Add the following
PropertyGroupto your project file:C# <PropertyGroup><NoWarn>$(NoWarn);ASPIRE001</NoWarn></PropertyGroup>