Open dtivel opened 5 years ago
Appears to be resolved, though no fix was explicitly made.
Happening again.
This error does happen to me quite frequently in Visual Studio when running Update-Package
, as well as a number of other errors that suggest concurrency issues, so it's not just something that happens during a flaky test.
Based on the stack trace it's probably executing outside the main thread, so it looks like that code should call a Dispatcher to write to WriteError?
References:
Edit: This happens on pretty much any version of VS, including the current (VS2019 16.3.0, PowerShell Desktop 5.1.18362.145).
Happens to me only when I do uninstall-package <packagename> ; install-package <packagename>
- this error is then thrown by install-package
.