Native Executable

In Native Executable, or any of the run/debug configs, is there a way to use Environment Variables, or built-in Rider variables?

For example in Working Directory, or as part of the Program arguments something like...

$(ProjectDir).

They don't seem to get expanded or get marked as invalid.

0
3 comments

Hi Mark,

Could you please clarify the type of project you are running, and share a screenshot of your run configuration?

For some run configurations, Environment Variables are available: https://www.jetbrains.com/help/rider/Run_Debug_Configuration_dotNet_Executable.html.

 

Kind regards,

Sofia.

0

I have the same question and would point to another link: https://www.jetbrains.com/help/rider/Run_Debug_Configuration_Native_Executable.html

 

I see the enviroment variables section, which holds the right variables. Now I need to refer to a variable in the "Program arguments:" section. How can i do that?

0

Hello Timo,

Unfortunately, this feature is not supported: https://youtrack.jetbrains.com/issue/IDEA-218149.

K.R.

Sofia

0

Please sign in to leave a comment.