Update tools to ensure error details appear in VS

pull/18355/head
John Luo 6 years ago
parent 6d5a48a35a
commit 33dbbb98d8
  1. 1
      src/csharp/Grpc.Tools/ProtoCompile.cs
  2. 1
      src/csharp/Grpc.Tools/build/_protobuf/Google.Protobuf.Tools.targets

@ -322,6 +322,7 @@ namespace Grpc.Tools
{
cmd.AddArg(proto.ItemSpec);
}
cmd.AddSwitchMaybe("error_format", "msvs");
return cmd.ToString();
}

@ -271,6 +271,7 @@
GrpcPluginExe="%(_Protobuf_OutOfDateProto.GrpcPluginExe)"
GrpcOutputDir="%(_Protobuf_OutOfDateProto.GrpcOutputDir)"
GrpcOutputOptions="%(_Protobuf_OutOfDateProto._GrpcOutputOptions)"
LogStandardErrorAsError="true"
>
<Output TaskParameter="GeneratedFiles" ItemName="_Protobuf_GeneratedFiles"/>
</ProtoCompile>

Loading…
Cancel
Save