You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skipping step Linux as it does not match target 'macos'.
[2/4] < Build Linux (< 10ms)
[3/4] > Build macOS
Encountered an error running command: 'msbuild' with arguments '/p:Configuration=Release /p:Platform=macOS64 CsharpWorker.sln': exec: "msbuild": executable file not found in $PATH
Please make sure the step 'macOS' defined in file '/Users/mohit/CExampleProject/workers/csharp_physics/spatialos.csharp.build.json' is configured correctly.
[3/4] x Build macOS (< 10ms)
error: exec: "msbuild": executable file not found in $PATH
failed (690ms)
Error during command execution: exec: "msbuild": executable file not found in $PATH
'spatial worker build' failed (16.7s)
Encountered an error during command execution.
exit status 1
The text was updated successfully, but these errors were encountered:
Sorry for the delay, just saw this issue. This example project has both a C and C# worker, and it failed to build the C# worker because you don't have msbuild in the path. You should ensure that you have Mono installed on your Mac, which should add msbuild to your PATH. Let me know if you have any further issues!
Mohits-MacBook-Pro:CExampleProject mohit$ spatial worker build --target macos
Extracting packages 1/1 [====================] 100%
Generating bridge settings for client_direct.
Generating bridge settings for client_vtable.
Generating bridge settings for physics.
Generating managed worker configuration for physics.
Generating descriptor. 1/1 [====================] 100%
Running task 'build' for worker 'client_direct', target 'macos'
[1/7] > Build Codegen
[1/1] > Codegen Insert custom codegen step here
[1/1] < Codegen Insert custom codegen step here (100ms)
[1/7] < Build Codegen (100ms)
[2/7] > Build Install dependencies
Extracting packages 1/1 [====================] 100%
[2/7] < Build Install dependencies (720ms)
[3/7] > Build CMake configure
[3/7] < Build CMake configure (40ms)
[4/7] > Build CMake configure for Windows
[4/7] < Build CMake configure for Windows (< 10ms)
[5/7] > Build CMake configure for Linux
[5/7] < Build CMake configure for Linux (< 10ms)
[6/7] > Build CMake configure for macOS
[6/7] < Build CMake configure for macOS (4s)
[7/7] > Build CMake build
[7/7] < Build CMake build (3.63s)
succeeded (8.49s)
Running task 'build' for worker 'client_vtable', target 'macos'
[1/7] > Build Codegen
[1/1] > Codegen Insert custom codegen step here
[1/1] < Codegen Insert custom codegen step here (20ms)
[1/7] < Build Codegen (20ms)
[2/7] > Build Install dependencies
[2/7] < Build Install dependencies (50ms)
[3/7] > Build CMake configure
[3/7] < Build CMake configure (20ms)
[4/7] > Build CMake configure
[4/7] < Build CMake configure (< 10ms)
[5/7] > Build CMake configure
[5/7] < Build CMake configure (< 10ms)
[6/7] > Build CMake configure
[6/7] < Build CMake configure (2.23s)
[7/7] > Build CMake build
[7/7] < Build CMake build (4.92s)
succeeded (7.24s)
Running task 'build' for worker 'physics', target 'macos'
[1/4] > Build Codegen
[1/2] > Codegen Dependencies
Extracting packages 1/1 [====================] 100%
Extracting packages 3/3 [====================] 100%
[1/2] < Codegen Dependencies (410ms)
[2/2] > Codegen C#
Generating code for csharp. 1/1 [====================] 100%
[2/2] < Codegen C# (270ms)
[1/4] < Build Codegen (690ms)
[2/4] > Build Linux
[2/4] < Build Linux (< 10ms)
[3/4] > Build macOS
Encountered an error running command: 'msbuild' with arguments '/p:Configuration=Release /p:Platform=macOS64 CsharpWorker.sln': exec: "msbuild": executable file not found in $PATH
Please make sure the step 'macOS' defined in file '/Users/mohit/CExampleProject/workers/csharp_physics/spatialos.csharp.build.json' is configured correctly.
[3/4] x Build macOS (< 10ms)
error: exec: "msbuild": executable file not found in $PATH
failed (690ms)
Error during command execution: exec: "msbuild": executable file not found in $PATH
'spatial worker build' failed (16.7s)
Encountered an error during command execution.
exit status 1
The text was updated successfully, but these errors were encountered: