© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
Julian

❔ gRCP on Mac M1 Ventura

I wanted to use gRCP in an ASP project on my Mac, but there is an error message which cannot be solved because the grcp.tools are not available for my CPU type.

  Google.Protobuf.Tools.targets(292, 5): [MSB6003] The specified task executable "/Users/julian/.nuget/packages/grpc.tools/2.53.0/tools/macosx_x64/protoc" could not be run. System.ComponentModel.Win32Exception (86): An error occurred trying to start process '/Users/julian/.nuget/packages/grpc.tools/2.53.0/tools/macosx_x64/protoc' with working directory 'GrpcService1'. Bad CPU type in executable
   at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands)
   at Microsoft.Build.Utilities.ToolTask.Execute()
  Google.Protobuf.Tools.targets(292, 5): [MSB6003] The specified task executable "/Users/julian/.nuget/packages/grpc.tools/2.53.0/tools/macosx_x64/protoc" could not be run. System.ComponentModel.Win32Exception (86): An error occurred trying to start process '/Users/julian/.nuget/packages/grpc.tools/2.53.0/tools/macosx_x64/protoc' with working directory 'GrpcService1'. Bad CPU type in executable
   at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands)
   at Microsoft.Build.Utilities.ToolTask.Execute()


I have already installed
protoc
protoc
via brew, but currently it uses a version that does not seem to be available for the M1....
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Error on VS Code on M1 Mac
C#CC# / help
2y ago
❔ Unable to upgrade .net 6.0.101 on Mac M1
C#CC# / help
3y ago