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
cd C:\dev\unity-games\blackholio\server-csharp
code .
It (C# DevKit?) automatically creates a server-csharp.sln file in the same folder as StdbModule.csproj.
After this, if I run spacetime publish --server local blackholio I get an error:
MSBUILD : error MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file.
Error: command ["dotnet", "publish", "-c", "Release", "-v", "quiet"] exited with code 1
There is no way to specify that StdbModule.csproj should be built.
--build-options is only used to specify additional options to the spacetime build command which gets invoked as part of spacetime publish.
I've been going through https://spacetimedb.com/docs/unity/part-3.
When opening the
server-csharp
folder in VS Code:It (C# DevKit?) automatically creates a
server-csharp.sln
file in the same folder asStdbModule.csproj
.After this, if I run
spacetime publish --server local blackholio
I get an error:There is no way to specify that
StdbModule.csproj
should be built.--build-options
is only used to specify additional options to thespacetime build
command which gets invoked as part ofspacetime publish
.Static
dotnet publish
execution:https://github.com/clockworklabs/SpacetimeDB/blob/651f79d22cc4bb1c3c996ef2436186501a5d83bd/crates/cli/src/tasks/csharp.rs#L70C5-L70C65
The text was updated successfully, but these errors were encountered: