Rider RC cannot find NETFramework,Version=v4.5.2 on mac


Since upgrading from the most recent EAP to the RC, the solution I am working with no longer builds. I now see errors like this for all projects:

The reference assemblies for framework ".NETFramework,Version=v4.5.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. at (1111:5)

This solution targets multiple frameworks - netstandard and fullframework. 

Has something changed with how Rider now handles this?

Example csproj:

<?xml version="1.0" encoding="utf-8"?><Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<PropertyGroup Condition="'$(TargetFramework)' == 'net452'">
<Authors>Proto.Actor Team</Authors>
<Description>Ultra-fast distributed actors for .NET.</Description>
<PackageTags>actors actor model concurrency proto protoactor</PackageTags>

Try to switch the used msbuild in the Rider settings.


Thanks! looks like it worked.


Please sign in to leave a comment.