dotnet-cqrs/Svrnty.Sample/Protos
David Nguyen 433b852a43
All checks were successful
Publish NuGets / build (release) Successful in 40s
Refactor proto generation from source generator to MSBuild task
Replace ProtoFileSourceGenerator and WriteProtoFileTask with a new
GenerateProtoFileTask that creates its own Roslyn compilation. This
solves the timing issue where source generators run too late for
Grpc.Tools to process the generated proto files.

The new task runs after ResolveAssemblyReferences but before
_gRPC_GetProtoc and CoreCompile, ensuring the proto file exists
when Grpc.Tools needs it.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 14:35:56 -05:00
..
cqrs_services.proto Refactor proto generation from source generator to MSBuild task 2026-01-26 14:35:56 -05:00