Revision Difference
Setting_up_Visual_Studio#562941
<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, as well as ASP.NET workload for razor support.
If you need additional guidance refer to the [official guide](https://docs.microsoft.com/en-us/visualstudio/install/install-visual-studio?view=vs-2022).
<warning>Visual Studio 2019 and below no longer support the .NET 9 SDK, Visual Studio 2022 + is required to run .NET 9 SDK Projects. </warning>
⤶
<warning>S&box using .NET 7. Any other version will not work.</warning>
# Opening your projects
The best way to get started is to press Open Solution from the editor or ( <key>CTRL</key> + <key>P</key> ).
<upload src="2a1e9/8dd035baee938b7.png" size="5582" name="image.png" />
<upload src="2a1e9/8dd035bdb596d3e.png" size="7212" name="image.png" />
Your solution contains all the code from your game, tools, editor etc.
# 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 9.
* 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 7.
# Debugging
For info on debugging check out the <page>Debugging</page> page.