resharper naming rules for xaml namespaces
In Resharper 5.0 when I use a type in XAML that I don not have a nampsace include for yet, it automatically adds the namespace as follows:
xmlns:ViewModel="clr-开发者_运维百科namespace:MyNameSpace.ViewModel"
How can I force it to use abreviations like this:
xmlns:vm="clr-namespace:MyNameSpace.ViewModel"
As mentioned in this article "XAML Support Refresh in ReSharper 7.1", the XAML support is improved, and fix a large number of issue, including ones for namespace.
For instance, this related bug (resharper5.x) "Code Issue "Redundant XAML namespace alias" is wrong if the namespace is used as a parameter for a markup extension." has been fixed in ReSharper 7.1.
精彩评论