TIL the format for pasting environment variables into a Rider run configuration

Search for a command to run...

No comments yet. Be the first to comment.
I recently use the /goal command in Claude Code for the first time. I was struggling to reproduce a bug that I already had a theoretical understanding of from investigating the codebase, but had previ

Things that happened I received a happy birthday message from our HR system. It gave me the same vibes as the AI-written compliments I mentioned in Month in review: May 2026. Microsoft ran an "AI sk

Fixing a code analysis auto-fix which made acronyms less clear

Things I learnt A HashSet is for storing unique elements. The point is that it has O(1) lookups like a Dictionary does. It uses the same basic mechanism as a Dictionary does (hashing objects then usi

I was recently working with an EF Core entity which contained a C# Point property representing a geolocation. This was stored in a single column in a SQL Server database. (I think this uses NetTopolog

I was editing a run configuration in Rider and needed to add several environment variables to it. There’s a button in the dialogue to paste them in, but no guidance regarding the format of the data, and no feedback if you paste the wrong format.
Rider allows you to create run configurations, which can be selected from a dropdown and have Run/Debug/Stop buttons next to them. When you open a solution, Rider populates these with several defaults depending on the types of projects in your solution, but you can edit these and add more of your own. It’s this section of the UI:

In my case, the relevant project was an Azure function. Editing the run configuration for it, there is a field for Environment Variables. You can type directly into this textbox, but if you click the icon on the right then you can add them as Name/Value pairs, and there’s an icon for pasting the data in.

To paste environment variables into the run configuration, you need your variables in this format:
ThingEnabled=true;MySetting=foo;OtherSetting=bar
https://www.jetbrains.com/help/rider/Run_Debug_Configuration.html#envvars-progargs does hint at this format. It says “In the Environment variables field, type the variable name and value: <name>=<value>. If you add several variables, they should be separated with semicolons.” but doesn’t mention pasting so it’s easy to miss. More significantly, there’s no guidance within the IDE so you have to go looking for the documentation to find out the format.