We have built a DLL(using c#) outside storefront and want to access this DLL in XML packages.
anyone know how to call and access this?
Thanks in Adnavce
VNR
We have built a DLL(using c#) outside storefront and want to access this DLL in XML packages.
anyone know how to call and access this?
Thanks in Adnavce
VNR
1) I created a dll(XSLTExtensions.dll) and placed this dll in bin folder
2) Web.config change under xsltobjects
<add name="My_Extensions" namespace="urn:myExtensions" type="XSLTExtensions.CustomXSLT, XSLTExtensions"/>
but got the following error when I accees my website
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type 'XSLTExtensions.CustomXSLT' from assembly 'XSLTExtensions'.
any clue?
Here is the code
using System;
using AspDotNetStorefrontCore;
public class CustomXSLT : XSLTExtensionBase
{
public CustomXSLT(Customer cust, int skinID, System.Collections.Generic.Dictionary<string, EntityHelper> entityHelpers)
: base(cust, skinID, entityHelpers)
{ }
public CustomXSLT(Customer cust, int skinID)
: base(cust, skinID)
{ }
public string Test()
{
return "XSLT...";
}
}
OR
is there any documentation to use the third party dll?
Thanks in Advance
VNR
Last edited by vnr; 01-11-2012 at 03:05 AM. Reason: attachment