question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows file path not supported?

See original GitHub issue

I’m trying to clone a repo

var repoUrl = "xxx";
var repoDir = "D:\\a";
Repository.Clone(repoUrl, repoDir);

But it says:

Unhandled Exception: LibGit2Sharp.NotFoundException: Path is not a directory ‘D:’: The filename, directory name, or volume label syntax is incorrect.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
taspeotiscommented, May 7, 2016

I hit this issue and now I’m waiting for v0.22 of libgit2sharp.

It’s easily worked around though: instead of X:\Temp use X:\Temp\.

0reactions
ethomsoncommented, May 7, 2016

LibGit2Sharp v0.22 was already released.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - "The given path's format is not supported."
The given path's format is not supported. Permission on the folder is set to full access to everyone and it is the actual...
Read more >
"Windows cannot access the specified device, path, or file ...
Troubleshooting error message: Windows cannot access the specified device, path, or file. You may not have the appropriate permission to access the item....
Read more >
Error: The Given Path's Format Is Not Supported
This error message is caused when a report is saved in OneDrive or OneDrive for Business, and OneDrive is not configured to synchronize...
Read more >
File path contains symbols that are not supported by the ...
I'm on a linux system with Seafile-client (8.0.2) and I'm getting a lot of errors in my libraries resulting in they don't get...
Read more >
"The given path's format is not supported" when using start ...
Getting "TerminatingError(Out-File): "The given path's format is not supported" when using start/stop-transcript. Hello everyone. I'm hoping you ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found