ReSharper doesn't play nice with SharePoint aspx and ascx files. The reason is it can't find any assets where an src attribute is pointing to the 12 hive. An example of this would be when registering other ascx files in a standard rendering template you will often see,
<%@ Register TagPrefix="wssuc" TagName="ToolBar" src="~/_controltemplates/ToolBar.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ToolBarButton" src="~/_controltemplates/ToolBarButton.ascx" %>
Now, ReSharper thinks those files should be included in the current project but they're not, they're deployed in the 12 hive, where at run time, my rendering template (ascx) file can find them with no trouble.
What is the guidance on removing these false positives? Should I add the files to the ignore list? The only problem I have with that is then resharper could miss some other genuine issues. It would be great if there was a way to tell ReSharper that this is a SharePoint file so any src attributes which reference the various sharepoint locations (such as layouts, controltemplates...) would be ignored but I could still benefit from ReSharper watching over the rest.