S&box Wiki

Revision Difference

Setting_up_Visual_Studio#543959

<cat>Code.Intro</cat> <title>Setting up Visual Studio</title> # Downloading and installing Visual Studio <note>There is currently a bug in the current version of Visual Studio which prevents CodeLens working correctly. Therefore, the Preview version is linked in this article, which has this issue fixed. This Wiki should be updated when a release build of Visual Studio with the fix is live.</note> 1. Download Visual Studio Community [here](https://visualstudio.microsoft.com/vs/preview/) 2. Run the installer 3. Select `.NET desktop development`. 3a. Optionally you can untick unwanted features on the right side. The ones suggested in the picture below should be sufficient. <upload src="3dc48/8d91deeb8920172.png" size="164967" name="image.png" /> After the installer have finished, you are now ready to work with S&box using Visual Studio! ⤶ For information on how to create your first gamemode follow the tutorial on <page>Making Gamemode</page>. ⤶ If you're new to C#, check out the <page text="C# learning resources">CSharp Learning Resources</page> to find resources that work for you. ⤶ For information on how to create your first gamemode, follow the tutorial on <page text="making a gamemode">Making Gamemode</page>.⤶ # Extensions Visual Studio is a IDE with a lot of tools, however if you find that you need something you can browse the extension manager. Visual Studio is an IDE with a lot of tools, however if you find that you need something that it doesn't include, you can browse the extension manager. 1. Click on `Extensions` on the toolbar and select `Manage Extensions` <upload src="3dc48/8d91deb8f080128.png" size="17914" name="image.png" /> 2. The Extension Manager should now appear and you can search for extensions. If you want more information about a certain extension, click on the blue `More Information` text, and your browser will open a tab to the extension's page. <upload src="3dc48/8d91deba36fdf3f.png" size="81341" name="image.png" /> # Debugging For info on debugging check out the <page>Debugging</page> page.