Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nalysa 25 posts 165 karma points
    Oct 01, 2020 @ 04:27
    Nalysa
    0

    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:

    ...\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]

    ps: '...' is the path to the project folder

  • Matt Brailsford 2848 posts 14796 karma points MVP 7x c-trib
    Oct 02, 2020 @ 08:23
    Matt Brailsford
    100

    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

Please Sign in or register to post replies

Write your reply to:

Draft