Fix error when changing Protobuf item values in Visual Studio

pull/20569/head
James Newton-King 5 years ago
parent 308ba0c254
commit d327e78271
No known key found for this signature in database
GPG Key ID: A66B2F456BF5526
  1. 2
      src/csharp/Grpc.Tools/build/_grpc/Grpc.CSharp.xml
  2. 4
      src/csharp/Grpc.Tools/build/_protobuf/Protobuf.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>

@ -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>

Loading…
Cancel
Save