3 Replies Last post: Feb 5, 2013 6:06 PM by Alex Berezoutsky  
Chris Puncher Newbie 2 posts since
Jan 29, 2013
Currently Being Moderated

Jan 29, 2013 5:03 PM

VS2005 SP2 ASP.NET problem with ReSharper 7.1.1 C#

Hi,

 

I'm new to the ReSharper party but loving it so far. However I have got one major problem with is so fundamental that I think the problem must be me rather than ReSharper.

 

I have a ASP.NET 2 Web project and in each page there are numerous 'red' issues in the aspx.cs file.

  1. In the using directive System.Data I get 'Cannot resolve symbol Data'. This also occurs for System.Web
  2. This means that the bulk of the code beind is also bright red as it uses classes form the assemblies mentioned above
  3. Oddly string is recognised, but string.IsNullOrEmpty cannot be resolved
  4. The unresolved symbols means that intellisense is useless

 

[Edit: added image to show issue]

Resharper.png

 

Also in the aspx file many of the gridview tags such as Columns, asp:BoundField, HeaderStyle and ItemStyle cannot be resolved

 

I should add that the project compiles and the sites runs without issue.

 

Can anyone assist me please?

 

Chris

Alex Berezoutsky JetBrains 449 posts since
Feb 18, 2011
Currently Being Moderated
Feb 5, 2013 2:25 PM in response to: Chris Puncher
Re: VS2005 SP2 ASP.NET problem with ReSharper 7.1.1 C#

Hello Chris,

 

1. Do you actually have the reference added to your project?

2. Does it affect every single solution, even a new asp.net application?

 

Please lte me know.

Thank you.

Alex Berezoutsky JetBrains 449 posts since
Feb 18, 2011
Currently Being Moderated
Feb 5, 2013 6:06 PM in response to: Chris Puncher
Re: VS2005 SP2 ASP.NET problem with ReSharper 7.1.1 C#

Hi Chris,

 

Well, seems like ReSharper was correct about 'cannot resolve symbol', then :-) Nice to hear that the issue is now solved for you!

 

Thanks!

More Like This

  • Retrieving data ...