Workaround a different CPS bug

pull/18678/head
John Luo 6 years ago
parent e5fb24f502
commit 47921d6e54
  1. 9
      src/csharp/Grpc.Tools/build/_protobuf/Google.Protobuf.Tools.targets

@ -39,6 +39,15 @@
<AvailableItemName Include="Protobuf" />
</ItemGroup>
<!-- Workaround for VS Project System bug: -->
<!-- Duplicated items in None itemgroup without Generator attribute prevents the items -->
<!-- in Protobuf itemgroup with Generator attribute from triggering design time build. -->
<!-- https://devdiv.visualstudio.com/DevDiv/_workitems/edit/849161?src=WorkItemMention&src-action=artifact_link -->
<ItemGroup Condition=" '$(DisableProtobufDesignTimeBuild)' != 'true' " >
<!-- Working around this by removing the duplicated items from None itemgroup. -->
<None Remove="@(Protobuf)" />
</ItemGroup>
<PropertyGroup>
<!-- NET SDK: by default, do not include proto files in the directory.
Current Microsoft's recommendation is against globbing:

Loading…
Cancel
Save