MahApps / MahApps.Metro

A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
https://mahapps.com
MIT License
9.32k stars 2.45k forks source link

Error GitVersion: Process returned an error (exit code 1). #3399

Closed hamerstandr closed 5 years ago

hamerstandr commented 5 years ago

run build.ps1 error : Cake.exe : Error: One or more errors occurred. At line:1 char:1

GitVersion: Process returned an error (exit code 1).

punker76 commented 5 years ago

@hamerstandr Please provide more information about your issue with compiling the source! Which VS are you using? Did you install the .NET Core preview? Where did you run the build.ps1? At commandline powershell .\build.ps1 or in powershell bash?

thoemmi commented 5 years ago

@hamerstandr Have you cloned the repository or downloaded the sources?

hamerstandr commented 5 years ago

installed the .NET Core preview! and run powershell .\build.ps1

hamerstandr commented 5 years ago

Have you cloned the repository or downloaded the sources?

Yes!

punker76 commented 5 years ago

@hamerstandr The cake script works only with a cloned repository.

INFO [12/12/18 9:11:38:23] ERROR: fatal: not a git repository (or any of the parent directories): .git

Error: One or more errors occurred.
        GitVersion: Process returned an error (exit code 1).
hamerstandr commented 5 years ago

@hamerstandr The cake script works only with a cloned repository.

INFO [12/12/18 9:11:38:23] ERROR: fatal: not a git repository (or any of the parent directories): .git

Error: One or more errors occurred.
        GitVersion: Process returned an error (exit code 1).

@punker76 how cloned repository?