BAndysc / BAndysc/LibProtobufZeroSharp

[Question] Does the library supports generating .proto file that imports other .proto files?

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
21
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.