Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error MSB4018: The "Microsoft.Build.Tasks.Git.LocateRepository" task failed unexpectedly. #262

Closed
mattkoch614 opened this issue Dec 7, 2018 · 1 comment
Assignees
Labels
Bug Bug bug bug.
Milestone

Comments

@mattkoch614
Copy link

Describe the bug
After cloning this project locally, when building the Microsoft.Health.Fhir.Web project on a Mac using Visual Studio 2019 preview, I receive the following error:

error MSB4018: The "Microsoft.Build.Tasks.Git.LocateRepository" task failed unexpectedly.

To Reproduce
Steps to reproduce the behavior:

  1. Clone Repo
  2. Build
  3. Error occurs

Expected behavior
No build errors occur.

Actual behavior
A build error occurs.

I'm not exactly sure what this error refers to.

@brendankowitz
Copy link
Member

This is caused by the Microsoft.SourceLink.GitHub package, there are references to an open issue around: dotnet/sourcelink#155

@cunninghamjc cunninghamjc added the Bug Bug bug bug. label Dec 7, 2018
@cunninghamjc cunninghamjc added this to the 1901 milestone Dec 7, 2018
Ivanidzo4ka pushed a commit that referenced this issue Feb 18, 2021
It was disabled in #262, but instead of been disabled only for OSx it was never set to be true at first place, so it was off for all platforms.
Regarding OSx it looks like bug was fixed somewhere around 2019 (dotnet/sourcelink#288)
Ivanidzo4ka pushed a commit that referenced this issue Feb 19, 2021
It was disabled in #262, but instead of been disabled only for OSx it was never set to be true at first place, so it was off for all platforms.
Regarding OSx it looks like bug was fixed somewhere around 2019 (dotnet/sourcelink#288)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug bug bug.
Projects
None yet
Development

No branches or pull requests

4 participants