UiPath Studio Git Error

Hi Team,

Why does UiPath studio keep showing “LibGit2SharpException:directory nesting too deep(100)” every time i save the project, even though iam not actively using source control in studio??

Thanks !

Hi @Bob01

Try This

1 Like

@Bob01,
UiPath Studio uses Git internally (via LibGit2Sharp) even if you haven’t explicitly enabled source control. If your project is stored in a very deeply nested folder path, LibGit2Sharp hits its directory nesting limit (100) and throws this warning every time Studio scans the project on save.

Moving the project to a shorter path (for example C:\UiPath\ProjectName) or removing any auto-created .git folder in the project root resolves it.

if you are not using Git, try to remove the packages folder from c:\users\username.nuget folder and then move the project to a different location (not onto any shared location but a local location) and then try to reopen the project…

Also delete .git folder inside process if prsent…

Hi @Bob01

Studio always scans Git status on save
Even without active source control, LibGit2Sharp runs please try to
Disabling Git stops the scan and no directory nesting too deep (100) error

Please find disable steps for your reference
Go to studio then home and click on setting
Then open the source control there you can found disable or disconnect git then restart the studio

Cheers

Hi @Bob01

Might be studio’s background source control integration detects a hidden .git folder in a parent directory and fails when scanning a file path that exceeds more levels deep.
Pls move your project locally with short folder structure.

Happy Automation

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.