-
Notifications
You must be signed in to change notification settings - Fork 789
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 from git when running build.cmd as admin #1664
Comments
@peter-campora I believe this is now fixed, could you try again? Or can you check you can run |
Yes @dsyme , I don't have any issues with git in the build file anymore, but I do have a new issue with use of fsi.exe in C:\PathTo\visualfsharp\src\scripts\fssrgen.targets(27,5): I'm repairing Visual Studio 15 and I'm going to make sure all of the other software is correctly installed before filing a new ticket. On another (off topic) note, is writing a script file to interact with a built compiler infeasible (I was able to successfully build the open source code base on a fedora machine)? I basically want to instantiate some research ideas that will use the FSharp constraint solver. So I'm trying to just add a script file and load the necessary dll's and source files to just work with the type system, but I've run into some puzzling errors. I just want to make a script to quickly test out the skeleton of the algorithm, for a paper. Thanks, |
It might be better to do this in a fork of the FSHarp.Compiler.Service project (basically the same as this repo but building the compiler as a DLL). The tests show how to use the component. You can gradually then make more things public, strip off signature files etc. according to your hacking needs |
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
Git is installed, as is msbuild and Strawberry Perl
The text was updated successfully, but these errors were encountered: