-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The process cannot access the file because it is being used by another process #7020
Comments
can you clean |
Cleaning .vs doesn't help (and it is not a part of git). But running the command outside the VS works well, thanks! :) |
Met the same issues. More detail:
|
I meet the same issue by just upgrade Nuget.exe from v3.5 to v4.4+, and it seems the first restore is fine but then the 2nd restore will fail.
|
I'm getting the same errror on our build server after updating the nuget version on the build agents:
Any progress on this issue at all? Is there something I can do other than reverting the nuget versions? |
Does it repro with latest NuGet.exe 4.8.1 (https://dist.nuget.org/win-x86-commandline/v4.8.1/nuget.exe)? If yes, then can someone provide simple repro steps for the issue? |
I'm not in the office at the moment, but this behaviour was seen after performing a self update on nuget yesterday, so I presume that it was the latest. I stopped the issue by reverting to the previous version as it was preventing any builds from running on the server. |
I am seeing this issue with our teamcity build server with nuget 4.9.1 |
I am seeing this issue with out team city build server as well. Nuget v. 4.9.2.5706. Any info about when this might get resolved? |
Is there any new information on this issue? I'm currently contemplating running a second TeamCity agent on the same machine to use our resources a bit more efficiently. Last time we attempted that though, NuGet restoring blew up royally in our faces and we haven't tried this ever since. |
The easiest way close the VS Studio and delete the .vs folder from the project, then open the project again; the publishing problem will be solved. |
NuGet version (4.6.0)
VS version: 15.7.3
I cannot create any NuGet packages anymore (even though that during the same day I did it a couple of times). I get an error that db.lock file is used by another process (which is VSs process ServiceHub.Host.CLR.x86). It doesn´t matter which project from the solution I want to use to create package. Neither removing the file or restarting VS/OS doesn´t help.
The text was updated successfully, but these errors were encountered: