ASP namespace recognition

When I reference a user control (using @Reference in my page's .aspx file),
the ASP namespace generated by ASP.NET is not recognized by R# but builds in
VS2005 just fine. Is this a known issue? Thanks, Steve

// UserControl.ascx.cs
public partial class UserControl_TestControl : System.Web.UI.UserControl

// Test.aspx
<%@ Page ...
<%@Reference Control="~/UserControls/TestControl.ascx" %>

protected void Page_Load...
// The ASP below is not recognized by R# but fine for VS
ASP.usercontrols_testcontrol_ascx ctl =
LoadControl("~/UserControls/TestControl.ascx") as

1 comment
Comment actions Permalink


Reference directives are not supported still. Could You post a request into

Sergey V. Coox
JetBrains, Inc
"Develop with pleasure!"


Please sign in to leave a comment.