Common causes of failed ReSharper installation

Problem: White screen of installer instead of "Select tools to install" page

Solution: Some of DirectX libraries exist in the same folder where you run R# installer. Copy R# installer to an empty folder and run installation again.

 

Problem: There were problems loading the Common Language Runtime through v4 interfaces.
The v.4.0.30319.0 runtime failed to provide the ICorRuntimeHost interface.

Solution: As a workaround, try running the full installer, close it when it fails with an error, locate the folder %TEMP%\JetBrains\Installer.Packed\v<some version>\ProductContentCache and try running JetBrains.Platform.Installer.exe from it.

 

Problem: error CS1703: An assembly with the same identity 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has already been imported. Try removing one of the duplicate references.

Solution: A mscorlib assembly exists in the same folder where you run R# installer. Copy R# installer to an empty folder and run installation again.

 

Problem: Error processing build script or engine binary file item “Wave.4.0.0.0.nupkg (2.66 KB)”. Specified argument was out of the range of valid values. Parameter name: supportedFrameworks

Solution 1: Check that some folders here C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.{some digit}\Profile\Profile{Some number}\SupportedFrameworks are empty or have Xamarin.*.xml files only. If there are ProfileN folders with empty SupportedFrameworks subfolder or with Xamarin.*.xml files only, please rename such ProfileN folder to e.g. "backup_ProfileN" one.

Solution 2: Create "NuGetPortableReferenceAssemblyPath" environment variable and set it to some non-existing path.

 

Problem: Error "An Item with the same key has already been added" with "Nuget" in the exception stacktrace

Solution: Please check that C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\ folder does not have duplicated "Profile{Number}" in all subfolders.

 

Problem: "Failed to start Installer" window about "Strong name validation failed" for Mono.Posix

Solution: Execute the following command:

sn.exe -Vr Mono.Posix,0738EB9F132ED756

 

Problem: "Could not reserve the memory for bank switching. Insufficient system resources exist to complete the requested service" message

Solution: Reboot a PC and try running installation process once again

 

Problem: CAS policy exception: you got something like "Error deserializing the input artifact value of type “JetBrains.Application.BuildScript.InputPackage, JetBrains.Platform.Shell, Version=106.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”. Could not load file or assembly 'file:///...JetBrains.Platform.Shell.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch."

Solution: Create "JetBrains.ReSharperUltimate.{R# version}.exe.config" alongside the setup exe with this configuration:

<configuration>
<runtime>
<loadFromRemoteSources enabled="true"/>
</runtime>
</configuration>

3 out of 76 found this helpful
2 comments
Avatar
Permanently deleted user

呵呵

0

I installed Resharper C++.

It is in VS2019, but not in VS2022.

What do I need to do to be able to usee it in VS 2022?

Thanks

Vaclav

 

0

Please sign in to leave a comment.

Have more questions?

Submit a request