microsoft / microsoft/vscode-dotnettools
Extension lock file system operations
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 321
- Forks
- 54
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 2
Description
Describe the Issue
After opening a folder with a solution, it becomes impossible to change/move folders inside which projects are located. The VsCode shows such an error, but the blocking occurs at the fs level. In the windows explorer, it is also not possible to rename the folder.
resmon.exe show such picture:
full process tree for vscode:
process 10760 haw this cmd:
C:\Users\V\AppData\Local\Programs\Microsoft VS Code\Code.exe" --type=utility --utility-sub-type=node.mojom.NodeService --lang=en-US --service-sandbox-type=none --video-capture-use-gpu-memory-buffer --user-data-dir="C:\Users\V\AppData\Roaming\Code" --standard-schemes=vscode-webview,vscode-file --enable-sandbox --secure-schemes=vscode-webview,vscode-file --cors-schemes=vscode-webview,vscode-file --fetch-schemes=vscode-webview,vscode-file --service-worker-schemes=vscode-webview --code-cache-schemes=vscode-webview,vscode-file --field-trial-handle=1752,i,8082937429188075690,5573675051187549027,262144 --enable-features=DocumentPolicyIncludeJSCallStacksInCrashReports,EarlyEstablishGpuChannel,EnableTransparentHwndEnlargement,EstablishGpuChannelAsync --disable-features=CalculateNativeWinOcclusion,FontationsLinuxSystemFonts,ScreenAIOCREnabled,SpareRendererForSitePerProcess,WinDelaySpellcheckServiceInit --variations-seed-version --mojo-platform-channel-handle=3684 /prefetch:8
Steps To Reproduce
Create project:
mkdir QwertyProject
mkdir src
cd QwertyProject/src
dotnet new console
Open folder QwertyProject in VsCode
Wait until project loaded
Try rename src folder in expolorer
Expected Behavior
Maybe my memory is failing me, but this didn't happen before. I could easily move folders and rename projects. Now it's impossible. If I want to move a project to another folder, I have to close the solution or vscode
Environment Information
os: win10
vscode: 1.103.2
devkit: 1.50.33
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue using the reported Windows 10, VS Code 1.103.2, Dev Kit 1.50.33 setup and the provided mkdir/dotnet new console steps. Inspect the file-lock evidence from Resource Monitor and the VS Code process while the solution is loaded; done means the src folder can be renamed or moved without closing the solution or VS Code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, vscode
- Domain
- devtools, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100