简体   繁体   中英

How to use Resharper to localize XAML strings

I use Reshaper 5.1.1 to extract strings to resource files in my Silverlight app. I want to be able to extract strings in my XAML (like Content or Text properties) - but the Move option under Resharper is never enabled when I am viewing XAML. It does not identify possible text strings for extraction.

I have done extensive searching but can't seem to find much about R# and localizing XAML files. Is it possible, and how can I enable it? (I checked all my settings and there's nothing about XAML and resources).

According to R# support forums , XAML string extraction is only possible in WPF, not Silverlight! This is very annoying... there is another tool called Resource Refactor (or similar) on CodePlex which does the job until R# support SL.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM