I have a problem with the Ogone provider and noticed a mistake. I've downloaded the Tea-Commerce-Payment-Providers project and now want to rebuild it. However, I can't figure out how to do this.
I see that there's 'ILrepack' and a build.cmd, and I've read that all DLL's should be merged into one, but I just can't figure out how to do this.
You should be able to run the Build.cm file in the root of the project and it should prompt you for how you want to build the solution. The first option is the build mode, which you'll want to build in release mode so type 'r' + Enter, then the next option is how you want to package it, but if you just want the built DLL you can just hit Enter again and it should run through the build process.
Once the build process is complete, inside Artifacts > Files > Bin there should be a series of individual payment provider DLLs but also a combined TeaCommerce.PaymentProviders.dll. This will be the one you want.
Thanks for your quick response. Unfortunately, when I run the build.cmd file I get two lines:
system cannot find the path specified
system cannot find the path specified
WARNING: Project file D:\github\Tea-Commerce-Payment-Providers\Source\http://localhost:56791 cannot be found.
WARNING: Project file D:\github\Tea-Commerce-Payment-Providers\Source\TeaCommerce.PaymentProviders.Klarna\TeaCommerce.PaymentProviders.Klarna.csproj cannot be found.
All packages listed in packages.config are already installed.
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1009: Project file does not exist.
Switch: Build\Build.proj
Press any key to continue . . .
Any ideas? I guess I canremove the Klarna project from the solution, but the other one seems a bit weird.
Yea, it looks like you are using a different version of Visual Studio to me so I guess it's needing you to update the MSBuild path. I think what you've set should be ok.
Not quite sure why the Klarna project isn't found. Which branch are you compiling on? Dev might be the best branch to build on, but I don't think it's behind Master so not sure why that would be erroring 🤔
Rebuilding TeaCommerce.Payment.Providers
Hi,
I have a problem with the Ogone provider and noticed a mistake. I've downloaded the Tea-Commerce-Payment-Providers project and now want to rebuild it. However, I can't figure out how to do this.
I see that there's 'ILrepack' and a build.cmd, and I've read that all DLL's should be merged into one, but I just can't figure out how to do this.
Is there any help available on this?
Regards, Erwin
Hi Erwinvk,
You should be able to run the Build.cm file in the root of the project and it should prompt you for how you want to build the solution. The first option is the build mode, which you'll want to build in release mode so type 'r' + Enter, then the next option is how you want to package it, but if you just want the built DLL you can just hit Enter again and it should run through the build process.
Once the build process is complete, inside Artifacts > Files > Bin there should be a series of individual payment provider DLLs but also a combined TeaCommerce.PaymentProviders.dll. This will be the one you want.
Hope this helps
Matt
Hi Matt,
Thanks for your quick response. Unfortunately, when I run the build.cmd file I get two lines: system cannot find the path specified system cannot find the path specified
My guess was this is due to
So changed that to;
But then I get these:
Any ideas? I guess I canremove the Klarna project from the solution, but the other one seems a bit weird.
Hey,
Yea, it looks like you are using a different version of Visual Studio to me so I guess it's needing you to update the MSBuild path. I think what you've set should be ok.
Not quite sure why the Klarna project isn't found. Which branch are you compiling on? Dev might be the best branch to build on, but I don't think it's behind Master so not sure why that would be erroring 🤔
I am trying to compile the master branch. I'll see if I can find a colleague with VS2017 tomorrow :)
Thanks for your help so far!
We got it to build with VS2017. Thanks!
Awesome!
And thank you for the PR, I'll check it out as soon as I can.
Matt
is working on a reply...