libgit2 / libgit2/libgit2sharp

Issue when building source code

Open
#1,952 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Description

I am trying to build src code and I get the following error

	Unable to locate repository containing directory 'C:\Temp\\LibGit2Sharp'.	LibGit2Sharp	C:\Users\user1\.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-63127-02\build\Microsoft.Build.Tasks.Git.targets	20	

Any idea how can this be fixed?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the source build and inspect the error reported at Microsoft.Build.Tasks.Git.targets line 20, including how it references C:\Temp\LibGit2Sharp. Compare the build environment and repository path with the project’s documented build requirements; done means the source build completes without this repository-location error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.