Posts Tagged ‘Sharepoint 2010’

How To Get The Commerce Server Extensibility Kit Deployment Friendly

Written by Brad Foley. Posted in Commerce Server

When you first start out developing for Commerce Server 2009 R2, you notice there are quite a large amount of code that they provide you to get started with.

Where To Start:
First you need to find the CommerceSharePointExtensibilityKit.zip file located at C:Program Files (x86)Microsoft Commerce Server 9.0Extensibility Kits
In this file you’ll see two Visual Studio solution files. I’m a fan of VS2010, so we’ll work with that, although it isn’t what these solutions were meant for.

Open the SharePointCommerce solution. Allow Visual Studio to do it’s conversion. You’ll now need to add the two other projects Common and SharePointCommon. They are located in the named directories from the base solution directory, you shouldn’t have any issues finding them.

Create your own SNK file:
Create a small console application with a SNK of your own choosing. Add signing to the project, then retrieve the PublicKeyToken for later use.

Replace the SNK file:
Copy your SNK file over the built in file MSSharedLibSN1024.snk, don’t delete rename, this will just create more work for you later.

Perform the following Search and Replace Operations within all files in the solution:

Search For:
Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35

Replace With:
Version=1.0.0.0, Culture=neutral, PublicKeyToken=<YourKeyHere>

Search For:
Culture=Neutral, Version=1.0.0.0, PublicKeyToken=31bf3856ad364e35

Replace With:
Culture=Neutral, Version=1.0.0.0, PublicKeyToken=<YourKeyHere>

Manually Edit this file:
CommerceSharePointExtensibilityKitSharePointCommonFeatureActivationCommerceFeatureActivationJobDefinition.cs Line: 1836
"Microsoft.CommerceServer.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=<YourKeyHere>

Replace with:
"Microsoft.CommerceServer.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

Now you will be able to build the entire solution, create the three WSP’s used by the custom installer, and use their handy tool to provision the site.

E-Commerce With SharePoint 2010

Written by Brad Foley. Posted in Commerce Server, General

I will be speaking at IT Camp Saturday in Ft Lauderdale on July 23rd. This session will cover the basics of Commerce Server 2009 R2 and SharePoint 2010, with emphasis on Business User’s Content Management and Catalog Management. I will be entertaining questions and presenting a demonstration of key features. Here is the link to the session, and the link to registration.