Sharing run configurations in Rider
Answered
Our team is now trying Rider and we quite like it. We would like to setup some run configurations to run projects and some associated tasks with them (such as running grunt prebuild).
When I setup the configurations, mark them all as "Share through VCS" and add them to git, after restarting Rider the configurations are not loaded. We have ignored everything in .idea/** folder in our .gitignore, except these run configurations in runConfigurations folder.
Is it a problem with .gitignore setup? Or is there some special setting we have to use in order to force Rider to load these configurations?
Please sign in to leave a comment.
Hi,
Could you please try regenerating your run configuration XML file in another encoding without BOM (File | Settings | Editor | File Encodings)?
Your case seems to be very similar to https://youtrack.jetbrains.com/issue/IDEA-225362.
Please let me know about the results.
Kind regards,
Sofia.
Thanks, I can confirm that it works without BOM.
Hi. I'm having a similar situation where I create and save a run configuraton (.NET executable template) and store as a project file. I can see the file in the .run directory but the configuration does not appear in the list to select. What am I doing wrong? I tried to follow the BOM advice above but it didn't seem to make a difference one way or the other unless I was doing it wrong.
thanks,
Nathan
Hi Nathanjwtx,
Could you please file a new support request and attach the following info:
- your Rider version (menu Help | About or JetBrains Rider | About),
- your run configuration file
- a screenshot of that run configuration
- collected logs after reproducing the issue https://rider-support.jetbrains.com/hc/en-us/articles/360001079770-How-to-collect-Rider-logs-.
Thank you in advance.
Sofia.