共用方式為


CA2228: Do not ship unreleased resource formats

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Item Value
RuleId CA2228
Category Microsoft.Usage
Breaking change Non-breaking

Cause

A resource file was built using a version of .NET that is not currently supported.

Note

This rule has been deprecated. For more information, see Deprecated rules.

Rule description

Resource files that were built by using pre-release versions of .NET might not be usable by supported versions of .NET.

How to fix violations

To fix a violation of this rule, build the resource using a supported version of .NET.

When to suppress warnings

Do not suppress a warning from this rule.