Intellisense for *.ascx.cs in R#6.0
I've found what appears to be a slight issue in R#6.0 recognizing a ASP.NET code-behind file (i.e. *.ascx.cs) declared in the project but improperly set in the corresponding *.aspx or *.ascx file (i.e. in its <%@ Control ... %> statement); it is apparently not recognized as a valid C# or VB file - no refactoring options, no keyboard shortcuts, no highlighting, etc. I'm thinking it should at least recognize the file as containing code - ideally, it would offer a fix/refactor for the control statement. Fixing the control statement manually fixes the problem. Not a huge issue, but it did have me a little puzzled for a while...
Eric
Please sign in to leave a comment.
Hello Eric,
Could you please attach a small sample solution demonstrating how the code
behind files were improperly set? Do I understand correctly that Visual Studio
would built and run the web site/application in this case? Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"