S&box Wiki

Setting up Visual Studio

Downloading and installing Visual Studio 2022

Download Visual Studio 2022 Community and install with the workload .NET desktop development.

If you need additional guidance refer to the official guide.

Opening your projects

The easiest way to get started is to press Open Solution from the editor or ( ctrl + p ).

sbox-dev_mdEi2d3IGc.png
image.png

Your solution contains every code addon (games, tools) - everytime you create a new addon it'll be automatically regenerated.

Troubleshooting

  • If you get a lot of errors from dependencies not being able to load, make sure you have the latest version of Visual Studio 2022 installed with .NET 6.

Community Extensions

  • s&box Tools (Adds some of the features in the external console to the IDE)

Debugging

For info on debugging check out the Debugging page.