Project Rider - open migrated project from RC1 to RC2 failed
Good day,
at first, my apologies for off topic, but I could not find forum for Rider. My problem is when I'm trying to open ASP.NET Core, which is migrated project from RC1 to RC2, but loading fails with error:
Project 'UserManagement' load failed
Can't initialize DNX: Can't find mono or clr DNX runtime at following paths (directories don't exist):
Use command 'dnvm upgrade -r mono' on Mac and Linux or 'dnvm upgrade -r clr' on Windows for reinstall DNX runtimes
To get instructions how to setup DNX visit http://docs.asp.net/en/latest/getting-started/index.html
Restart Rider after changes in DNX infrastructure
I'm using Ubuntu 16.04 (but masked as 14.04) with Mono 4.2.3 and .net core RC2 and Rider RS-146.1908. Here is one of my *.xproj from solution:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>e4375bb5-5388-4cc5-863b-95b9b71b51d2</ProjectGuid>
<RootNamespace>UserManagement</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
<ProjectExtensions>
<VisualStudio>
<UserProperties __JSONSchema="http://json.schemastore.org/project-1.0.0-rc2" />
</VisualStudio>
</ProjectExtensions>
</Project>
And global.json
{
"projects": [
"src",
"test"
],
"sdk": {
"version": "1.0.0-preview1-002702"
}
}
Am I missing something? Thank you and have a nice day!
Please sign in to leave a comment.
Hello,
Thanks for the feedback. Unfortunately DNX is no longer supported by Rider because MS has changed their direction to .NET Core CLI. So next Rider EAP build should fix your problem. We're planing to publish it on this week.