title: Protobuf Importing Message from another proto C# projects
body: <p>I'm using Google.Protobuf.Tools in a C# .NET Standard project <code>MyProject</code>. I have multiple proto definitions.</p>
  <p><strong>MyProject/Protos/Requests/SampleRequest.proto</strong></p>
  <pre class="lang-proto prettyprint-override"><code>syntax = &quot;proto3&quot;;
  
  option csharp_namespace = &quot;My.Projects.Protos.Requests&quot;;
  
  
  package sampleRequests;
  
  message SampleRequest {
     int32 requestNumber =1;
     SubRequest request =2;
  }
  
  
  </code></pre>
  <p><strong>MyProject/Protos/Requests/SubRequest.proto</strong></p>
  <pre class="lang-proto prettyprint-override"><code>syntax = &quot;proto3&quot;;
  
  option csharp_namespace = &quot;My.Projects.Protos.Requests&quot;;
  
  package subRequests;
  
  message SubRequest {
     int32 SubId =1;
     string requestText =2;
  }
  
  
  </code></pre>
  <p>Now, this code would not compile and the error shown is SubRequest is unknown.</p>
  <p>I would like to know how to import a different proto file so that I can achieve this. I don't really understand <code>--proto_path</code> cli options and could not find any clear documentation around this.</p>
  <p>Any help is much appreciated. Thanks in advance.
  Thanks in advance.</p>