Logo

dev-resources.site

for different kinds of informations.

Migrating a project from Visual studio to Rider

Published at
6/4/2024
Categories
csharp
ide
visualstudio
rider
Author
doki_kapoki
Categories
4 categories in total
csharp
open
ide
open
visualstudio
open
rider
open
Author
11 person written this
doki_kapoki
open
Migrating a project from Visual studio to Rider

I have been dabbling with Rider and JetBrains throughout my career and finally made the full plunge for my personal projects. So far these are the things that I wish I knew about or quickly ran into an issue with due to a feature being in a slightly different location.

Learning about the ide

I immediately appreciated the simple introduction to using the IDE. There were a lot of features that I haven't used when dabbling and I'm not sure that exists in Visual Studio 2022. When opening the IDE for the first time there is a popup asking if you would like to learn about the IDE. You can always access this later by looking for the more tools and selecting Learn. This will launch a demo project that walks you through the features. My personal favourite is double-taping shift launches a full search that appears to be quite quick.

Search everywhere in Rider

I haven't used it in a particularly large project so performance could diminish.

Command Task runner

I was previously using Command Task Runner (https://marketplace.visualstudio.com/items?itemName=MadsKristensen.CommandTaskRunner) to manage simple tasks. I haven't found a replacement for this but I was able to take advantage of the NPM task view and configure the runcli job to spin up at launch of the project. I haven't noticed any performance differences yet but I haven't done any testing to prove this.

Run/Debug config for start up tasks

User Secrets

It took me a little time to find the user secrets home in Rider. This is accessible by right clicking the project file, tools and finally .NET User Secrets

Json nesting

I found that by default Rider doesn't have nested a nested view in the explorer tab for the appsettings.{environment}.json files. This is not a deal breaker and all the files are still present. However, I got a little distracted and eventually stumbled onto a blog (https://www.dandoescode.com/blog/rider-automatically-nesting-json-configuration-files) that provided a way to cutomise the file nestings.

In rider open the explorer. Click on the three dots in the top left and select file nesting settings. From here you can add a nesting rule. I have used the following:
.json .Development.json; .Production.json; .Test.json

File nesting settings

Conclusion

That's all for this post. Hopefully as I continue to progress I can share some more feature's that I am using or am re-mapping between the two environments.

ide Article's
30 articles in total
Favicon
Remove plugins affecting Intellij idea
Favicon
A Card-Based Approach to Mobile-First IDE
Favicon
PHP: Skip the boring part & press Tab!
Favicon
Amazon Q Developer: The AI-Powered Code Companion Youโ€™ve Been Waiting For
Favicon
Preparando o ambiente de desenvolvimento da melhor API de tabelas de campeonato que vocรช jรก viu!
Favicon
Tools I use in software engineering
Favicon
Plugin Release GitLab Master Plugin - Enhance Your GitLab Experience in IntelliJ IDEA
Favicon
Windsurf was Indeed Better Than Cursor IDE โ€“ t3.gg is biased
Favicon
Mine 14 dage med Cursor
Favicon
Why JetBrains IDEs Are Better Than VS Code for Developers
Favicon
Boosting Developer Efficiency with Cursor IDE: A Comprehensive Tool for Modern Coding
Favicon
Whoever Said You Need An IDE To Program In C?
Favicon
Incredibly Useful WireMock with IntelliJ IDEA
Favicon
How to use AI for coding the right way
Favicon
How To Use Xcode for Windows To Build iOS Apps
Favicon
๐Ÿšจ Google Unveils Project IDX, a Game-Changer for App Development ๐Ÿšจ
Favicon
Use Android Studio Online || React Native Online Mobile View without Android Studio Using Google IDX
Favicon
Migrating a project from Visual studio to Rider
Favicon
Flutter's Essential Toolkit: Top Tools for Every Developer
Favicon
From Text Editors to Cloud-based IDEs - a DevEx journey
Favicon
A Tour of the Couchbase JetBrains Plugin for Developers
Favicon
Project IDX: Google's Cloud-Based Experiment in Streamlining Development
Favicon
Astro vs Visual Studio 2022 as Static Site Generators
Favicon
The Best IDEs for Java Development: A Comparative Analysis
Favicon
Full Line Code Completion by JetBrains: A Game-Changer for Secure, AI-Assisted Coding
Favicon
The project IDX
Favicon
Plugin: Anรกlise de Vulnerabilidade
Favicon
Selecting Your LIGHTWEIGHT Python IDE
Favicon
The Dream Dies: Why Cloud IDEs Failed Developers
Favicon
A IDE do desenvolvedor do futuro ๐Ÿ”ฎ

Featured ones: