Skip to content

Conversation

@SimonDarksideJ
Copy link
Contributor

Summary

Restructured the Platformer2D project as it wouldn't open in Visual Studio and updated it to the slnx format

Also updated all samples (not tutorial) to 3.8.5-preview.* so they get and test on the latest preview.


- name: Build Windows Binary for Platformer2D
run: dotnet publish Platformer2D/Windows/Platformer2D.csproj -c Release -r win-x64 --self-contained true -o ./artifacts/Platformer2D-Windows
run: dotnet publish Platformer2D/Windows/Windows.csproj -c Release -r win-x64 --self-contained true -o ./artifacts/Platformer2D-Windows
Copy link
Contributor

@CartBlanche CartBlanche Jan 25, 2026

Choose a reason for hiding this comment

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

The other reason why this format is annoying:
Platformer2D/Windows/Windows.csproj
which the previous format also had the issues with, before I changed it to:
Platformer2D/Windows/Platformer2D.csproj
was that when building from VSCode and in particular when running builds from the command line:
dotnet build or dotnet run --project commands
with
dotnet build Platformer2D/Windows/Windows.csproj`

if I want to now build for another platform I have to change the same place twice. eg.

dotnet build Platformer2D/Android/Android.csproj

While if the structure was

dotnet build Platformer2D/Windows/Platformer2D.csproj

you literally have to change 1 thing:

dotnet build Platformer2D/Android/Platformer2D.csproj

It literally halved the amount of typing you had to do when building for a different platform.
The less typing format could have been kept and just the slnx updated and things would have just worked for everyone rather than change sln as well as the build scripts and the command lines builds wouldn't be annoying again.

I can create a new branch with those changes and I'll remember to test the slnx builds this time :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If you can test from this PR with an updated layout @CartBlanche , I'm all ears. Just make sure the final solution is readable by VSCode or Visual Studio, as both complained about being able to open the solution.

Should we merge this PR to restore the Platformer, or wait for your update?

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