S&box Wiki

Revision Difference

Setting_up_Visual_Studio#548258

<cat>Code.Intro</cat> <title>Setting up Visual Studio</title> # Downloading and installing Visual Studio 2022 [Download Visual Studio 2022 Community](https://visualstudio.microsoft.com/downloads/) and install with the workload .NET desktop development. If you need additional guidance refer to the [official guide](https://docs.microsoft.com/en-us/visualstudio/install/install-visual-studio?view=vs-2022). # Opening your projects The easiest way to get started is to press Open Solution from the editor or ( <key>CTRL</key> + <key>P</key> ). <upload src="a768a/8da720083b0b243.png" size="7455" name="sbox-dev_mdEi2d3IGc.png" /> <upload src="a5727/8d9de7fa5b163a6.png" size="3863" name="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](https://marketplace.visualstudio.com/items?itemName=rtm516.sboxtools) (Adds some of the features in the external console to the IDE)⤶ # Debugging For info on debugging check out the <page>Debugging</page> page.