You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a .proto, called cat.proto, the proto imports other proto, called color.proto.
When I build the project to generate, I got the warning:
7>CSC: Warning CS8785 : Generator 'ProtobufSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'DirectoryNotFoundException' with message 'Could not find a part of the path 'C:\Program Files\dotnet\sdk\8.0.206\Roslyn\bincore\sa\blueprint\color.proto'.'.
With Grpc.Tools, it supports AdditionalImportDirs to allow me add a folder that contains cat.proto
Please help to check. Thanks
The text was updated successfully, but these errors were encountered:
linhnt-sipher
changed the title
[Question] Does the library supports generating .proto files that reference other .proto files?
[Question] Does the library supports generating .proto file that imports other .proto files?
Feb 11, 2025
I have a .proto, called cat.proto, the proto imports other proto, called color.proto.
When I build the project to generate, I got the warning:
7>CSC: Warning CS8785 : Generator 'ProtobufSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'DirectoryNotFoundException' with message 'Could not find a part of the path 'C:\Program Files\dotnet\sdk\8.0.206\Roslyn\bincore\sa\blueprint\color.proto'.'.
With Grpc.Tools, it supports AdditionalImportDirs to allow me add a folder that contains cat.proto
Please help to check. Thanks
The text was updated successfully, but these errors were encountered: