matkoch / resharper-fluentassertions

MIT License
13 stars 2 forks source link

"Plugin Installation Error" in Rider when updating to 2021.3.2 #10

Closed josefblaha closed 2 years ago

josefblaha commented 2 years ago

When I try to update the plugin from 2021.3.1 to 2021.3.2, after Rider restarts, I get the following message:

The IDE failed to install or update some plugins.
Please try again, and if the problem persists, please report it
to https://jb.gg/ide/critical-startup-errors

The cause: java.nio.file.AccessDeniedException: C:\Users\josef\AppData\Roaming\JetBrains\Rider2021.3\plugins\fluentassertions\dotnet\ReSharperPlugin.FluentAssertions.dll

Any ideas?

My environment:

JetBrains Rider 2021.3.3
Build #RD-213.6775.4, built on January 26, 2022
Runtime version: 11.0.13+7-b1751.25 amd64
VM: Dynamic Code Evolution 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
.NET Framework 4.0.30319.42000
GC: G1 Young Generation, G1 Old Generation
Memory: 1500M
Cores: 12
Registry:
    documentation.show.toolbar=true
    indexing.enable.entity.provider.based.indexing=false
    ide.new.project.model.index.case.sensitivity=true
    rdclient.asyncActions=false

Non-Bundled Plugins:
    fluentvalidation-rider (2021.3.0)
    fluentassertions-rider (2021.3.1)
    com.intellij.ideolog (203.0.27.0)
    com.4lex4.intellij.solarized (2.4.0)
    cognitivecomplexity-rider (2021.3.0)
    Key Promoter X (2021.3)
    intellij.prettierJS (213.6461.6)
    com.microsoft.vso.idea (1.162.0)
matkoch commented 2 years ago

Can you try to reinstall the plugin?

josefblaha commented 2 years ago

Trying to uninstall gave the same error message on restart. Then I tried to restart the IDE, but don't load the project, stay in Welcome dialog, go to plugins there and uninstall. That worked!

Could be that Rider, when restarting, does not wait for all previous processes to exit, and some of them was still using that DLL.

Thanks!