Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: Third Party DLL

  1. #1
    vnr is offline Banned
    Join Date
    Jan 2012
    Posts
    19

    Default Third Party DLL

    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

  2. #2
    vnr is offline Banned
    Join Date
    Jan 2012
    Posts
    19

    Default Third Party DLL Error

    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