Adding Source Code to Visual Studio 2012 Project

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
mbartens
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 107
Joined: Mon Mar 09, 2015 3:34 am

Adding Source Code to Visual Studio 2012 Project

Post by mbartens » Mon Mar 16, 2015 7:36 am

Just purchased the source and I'd like to have the source code and website all in one solution to aide in debugging. Hopefully this is possible.
I tried opening up my web solution and adding the product files for the source.

I'm trying different things, getting different errors. Is there a set of instructions on how to properly set this up?
May

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Adding Source Code to Visual Studio 2012 Project

Post by Katie » Mon Mar 16, 2015 11:19 am

Here is a link to a different forum which should help you -

viewtopic.php?f=65&t=18071
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

mbartens
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 107
Joined: Mon Mar 09, 2015 3:34 am

Re: Adding Source Code to Visual Studio 2012 Project

Post by mbartens » Tue Mar 17, 2015 3:51 am

I'm still a little confused. Does the source and the website need to be run as different solutions ?

I was trying to work with one solution that had the website and source code.
May

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Adding Source Code to Visual Studio 2012 Project

Post by mazhar » Tue Mar 17, 2015 4:16 am

Simply copy all the contents of source code archive to same folder where you have website and its solution. Then open website solution in Visual Studio and use Add Existing project command and include CommerceBuilder, CommerceBuilder.UI, CommerceBuilder.WebApi projects to same solution. Now you should be able to make things work under same solution.

mbartens
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 107
Joined: Mon Mar 09, 2015 3:34 am

Re: Adding Source Code to Visual Studio 2012 Project

Post by mbartens » Tue Mar 17, 2015 5:44 am

So I added all the projects in the order you listed.
I modified a file in CommerceBuilder so I compiled it then copied the CommerceBuilder.dll to the Website bin folder and now it's saying
Error 1 The type or namespace name 'ShopByChoice' does not exist in the namespace 'CommerceBuilder.Search' (are you missing an assembly reference?) C:\inetpub\wwwroot\Website\App_Code\PageHelper.cs 823 52 C:\...\Website\


Any ideas?
May

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Adding Source Code to Visual Studio 2012 Project

Post by mazhar » Tue Mar 17, 2015 7:59 am

Confirm in CommeceBuilder project under Search Namespace exist a file called ShopByChoice.cs

mbartens
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 107
Joined: Mon Mar 09, 2015 3:34 am

Re: Adding Source Code to Visual Studio 2012 Project

Post by mbartens » Tue Mar 17, 2015 8:36 am

As it turns out I had the wrong version of the source. Thank you for your help!
May

Post Reply