gradle-nuget-plugin icon indicating copy to clipboard operation
gradle-nuget-plugin copied to clipboard

The process cannot access the file 'fileContent.lock' because it is being used by another process

Open gigi81 opened this issue 4 years ago • 1 comments

Trying to do the same thing as described in #18 with the following nugetSpec task:

nugetSpec {
    nuspecFile = project.file("Package.nuspec")
    nuspec {
        metadata() {
            delegate.version version
            delegate.authors project.authors
        }
    }
}

But I get this error when trying to use the above:

> Task :nugetSpec 
> Task :nugetPack FAILED 
The process cannot access the file 'D:\jenkins\workspace\mybuild\.gradle\4.10.2\fileContent\fileContent.lock' because it is being used by another process. 
FAILURE: Build failed with an exception. 

gigi81 avatar Aug 28 '19 08:08 gigi81

@gigi81 That's weird. Do you reliably/always get it? Seems something Gradle-related

timotei avatar Oct 21 '19 07:10 timotei