belav / csharpier

CSharpier is an opinionated code formatter for c#.
https://csharpier.com
MIT License
1.38k stars 93 forks source link

Process cannot access the file "....net8.0\any\server.log" while running multiple extensions. #1324

Closed belav closed 2 months ago

belav commented 2 months ago

I ran into this while vscode was running and I ran rider, it would probably happen with multiple windows of the same ide as well. It will only affect csharpier server, so disabling that option will allow users to bypass it.

java.lang.NumberFormatException: For input string: "Unhandled exception: System.IO.IOException: The process cannot access the file 'C:\Users\bela\AppData\Local\CSharpier\0.29.0.store\csharpier\0.29.0\csharpier\0.29.0\tools\net8.0\any\server.log' because it is being used by another process."

Need to figure out how to log from multiple instances of the process.

viceice commented 2 months ago

Seeing it too, having multiple vscode and visual studio projects open 🙃