Embed Resource. I can't figure this out.
-
Hello, I have an assembly with customs controls, classes and handlers.I am creating it as an ASP.NET 2.0 VS2005 Web Project This one one of my handlers: Namespace Web Public Class SiteMap : Implements IHttpHandler Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest Dim xslDoc As XslCompiledTransform = New XslCompiledTransform xslDoc.Load(Page.ClientScript.GetWebResourceUrl(Me.GetType, "MyProjectNamespace.Web.SiteMap.xsl")) >>> ERROR End Sub ... I get the error "Page is not declared". I also have the code line " " in my AssemblyInfo.vb file. And I set the Build Action of "SiteMap.xsl" to "Embedded Resource". I have been reading documentation in internet but I can't find the solution. Could someone help me out? Thank You, Miguel