I just started to implement a new payment gateway by using the payment-provider-template project from Vendr github. Anyway, how to build the project into a package? I try to build an Umbraco package from the Build.cmd file, but I got this error:
...\build\_tools\GitVersion\GitVersionTask.targets(62,9): error : DirectoryNotFoundException: Can't find the .git directory in [...\build\Build.proj]
...\build\_tools\GitVersion\GitVersionTask.targets(62,9): error : at GitVersion.GitPrep
arer.GetDotGitDirectoryInternal() [...\build\Build.proj]
...\build\_tools\GitVersion\GitVersionTask.targets(62,9): error : at GitVersion.GitVers
ionCalculator.CalculateVersionVariables() [...\build\Build.proj]
Have you deleted your .git folder? The payment provider template uses GitVersion to dynamically set the version number of your provider. If it can't find the git folder it will throw this error.
Build Payment Provider Package
Hi Matt,
I just started to implement a new payment gateway by using the payment-provider-template project from Vendr github. Anyway, how to build the project into a package? I try to build an Umbraco package from the Build.cmd file, but I got this error:
ps: '...' is the path to the project folder
Hi Nalysa
Have you deleted your
.git
folder? The payment provider template uses GitVersion to dynamically set the version number of your provider. If it can't find the git folder it will throw this error.Matt
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.