bleroy / Nwazet.Commerce

Idiomatic commerce module for Orchard CMS.
BSD 3-Clause "New" or "Revised" License
26 stars 21 forks source link

Unable to compile #28

Closed bleroy closed 8 years ago

bleroy commented 10 years ago

Originally reported by: Balderdash Codswallop (Bitbucket: Balderdash, GitHub: Balderdash)


New to Orchard so sorry in advance, if this is NOT the place to poste my issue. Here is what I did:

Downloaded Orchard 1.7.2 Open in VS 2012 Ultimate with Update 3 and compiled and execute the code F5 in VS and setup the new Orchard site using default recipe Added the Module Nwazet.Commerce and enabled all feature Nothing Appears on the dashbord menu :-( even if I sign out and sign in

stopped VS debugging Noticed the Module download was not included in the solution Modules folder so included it Compilation now gave this error:

The type or namespace name 'MediaPickerField' could not be found (are you missing a using directive or an assembly reference?) D:\Projects\OrchardTest\src\Orchard.Web\Modules\Nwazet.Commerce\Controllers\ShoppingCartController.cs 71 37 Nwazet.Commerce

Can see this bug already listed on this site where you suggest to download the correct version from the branch for the CMS being used.

I therefore downloaded the latest version ( https://bitbucket.org/bleroy/nwazet.commerce/get/0b1de3326ff0.zip) and replaced the modules\Nwazet.Commerce in my VS solution

Now I gets lots of error like this:

'Nwazet.Commerce.Models.StripeSettingsPart' does not contain a definition for 'Retrieve' and no extension method 'Retrieve' accepting a first argument of type 'Nwazet.Commerce.Models.StripeSettingsPart' could be found (are you missing a using directive or an assembly reference?) D:\Projects\OrchardTest\src\Orchard.Web\Modules\Nwazet.Commerce\Models\StripeSettingsPart.cs 10 31 Nwazet.Commerce

Obviously as I am new to Orchard I am doing someone wrong, so can someone point me the right direction so I can make this Module compile and work.


bleroy commented 10 years ago

Original comment by Bertrand Le Roy (Bitbucket: bleroy, GitHub: bleroy):


No such plan, no, sorry. I'm building this module for my own needs, and I don't have much time to maintain more than one version. With 1.8 around the corner, it makes less and less sense anyway. Your alternative is to sync your clone of the repository to the latest 1.7-compatible changeset (it's clearly labeled as such iirc).

bleroy commented 10 years ago

Original comment by Balderdash Codswallop (Bitbucket: Balderdash, GitHub: Balderdash):


Any plans to make it work with 1.7.2 in the near future? Any alternative solution that do work with 1.7.2?

bleroy commented 10 years ago

Original comment by Bertrand Le Roy (Bitbucket: bleroy, GitHub: bleroy):


The current latest code works with the 1.x branch of Orchard, not 1.7.2