Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update compiling_with_dotnet.rst: clarify NuGet source creation #8805

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

31
Copy link
Contributor

@31 31 commented Jan 21, 2024

Someone building on Windows and unfamiliar with Linuxy paths, in particular ~, will try to run dotnet nuget add source ~/MyLocalNugetSource --name MyLocalNugetSource verbatim, get an error having to do with ~/MyLocalNugetSource, and not know where to go from there. (This has brought a few people to the C# Discord help channel.)

I think this page deserves to be friendly even though it's focused on engine devs: people come here without being engine devs to e.g. compile the engine with double precision.

I added a little bit of info on how/where to set up the dir depending on OS, and used <my_local_source> to refer to the dir. (Similar to using <godot_binary> earlier in the doc.)

The paragraph starting with The Godot NuGet packages must be added to that local source. seemed to me like it could be confused for something the doc is instructing the dev to do right then and there, and it seems redundant vs. the explanation that's already there a few paragraphs later, so I tried removing it. Maybe the doc isn't as good at convincing the dev to use the --push-nupkgs-local arg, but I'm not sure it's necessary to convince them. I like the flow after the removal.

@AThousandShips AThousandShips requested a review from a team January 21, 2024 17:01
@raulsntos raulsntos added enhancement topic:dotnet area:contributing Issues and PRs related to the Contributing/Development section of the documentation labels Jan 21, 2024
Copy link
Member

@raulsntos raulsntos left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@skyace65 skyace65 merged commit d7d127f into godotengine:master Jan 23, 2024
1 check passed
@skyace65
Copy link
Contributor

Thanks!

@31 31 deleted the dev/31/build-net-win-path branch January 23, 2024 21:16
mhilbrunner pushed a commit that referenced this pull request Jan 25, 2024
Update compiling_with_dotnet.rst: clarify NuGet source creation
@mhilbrunner
Copy link
Member

Cherry-picked to 4.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:contributing Issues and PRs related to the Contributing/Development section of the documentation enhancement topic:dotnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants