How to use "Move to resource" in aspx codebehind file

When I click the menu "Move to resource",R# show a error "This project does not contain a available resources file",how to use it? Thank you!

4 comments

Hello George,

When I click the menu "Move to resource",R# show a error "This project
does not contain a available resources file",how to use it? Thank you!

---
Original message URL:
http://www.jetbrains.net/devnet/message/5250653#5250653


You should add new resx file into the project.

Best regards,
Alexander Nesterenko
ReSharper developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Hello Alexander,
     Thank you for your help!
     My project isn't a web application but a web site,when I added a new resx file,the problem still exists.

0

Hello George,

Web Site projects supports resx files only in the special folders: App_GlobalResources
and App_LocalResources.
Also you could move attribute value of server tag from aspx files.

Best regards,
Alexander Nesterenko
ReSharper developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Hello Alexander,
     Yes,you are right.But I think if it is supported  in codebehind files,so much the better.
     Thank you for your answer and help!

0

Please sign in to leave a comment.