
|
If you were logged in you would be able to see more operations.
|
|
|
ReSharper
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)
|
|
|
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
|
|
Description
|
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 |
Show » |
|
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.