History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-25534
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Blocker Blocker
Assignee: Sergey Coox
Reporter: David Zemsky
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Custom profile variables highlighting problem

Created: 06 Aug 06 17:45   Updated: 09 Sep 06 13:33
Component/s: None
Fix Version/s: 2.0.1
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File codebehind.txt (4 kb)
2. Zip Archive CustomProfile.zip (8 kb)


Build: 247
Checked in Build: 248
Old URL: http://www.intellij.net/tracker/resharper/viewSCR?publicId=25534


 Description  « Hide
If I define my own custom profile class (based on ProfileBase) in my ASP.NET, ReSharper doesn't know my custom properties and says "Cannot resolve symbol ...".
(to make it work you have to specify your custom profile type in web.config: <profile defaultProvider="SqlProvider" inherits="UserProfile">)
See the attached solution

 All   Comments   Work Log   Change History      Sort Order:
David Zemsky - 09 Aug 06 15:05
Re: #25534- Custom profile variables highlighting problem
To describe it more in detail - if you just open the solution I posted and open the _Default class (the code behind in the Default.aspx.cs file), you should see some errors in the side stripe and the two method calls in red on the page.

protected void ClearButton_Click(object sender, EventArgs e)

{ Profile.*ClearCategoryHits*(); }

protected void Page_PreRender(object sender, EventArgs e)

{ PreferredCategoriesRepeater.DataSource = Profile.*GetPreferredCategories*(); PreferredCategoriesRepeater.DataBind(); }

These aren't errors - it works, but they are highlighted as errors.