On build there is an error while working in git worktree:
Failed to prepare or find the .git directory in path
MyProject/
-- .git/
-- folder_with_project/
---- MyProj.proj
-- worktree/
-- MySln.sln
Inside worktree the same structure as in MyProject/ directory