Setting up Rider
Get Rider
You got two options to choose from: buy Rider or start a 30-day evaluation period.
Set Rider as your Code Editor
From within the s&box editor, click Edit > Editor Settings. In General, set the Code Editor to Rider. Now you can press Ctrl+P (or File > Open Solution) from within the editor to open your solution.
Debugging
Attaching to the Procces
In Rider click Run -> Attach to process...
or see here
![image.png](https://files.facepunch.com/wiki/files/b3cb9/8db055d0967036b.png)
Selecting the S&Box process
1 View the available list of all debuggers
2 Narrow it down to .NET
3 Filter by sbox only
4 Attach - Done!
![image.png](https://files.facepunch.com/wiki/files/b3cb9/8db055d78a35bad.png)
Start debugging!
![image.png](https://files.facepunch.com/wiki/files/a9bbd/8d95f3d737dfa75.png)
Troubleshooting
If you are getting errors on everything, make sure you have the .NET 7 SDK installed.
If you are getting random errors from stuff that should be code generated, ensure you have Roslyn Analyzers enabled.
If you are getting errors from the s&box libraries specifically the razor files, like this:
![image.png](https://files.facepunch.com/wiki/files/b53f5/8dc2e36e4f14f3b.png)
Then its try disabling rider's inspection for those folders.
To do this go to:
Settings -> Inspection Settings
Scroll down to the bottom where it says "Elements to Skip" and enter:
"Libraries\Base Library\UI"
"Libraries\Menu Addon"
![image.png](https://files.facepunch.com/wiki/files/b53f5/8dc2e35cdeaf61d.png)