Improved folder generation

pull/22869/head
Kraemer, Benjamin 5 years ago
parent 6bcc37b07c
commit 906ce37a35
  1. 8
      src/csharp/Grpc.Tools/build/_protobuf/Google.Protobuf.Tools.targets

@ -259,9 +259,11 @@
Condition=" '$(DisableProtobufDesignTimeBuild)' != 'true' " Condition=" '$(DisableProtobufDesignTimeBuild)' != 'true' "
DependsOnTargets="Protobuf_PrepareCompileOptions;_Protobuf_GatherStaleFiles"> DependsOnTargets="Protobuf_PrepareCompileOptions;_Protobuf_GatherStaleFiles">
<!-- Ensure output directories. --> <!-- Ensure output directories. -->
<MakeDir Directories="%(_Protobuf_OutOfDateProto.OutputDir)" /> <ItemGroup>
<MakeDir Directories="%(_Protobuf_OutOfDateProto.GrpcOutputDir)" /> <_Protobuf_ExpectedGenerated Include="@(Protobuf_ExpectedOutputs)"
<MakeDir Directories="%(Protobuf_ExpectedOutputs.RelativeDir)" /> Condition = " '%(Source)' != '' and '@(_Protobuf_OutOfDateProto)' != '' " />
</ItemGroup>
<MakeDir Directories="%(_Protobuf_ExpectedGenerated.RelativeDir)" />
<MakeDir Directories="$(Protobuf_DepFilesPath)" /> <MakeDir Directories="$(Protobuf_DepFilesPath)" />
<!-- Force output to the current directory if the user has set it to empty. --> <!-- Force output to the current directory if the user has set it to empty. -->

Loading…
Cancel
Save