First of all drop the dll-file(s) you've created into the bin folder of your umbraco installation. If they are dependant on other binaries you need to drop these as well into the bin folder.
Next open the xsltExtensions.config file and add the extension like this:
Problem register my own library
Hi All. I created a .Net libary project. It looks like below:
namespace MyNamespace
{
public class XXX
{}
}
In the umbraco, I try to register this dll file and call it inside my template like below:
<%@ Import Namespace="MyNamespace" %>
<script runat="server" Language="C#">
protected void Page_Load(object sender, EventArgs e)
{
}
</script>
Can anyone tell me how I can add the reference of my dll file into umbraco? I try "xsltExtensions.config", but it does not seems working.
Thank you
jing
First of all drop the dll-file(s) you've created into the bin folder of your umbraco installation. If they are dependant on other binaries you need to drop these as well into the bin folder.
Next open the xsltExtensions.config file and add the extension like this:
Create a new xslt-file and the extension will be added correctly. You can use it like this:
is working on a reply...