ReSharper and aspx

ReSharper does not seem to find any classes in my aspx.cs files (all are red). It works fine in ordinary .cs files. Is this expected behaviour at this time?

/Peter

3 comments
Comment actions Permalink

Peter,

there is a known problem with code-behind files. We'll fix it ASAP.

"Peter Johansson" <peter_typ@yahoo.se> wrote in message
news:15369730.1077703584772.JavaMail.itn@is.intellij.net...

ReSharper does not seem to find any classes in my aspx.cs files (all are

red). It works fine in ordinary .cs files. Is this expected behaviour at
this time?
>

/Peter



0
Comment actions Permalink

As a work-around to this problem, I have found that excluding the file
foo.aspx from the project (which will cause foo.aspx.cs to also be
excluded), and then including the code-behind file foo.aspx.cs, will
cause reshaper to correctly parse the page. The foo.aspx file will also
be implicitly added back to the project.

--Don Fong


Dmitry Shaporenkov(JetBrains) wrote:

Peter,

there is a known problem with code-behind files. We'll fix it ASAP.

"Peter Johansson" <peter_typ@yahoo.se> wrote in message
news:15369730.1077703584772.JavaMail.itn@is.intellij.net...

>>ReSharper does not seem to find any classes in my aspx.cs files (all are


red). It works fine in ordinary .cs files. Is this expected behaviour at
this time?

>>/Peter


0
Comment actions Permalink

Peter, Don,

it seems that we've fixed the problem with unrecognized code-behind files,
and the fix should be included in the nearest EAP build, so please try it.

"don fong" <chris@cstafford.net> wrote in message
news:c1i9ln$nes$1@is.intellij.net...

As a work-around to this problem, I have found that excluding the file
foo.aspx from the project (which will cause foo.aspx.cs to also be
excluded), and then including the code-behind file foo.aspx.cs, will
cause reshaper to correctly parse the page. The foo.aspx file will also
be implicitly added back to the project.

>

--Don Fong

>
>

Dmitry Shaporenkov(JetBrains) wrote:

Peter,

>

there is a known problem with code-behind files. We'll fix it ASAP.

>

"Peter Johansson" <peter_typ@yahoo.se> wrote in message
news:15369730.1077703584772.JavaMail.itn@is.intellij.net...

>
>>ReSharper does not seem to find any classes in my aspx.cs files (all are
>

red). It works fine in ordinary .cs files. Is this expected behaviour at
this time?

>
>>/Peter
>
>
>



0

Please sign in to leave a comment.