在VS手動時新增discount.proto 檔案,在繼承這個物件會找不到
在Discount.Grpc.csproj裡新增就ok <ItemGroup> <None Remove="Protos\discount.proto" /> </ItemGroup> <ItemGroup> <Protobuf Include="Protos\discount.proto" GrpcServices="Server" /> </ItemGroup>
在VS手動時新增discount.proto 檔案,在繼承這個物件會找不到
在Discount.Grpc.csproj裡新增就ok <ItemGroup> <None Remove="Protos\discount.proto" /> </ItemGroup> <ItemGroup> <Protobuf Include="Protos\discount.proto" GrpcServices="Server" /> </ItemGroup>