Resharper broken after VS 2022 RTM
After I uninstalled VS 2019/2022 Preview and installed the VS 2022 RTM release (and re-installed the latest EAP7), I now get the following error with all of my .NET Core projects (targeting both .NET 5 and 6):
11/9/2021 8:34:46 AM Critical Project 'PROJECT_NAME_HERE' load failed| [MSB4236] The SDK 'Microsoft.NET.Sdk' specified could not be found. C:\s\MirrorRepos2\some\path\to\project\My.Project.csproj at (0:0)
Here is the beginning of my csproj file:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
Please sign in to leave a comment.
Potential workaround -- I'm not really sure what this setting is doing, yet...but, I found if I uncheck General / Solution Model / Read solution model directly from project/solution files... Resharper seemingly is able to get the project information it needs from my 'Microsoft.NET.Sdk'-based projects.
Hello,
it happens to be a known issue - RSRP-486809.
We've confirmed that ReSharper uses the wrong path to .NET and we're working on the fix.
For anyone who faces this issue, too, as a temporary workaround, please do one of the following:
Program Files\dotnet
aboveProgram Files (x86)\dotnet
Thank you.