Add clean button to gamestudio
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
Is your feature request related to a problem? Please describe.
It would be very helpful to have the ability to clean the bin and obj folders of a project through GameStudio.
thought of from https://discord.com/channels/500285081265635328/740163288746426368/1344096363046113341 where someone couldnt get their rename to be noticed without manually deleting the folders.
Describe the solution you'd like
- Add a button next to the build and run buttons that would be "clean"
- when that button is pressed run dotnet clean on the solution
- (optional due to possible larger impact) delete built stride assets from those folders that dotnet clean may miss.
Describe alternatives you've considered
alternatives
- You can do this if you have VS2022 open with the clean option and the Stride extension.
- Manually go into the entry point project and delete the /bin and /obj folders then reload the editor
- run dotnet clean some other way (Im not 100% sure if this cleans intermediate assets)
This should make using GameStudio a bit more user friendly for people who dont always have an IDE open.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating GameStudio's existing build and run buttons and the solution build entry point. Determine where a clean action can invoke dotnet clean, then verify that the bin and obj folders and any built Stride assets are handled as intended; done means the new button cleans the project from GameStudio.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100