aspx.cs files don't have R#support in 210

It seems that aspx.cs files don't have aspx.cs support from R#.
Thank you,
Shimon.


9 comments
Comment actions Permalink

Same here

Best Regards,
---
Laurent Kempé - laurent.kempe@techheadbrothers.com
Tech Head Brothers - http://www.TechHeadBrothers.com
Blog - http://weblogs.asp.net/lkempe

It seems that aspx.cs files don't have aspx.cs support from R#.
Thank you,
Shimon.



0
Comment actions Permalink

Shimon,

What version of VS do You use?
What is 'Build Action' type of your .aspx.cuss files?
What happens if You close and reopen the file?

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink


"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:dls3mf$u1e$1@is.intellij.net...

Shimon,

>

What version of VS do You use?

VS2005 - Release.

What is 'Build Action' type of your .aspx.cuss files?

Compile

What happens if You close and reopen the file?

No Changes.

>

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"



0
Comment actions Permalink

some investigations:

1. Create new empty WebForm with a default form runat="server" id="form1".
2. form1 is seen by ReSharper IntelliSense as it should in code behind file.
3. Add some control (e. g. asp:textbox runat="server" id="btnSubmit").
4. btnSubmit is not seen (closing/opening doesn't help). The VS IntelliSense after some time (couple of seconds) "catches" newly created control, but R# doesn't.

0
Comment actions Permalink

Anton,

some investigations:

>

1. Create new empty WebForm with a default form runat="server" id="form1".
2. form1 is seen by ReSharper IntelliSense as it should in code behind
file.
3. Add some control (e. g. asp:textbox runat="server" id="btnSubmit").
4. btnSubmit is not seen (closing/opening doesn't help). The VS
IntelliSense after some time (couple of seconds) "catches" newly created
control, but R# doesn't.


Thanks for Your feedback. Some more questions:

Have You created control in designer or typed in?
What VS version do You use?

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

Have You created control in designer or typed in?

typed in

What VS version do You use?

VS 2005 final team suite + R# build 210

0
Comment actions Permalink

Anton,

Immediately after the form is created, R# does not work over file due to
some missing events from VS.It is indicated by absence of gutter at the
right edge of the editor frame. In the case if You type, R# does not get any
notification, BUT if You CLOSE the file and REOPEN it, R# will get the
necessary notification and start working over the file.
In the case typing will be processed properly.

Moreover, if You type "<asp:textbox runat=server id=my" and hit ctrl+space,
You'll get it autocompleted to myTextBox.

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

Yeah, seems to be that way, but there's one remark:

after being reopened the code behind still doesn't "catch up" created controls. Switching between code behind/html makes no sense (the gutter's already in place in html view), but... typing a letter somewhere in html view makes code behind "catch" controls.

So may be it's possible to update code behind not on typing something but on opening the file?

0
Comment actions Permalink

Anton,

Yeah, seems to be that way, but there's one remark:

>

after being reopened the code behind still doesn't "catch up" created
controls. Switching between code behind/html makes no sense (the gutter's
already in place in html view), but... typing a letter somewhere in html
view makes code behind "catch" controls.

>

So may be it's possible to update code behind not on typing something but
on opening the file?


There was a bug in incremental reparse. I'm not sure, whether its fix is
included into build 210 or not.

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.