Skip to content

Fix bug complaining about csharp on Mac when calling dev command - #5867

Merged
rekhoff merged 1 commit into
masterfrom
lisandro/fix-dev-bug
Sep 3, 2026
Merged

Fix bug complaining about csharp on Mac when calling dev command#5867
rekhoff merged 1 commit into
masterfrom
lisandro/fix-dev-bug

Conversation

@lisandroct

@lisandroct lisandroct commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

In #5571, we were always selecting a default dotnet version and passing it down to init. Obviously, when we were not targeting C#, the CLI would later complain that the dotnet version wasn't required. Effectively, if you were calling spacetime dev --template basic-rs, we were later doing spacetime init --template basic-rs --dotnet-version 10.
This PR fixes that behavior.

API and ABI breaking changes

None. This only changes CLI.

Rollback safety impact

n/a

Expected complexity level and risk

  1. It's a small fix and it only changes spacetime dev behavior. That being said, it touches how dev interacts with init, generate and publish (which was the source of the issue).

Testing

  • Called spacetime dev with C# and Rust templates successfully on Linux
  • Tests are passing

@lisandroct
lisandroct marked this pull request as draft September 3, 2026 18:14
@lisandroct
lisandroct marked this pull request as ready for review September 3, 2026 19:03
@lisandroct
lisandroct requested a review from rekhoff September 3, 2026 19:03

@rekhoff rekhoff left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes make sense to me as a path to resolve the outstanding bug, but I have not personally tested them on a Mac

@rekhoff
rekhoff added this pull request to the merge queue Sep 3, 2026
Merged via the queue into master with commit 3663fa1 Sep 3, 2026
55 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants