I have the source code to able commerce. Currently using 7.0.4 and I was modifying the source to support slider input controls. However after I make my changes and I try and compile the source I am receiving the following compilation error:
Error 1 Could not load referenced assembly "..\Website\bin\CommerceBuilder.Data.dll". Caught a BadImageFormatException saying "Could not load file or assembly 'C:\Websites\AbleCommerce\Website\bin\CommerceBuilder.Data.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.". C:\Websites\AbleCommerce\CommerceBuilder\ResGen CommerceBuilder
Also I am using vs 2010 and I have the .net SDK installed. Has anyone else encountered this error?
error compiling source
Re: error compiling source
for anyone else out there this seems to be an issue with using vs 2010 so back to vs 2008 i go.
Re: error compiling source
Ouch.sdf wrote:seems to be an issue with using vs 2010 so back to vs 2008 i go
I just received VS 2010 32-bit but haven't loaded it up yet. Is VS 2010 worth moving from VS 2008? (aside from your current compile issue of course

Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: error compiling source
I haven't compiled the source code - if we need to change something, we lift the code out of the source code and then put in a class or compile. I have been able to compile individual websites in VS 2010 after I changed the target framework to .net 3.5.
Joe, I can't remember all the benefits of 2010 because I've got devexpress stuff installed also. I know it's got better features for working in jQuery.
BTW, You can get a Microsoft ActionPak for Develop and Design for $429 a year and that includes 10 licenses to a lot of software and 3 licenses to VS 2010. You have to pass an evaluation (not hard- but make sure you take the right one - I did the one for the other ActionPack first), enter your profile info with MS, including your website address ( to make sure your business is for real), and pay the price. You get Office 2010, SQL Server 2008, Windows 7, Windows 2008 and on and on.
https://partner.microsoft.com/US/progra ... scriptions
Joe, I can't remember all the benefits of 2010 because I've got devexpress stuff installed also. I know it's got better features for working in jQuery.
BTW, You can get a Microsoft ActionPak for Develop and Design for $429 a year and that includes 10 licenses to a lot of software and 3 licenses to VS 2010. You have to pass an evaluation (not hard- but make sure you take the right one - I did the one for the other ActionPack first), enter your profile info with MS, including your website address ( to make sure your business is for real), and pay the price. You get Office 2010, SQL Server 2008, Windows 7, Windows 2008 and on and on.
https://partner.microsoft.com/US/progra ... scriptions
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: error compiling source
There is nothing ground breaking in 2010 unless you want to do .net 4.0. I would have to dig up the knowledge base article I found on this but essentially the dll's built in 2010 will be marked as both 2.0 and 4.0 compliant at an IL level even if you target 2.0 specifically thus confusing the resource file generator. The MS response to this is that is it functioning as designed. So unless all the able commerce source is built in 2010 you will potentially run into issues. There may be a work around to this that I did not find of course but the easy fix was to reload 2008 onto my system.
For my modifications I am changing some enumerations (KitInputType) and doing some work in KitComponent in order to add the slider seamlessly, so shoe horning the changes in through custom tables or outside the back end code was not going to work with out some larger headaches
Just a heads up to anyone else who might run into this.
For my modifications I am changing some enumerations (KitInputType) and doing some work in KitComponent in order to add the slider seamlessly, so shoe horning the changes in through custom tables or outside the back end code was not going to work with out some larger headaches
Just a heads up to anyone else who might run into this.