Class not found when using .proto file in Visual Studio 2022 and writing C# service. How can I fix the issue?
I wrote a a protobuf file in my C# ASP.NET Core gRPC Service project, trying to follow the example, and now I need to write the code for it, but it doesn’t seem to be able to find the class name. I edited the .csproject
file as many others have suggested to add the path to the .proto
file, but it still doesn’t seem to be working. How can I fix the problem and compile the service?