ResXResourceWriterCompatibleFormat Property

Gets or sets whether the ResXResourceWriter instance should create a System compatible .resx file, which can be used by the built-in resource editor of Visual Studio.
Default value: .

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public bool CompatibleFormat { get; set; }

Property Value

Boolean

Remarks

The value of the property affects the following differences:

  Caution

When the value of this property is , then adding non-natively supported entries may cause a NotSupportedException on .NET 8.0 and above where BinaryFormatter is no longer supported.

Exceptions

InvalidOperationExceptionIn a set operation, a value cannot be specified because the creation of the .resx file content has already been started.

See Also