Skip to content

projbook creates a lock on msbuild.exe on tfs build agents #152

@robinbihun

Description

@robinbihun

i'm trying to find out how to get more details for you since i dont have full access to our build environment; however, it appears that projbook projects in the solution build successfully but never release and even after the build is completed in TFS (successful or failure) msbuild.exe is "stuck" running. This causes the next build under that build configuration to fail as it cannot reset the build directory.

Steps to reproduce:

  1. Create a solution which has a projbook project.
  2. Create a build configuration in TFS2015 that builds the solution
  3. Checkin your solution and build using that configuration (should be successful)
  4. Trigger a new build using that same configuration, build should fail due to an "access is denied" error on some file in the directory.
  5. Restart the build agent (or kill the msbuild process).
  6. Remove the projbook project from your solution
  7. Check-in the changes and trigger a new build using the same configuration (should be successful again)
  8. Trigger a new build using that same configuration, this time it will be successful.

Using the latest version of projbook (1.0.6) and .NET 4.6.1 on VS2015 Enterprise edition and TFS (on prem) 2015 update 3.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions