In VS 15.8 pre-2 the context action doesn't add the configure await fix
DoCode opened this issue · comments
Hmm, not sure what I can do about that, I'm just using ReSharper APIs. I'd appreciate it if someone could test this with the latest ReSharper EAP (it would probably require compiling a local version of the ConfigureAwaitChecker, updated to use the latest preview SDK).
Have the same problem with VS15.7.4 an R#2018.1.2. It hasn't worked for me at all in the 2018 wave.
I have done a bit of debugging. It seems that the delegate to Transactions.Execute is never called. I don't know much about R# plugin development so not sure why that is happening or how to fix it. It's not throwing an exception. The execute call returns a result indicating failure.
ConsiderUsingConfigureAwaitQuickFix.cs:68
Internally the execute call is catching an exception: "Method not found: UsingWriteLock"
It seems that the JIT is failing when processing the delegate.
Updating to the latest R# SDK fixed the problem for me.
@johnendev Wanna submit a PR?
New package v0.14 pushed