diff --git a/src/csharp/Grpc.Tools/build/_grpc/Grpc.CSharp.xml b/src/csharp/Grpc.Tools/build/_grpc/Grpc.CSharp.xml index 66862582dad..5d284e25c8d 100644 --- a/src/csharp/Grpc.Tools/build/_grpc/Grpc.CSharp.xml +++ b/src/csharp/Grpc.Tools/build/_grpc/Grpc.CSharp.xml @@ -22,7 +22,7 @@ <EnumValue Name="None" DisplayName="Do not generate" /> <EnumProperty.DataSource> <DataSource ItemType="Protobuf" SourceOfDefaultValue="AfterContext" - PersistenceStyle="Attribute" /> + PersistenceStyle="Attribute" HasConfigurationCondition="false" /> </EnumProperty.DataSource> </EnumProperty> diff --git a/src/csharp/Grpc.Tools/build/_protobuf/Protobuf.CSharp.xml b/src/csharp/Grpc.Tools/build/_protobuf/Protobuf.CSharp.xml index 66b9f4bd5da..530ec52026f 100644 --- a/src/csharp/Grpc.Tools/build/_protobuf/Protobuf.CSharp.xml +++ b/src/csharp/Grpc.Tools/build/_protobuf/Protobuf.CSharp.xml @@ -82,7 +82,7 @@ <EnumValue Name="Internal" DisplayName="Internal" /> <EnumProperty.DataSource> <DataSource ItemType="Protobuf" SourceOfDefaultValue="AfterContext" - PersistenceStyle="Attribute" /> + PersistenceStyle="Attribute" HasConfigurationCondition="false" /> </EnumProperty.DataSource> </EnumProperty> @@ -91,7 +91,7 @@ Description="Specifies if this file is compiled or only imported by other files."> <BoolProperty.DataSource> <DataSource ItemType="Protobuf" SourceOfDefaultValue="AfterContext" - PersistenceStyle="Attribute" /> + PersistenceStyle="Attribute" HasConfigurationCondition="false" /> </BoolProperty.DataSource> </BoolProperty>