-
Notifications
You must be signed in to change notification settings - Fork 831
Description
Running build.cmd fails with the errors listed in the Repro steps section.
Repro steps
I'm running cmd/powershell as an admin in the visualfsharp-master directory, and when I try to build the fsharp compiler, I get the errors:
"C:\PathTo\visualfsharp-master\src\fsharp-proto-build.proj" (default target) (1) ->
"C:\PathTo\visualfsharp-master\src\fsharp\FSharp.Build-proto\FSharp.Build-proto.fsproj" (Build target) (2) ->
(GenerateSourceLink target) ->
C:\PathTo\visualfsharp-master\src\FSharpSource.targets(552,5): error MSB3073: The command "git config --get remote.origin.url" exited with code 1. [C:\PathTo\visualfsharp-master\src\fsharp\FSharp.Build-proto\FSharp.Build-proto.fsproj]
"C:\PathTo\visualfsharp-master\src\fsharp-proto-build.proj" (default target) (1) ->
"C:\PathTo\visualfsharp-master\src\fsharp\FSharp.Compiler-proto\FSharp.Compiler-proto.fsproj" (Build target) (3) ->
C:\PathTo\visualfsharp-master\src\FSharpSource.targets(552,5): error MSB3073: The command "git config --get remote.origin.url" exited with code 1. [C:\PathTo\visualfsharp-master\src\fsharp\FSharp.Compiler-proto\FSharp.Compiler-proto.fsproj]"
I also see a, "ERROR: The system was unable to find the specified registry key or value.".
Git is installed, and my internet is working.
Expected behavior
A successful build of the compiler
Actual behavior
I get two "error MSB3073: The command "git config --get remote.origin.url" exited with code 1." errors.
Known workarounds
Provide a description of any known workarounds.
Related information
Provide any related information
- Operating system - Windows 10
- Branch - visualfsharp
- .NET Runtime, CoreCLR or Mono Version - .NET 4.6
- Editing Tools (e.g. Visual Studio Version) - VS Enterprise 2015
Git is installed, as is msbuild and Strawberry Perl