Using Rider on Windows without Visual Studio: prerequisites
IMPORTANT: Please be aware that Unreal Engine development on Windows is not possible without having specific tools that are distributed with Visual Studio or Visual Studio Build Tools installer. It also means that you might need a proper Visual Studio license according to your needs.
The needed tools can be installed by ticking the Desktop development with C++ option in Visual Studio installer.
For more information about Unreal Engine development in Rider, see the documentation.
- If you have JetBrains Rider installed on your Windows machine and there is also .NET Core SDK or Visual Studio installed, we expect JetBrains Rider to start working without taking any further configuration steps. Please note that when you use VisualStudio, installing some components within it may be required (ASP.NET or F# targets).
-
If you want to use JetBrains Rider on a copy of Windows that does not have Visual Studio installed and you are developing projects having legacy project files:
- Download and install the JetBrains redistributable of MSBuild (to learn more, please visit the blog post.)
- Download and install Microsoft .NET Framework Developer Pack 4.5.1 or later from this list: https://www.microsoft.com/net/targeting.
- If you are interested in developing Web applications for classic ASP.NET, or .NET Core with IIS Express deployment, download and install IIS Express: https://www.microsoft.com/en-us/download/details.aspx?id=48264.
-
If you are interested in developing .NET Core with IIS Express deployment, follow the documentation on setting up ASP.NET Core apps in IIS Express: https://www.jetbrains.com/help/rider/Running_IISExpress.html.
NOTE: this is not required for ASP.NET Core if you use the Kestrel server (one of the default options for modern ASP.NET Core apps.) -
If you are interested in developing non-SDK FSharp applications (projects with the legacy project files):
- Add NuGet https://www.nuget.org/packages/FSharp.Compiler.Tools to your project (changing TargetFrameworkVersion may be required).
- In some cases, installing F# targets via Visual Studio or VS Build Tools may be more preferable than using this package.
Please sign in to leave a comment.
When can we expect support for .NET Framework versions later than 4.5.1? Seeing as 4.5.1 has been out of support for a full year now, it'd be awesome to see Rider support, say, 4.6 or 4.6.1.
What about using Mono with Windows, how can i choose between using .NET and Mono?
Can´t find any option in my project that i want to run/build in both frameworks.
Update June 18, 2018: Updated binaries to include the fix for “The “GetReferenceNearestTargetFrameworkTask” task was not found.” when building app project with reference to a library project (RIDER-14558).
Hey there! Is it possible to do Xamarin development using Rider without VS being installed? If so, what all would we need to install to do that? To the best of my knowledge, Xamarin is only able to be installed within Visual Studio anymore, so I just wanted to make sure.
Thanks for the awesome progress with Rider so far!
While installing Microsoft Build Tools 2017 I saw license link.
Do I understand correctly that "Microsoft Build Tools 2017" can't be used for commercial development without a VS 2017 license?
Do you have suggestions on how to use the Rider for commercial development under Windows without buying VS 2017?
BTW, MSBuild is under MIT license. Will Rider work with custom MSBuild on Windows? And if so, is it legal?
I don't see any easy way to do this.
For a test I added 4.5.1
After doing that I would expect there to be an easy way in Rider to choose either 4.5 or 4.5.1 for this project. I still only see 4.5. Why?
Thanks
Hello,
As you can see I don't have a Visual Studio 2017 IDE installed.
Here's what I needed to set to get Rider to recognize a .NET framework and to build applications.
If I try to select any other .NET SDK or targeting pack I can't build using Rider.
Rider needs .NET 4.5 to work. Given this these instructions don't see correct.
Thanks
@Benjamin, Sorry I put a link to private repository. Copied info directly here.
I'm trying to use JetBrains Rider on a copy of Windows that does not have Visual Studio installed with .NET 5.0. I installed the SDK from https://www.microsoft.com/net/targeting and set the MSBuild to the one included in rider, but I get "the reference assemblies not found" error. I checked %programfiles%\reference assemblies and the error is correct, I have none for .NET 5.0.
The JetBrains version of MSBuild doesn't work for .NET 5.0 and one must switch to using the MSBuild in the .NET 5.0 SDK as mentioned in this comment:
https://youtrack.jetbrains.com/issue/RIDER-51874#focus=Comments-27-4489700.0-0
This resolves "missing reference assemblies".
Unfortunately, my project can only use .NET3.5. I tried to use .NET 4.0 to build my existing .NET 3.5 project, and it caused some issue on my project.
Greetings,
Could you please update the prerequisites? I've installed Rider but I'm stuck with the Build Tools. There are so many options, it's unclear exactly what to select.
There are many individual components (.NET, MSVC, SDK, etc.). Perhaps an update video would also be very helpful (the last ones are 5 years old).
Thank you, have a good day
And good jobs Jetbrains, thank you for your amazing tools :)
Wanted to do a WPF app with Rider. Just creating an empty project gives me this:
Microsoft.Common.CurrentVersion.targets(3045, 5): [MSB3091] Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task.
What am I supposed to do to fix this? Installed Windows SDK, JetBrains MSBuild, .NET 4.5 Framework and tried all kinds of things mentioned here. But I can't even get Rider to recognize .NET 4.5. Do I really need to install Visual Studio 2017 to get Rider to work?
If I need to do something like Jack Davidson38 recommended, this is just awful.
EDIT: I figured it out. The project was set to .Net 3.5 by default, and I didn't realize that. I needed to install .Net 4.6.1 SDK to compile that 3.5 project, having .Net 4.7.2 SDK did not work.
So for me, everything started working once A) downloaded Jetbrains version of MSBuild, B) Installed .Net 4.6.1 SDK C) Selected proper target (4.6.1)
Sorry for confusion.
Rider keeps asking me to install "Microsoft .net framework 3.5 developer pack" after I click the Download button in the balloon but Microsoft only provides Microsoft .net framework 3.5 runtime installer in the website and only newer.Net framework has the developer pack. I have Visual Studio 2008 installed on my machine but I think Rider cannot find what it needs. What should I do?
https://www.microsoft.com/net/download/visual-studio-sdks
@Qrji, It may depend on the app you are building. Do you really need it to target dotnet 3.5? If you are developing Unity, consider switching to new mono runtime in Unity. For regular app just change TargetFrameworkVersion in csproj.
In case you really need to target dotnet 3.5 try to follow this article https://docs.microsoft.com/en-us/dotnet/framework/install/dotnet-35-windows-10
Get back to me, if it doesn't help.
None of this works and no-one at jetbrains ever tests anything, super frustrating :( It doesn't support the latest visual studio & Microsoft's “install visual studio” configuration doesn't support (very well) anything not the latest.
Yes, one of my school projects needs to target the .NET 3.5 platforms. I am developing something based on a .NET 3.5 Visual Studio project. I had enabled the .NET Framework 3.5 in Control Panel before I asked the question here. By the way, I am using Windows 7.
Maybe Rider has any setting that I can use it to target to the correct .NET 3.5 framework directory?
Hi! Please try to set different MSBuild in Rider settings.
Thanks for your reply.
I can get rid of the ".Net framework not installed" error after I set the MSBuild to v3.5 manually. but it has the error below and the Loading solution is syncing forever. I guess maybe Rider is not supporting the project that builds in .NET 3.5?
I have visual studio 2017 already installed. Tried moving to Rider but get the followings errors on my .net core and .net standard libraries
Could not load SDK Resolver. A manifest file exists, but the path to the SDK Resolver DLL file could not be found. Manifest file path 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\SdkResolvers\Microsoft.Build.NuGetSdkResolver\Microsoft.Build.NuGetSdkResolver.xml'. SDK resolver path: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\CommonExtensions\Microsoft\NuGet\Microsoft.Build.NuGetSdkResolver.dll
any ideas?
I have just reported the issue to JetBrains as report no. DEXP-402411.
Anybody has the steps to setup MAUI + Windows SDK Desktop Application Development without Visual Studio installation?
I can see the .NET framework 3.5 when creating a new project, though
Hi there,
The article was updated according to the last requirements. Please take a look and feel free to contact Rider support if you have questions.
Kind regards,
Sofia.
Have you tried MSBuild 4.0 (C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe)?
Do you have "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5" folder?
Lukee48 Please follow https://youtrack.jetbrains.com/issue/RIDER-21841
@S07h0sxxef Currently Rider default project templates have TargetFrameworkVersion =4.5 in csproj without checking what frameworks are installed.
However you can changeTargetFrameworkVersion to other value corresponding to TargetFramework installed on your machine.
Aapo, I have updated the instructions to reflect that any Developer Pack from the list at https://www.microsoft.com/net/targeting will do.
Daniel August,
1. Set valid "mono root folder path" in Settings
2. For both Run and Debug configurations there must appear a checkbox "use mono runtime"
Also related https://youtrack.jetbrains.com/issue/RIDER-3778
@Pogoprzem
Latest .NET Core 1.1 requires Workload ".NET Cross Platform development" from Visual Studio installation. We hope to remove this limitation soon.
Microsoft Build Tools 2015 link is dead, I believe it should be replaced by this one? https://www.visualstudio.com/downloads/#d-build-tools
(Under "Other Tools and Frameworks" > Build Tools for Visual Studio 2017)