asp.net - Error loading xslt file in c# -
i have asp.net-mvc web application. controller has class has method transform xml using xslt file. in xslcompiledtransform.load, passing uri of xslt file. xslt file under models->services. when run application locally, throwing me filenotfoundexception says "could not find c:\program files (x86)\iisexpress\namespace.models.services.example.xslt". code snippet looks like,
xslcompiledtransform xsltransformrequest = new xslcompiledtransform(); xsltransformrequest.load("namespace.models.services.example.xslt");
could guide me through this?
Comments
Post a Comment