Copied to clipboard

Flag this post as spam?

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


  • Rizwan 28 posts 138 karma points
    Jun 21, 2021 @ 09:09
    Rizwan
    0

    Build Umbraco Package Vendr Checkout

    Dear Expert,

    I have downloaded the vendr checkout and make some changes to solution and build the project. when i execute the build.cmd file from vs2019 command prompt it throws an error. enter image description here

    Thanks

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Jun 21, 2021 @ 09:14
    Matt Brailsford
    0

    Hi Rizwan,

    The likely culprit is the path to your MSBuild executable. You might want to edit the build.cmd file and double check the path used in our script which is

    %programfiles(x86)%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\amd64\MsBuild.exe
    

    If your MSBuild is located elsewhere, you'll need to update this path.

    Matt

  • Rizwan 28 posts 138 karma points
    Jun 21, 2021 @ 09:28
    Rizwan
    0

    Dear Matt,

    Thanks for quick reply, i have changed the path and try to run build.cmd and getting the below errors. enter image description here

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Jun 21, 2021 @ 09:31
    Matt Brailsford
    0

    What version of Visual Studio are you actually using?

  • Rizwan 28 posts 138 karma points
    Jun 21, 2021 @ 09:32
    Rizwan
    0

    i am using Version 16.8.4

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Jun 21, 2021 @ 09:33
    Matt Brailsford
    0

    Of which year?

  • Rizwan 28 posts 138 karma points
    Jun 21, 2021 @ 09:34
    Rizwan
    0

    Microsoft Visual Studio Community 2019 Version 16.8.4

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Jun 21, 2021 @ 09:38
    Matt Brailsford
    0

    Ok, how did you download the source for the Vendr Checkout package. Git clone? or did you just download a zip of the source code from Github?

  • Rizwan 28 posts 138 karma points
    Jun 21, 2021 @ 09:40
    Rizwan
    0

    I download zip of the source code and open solution in visual studio.

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Jun 21, 2021 @ 09:42
    Matt Brailsford
    0

    Ok, then I think your computer might have put a block on the zip file, and then, after unzip, on all the dlls.

    Review here for details on how to unblock a file https://thirtysix.zendesk.com/hc/en-us/articles/202921675-How-to-Unblock-a-File-Downloaded-from-an-Email-or-the-Internet You'll likely need to check all the DLL's to see if they are blocked and if so unblock them.

    See if that helps

    Matt

  • Rizwan 28 posts 138 karma points
    Jun 21, 2021 @ 10:05
    Rizwan
    0

    Dear Matt,

    I unblock the zip and extracted the files and build the project. this time i get another error. enter image description here

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Jun 21, 2021 @ 10:22
    Matt Brailsford
    100

    Ahh, ok, so yea, it probably won't work from just downloading the zip.

    Forgot that we use GitVersion to set the version numbers so this is expecting there to be a .git folder.

    You'll have to git clone the repository I'm affraid.

    Matt

  • Rizwan 28 posts 138 karma points
    Jun 21, 2021 @ 10:28
    Rizwan
    0

    Thanks matt for giving me your time. i will clone and get back to you if required.

    Thanks

  • Rizwan 28 posts 138 karma points
    Jun 21, 2021 @ 10:53
    Rizwan
    0

    Dear Matt,

    I can run build.cmd without any errors, but where i can find the checkout as umbraco package to install?

    Thanks

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Jun 21, 2021 @ 11:42
    Matt Brailsford
    0

    It’ll be in the artifacts folder in the root. Baring in mind, you need to pass an option to the build.cmd script that triggers building the pkg file. Read the on screen instructions when you run the build script on how to do that.

Please Sign in or register to post replies

Write your reply to:

Draft