gulp-msbuild icon indicating copy to clipboard operation
gulp-msbuild copied to clipboard

dll cannot be copied because it is used by another process

Open Nanstop opened this issue 6 years ago • 0 comments

This is definitely not a new issue but lately the success rate of running a gulp task to build my app is lower than 10% (same rate when build on server). Every time we see different dll(s) is/are having this issue. Please help and none of the suggestion on stackoverflow seems to help.

My app is a website built in c# asp.net MVC using VS2017, I have 30~ish projects under the solution and each time the build fails is because those dll(s) is used by one of the projects.

MSBuild\Microsoft\VisualStudio\v14.0\Web\Deploy\Microsoft.Web.Publishing.Deploy.FileSystem.targets(96,5) trys to copy the following dlls and ran into such problem:

Newtonsoft.Json.dll Microsoft.CodeAnalysis.VisualBasic.dll System.Collections.Immutable.dll

I know this plugin is no longer been maintained but would still appreciate any help for this issue.

Nanstop avatar Oct 01 '18 21:10 Nanstop