Reputation: 5019
I have recently downloaded the latest Quartz.NET (3.0.7) which is maintained using git (I guess). I downloaded the zip file and I intend to use it in a small task. I don't want to commit it back and I don't need it to be pointed to the git repository.
However, when I tried to compile the solution, it complains unable to locate repository containing directory...
for every project in the solution from the task Microsoft.Build.Tasks.Git.targets. So my guess is the build process is trying to call some git-related tasks? But I can't find anything related to git in the source files/configuration. So how can I remove these git-related tasks from the solution/project configuration?
Upvotes: 2
Views: 1379
Reputation: 816
The git-related tasks are caused by a reference to Microsoft.SourceLink.GitHub in the src\Directory.Build.props file.
Instead of trying to remove them, the simplest way to get the build to stop complaining would be to initialize a new git repo for the solution, by running
git init
from a command prompt in the solution directory.
Upvotes: 8