Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-293485: XAML: XmlnsDefinition should not be used when inside the same assembly

$
0
0
Reporter Julien Lebosquain (mrjul) Julien Lebosquain (mrjul)
Created Apr 10, 2012 12:38:22 AM
Updated Apr 11, 2012 1:17:26 AM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Alexander Shvedov (shvedov)
Subsystem Language - XAML
Affected versions 6.0, 6.1, 6.1.1
Fixed in build No Fixed in build
Support for XmlnsDefinitionAttribute since R# 6 is really nice. However, it's working a little too much. Visual Studio cannot compile a XAML file that uses a XmlnsDefinition from the same project since it doesn't know it's here until the assembly is compiled. This isn't a problem for R#.

  • R# shouldn't use XmlnsPrefix/XmlnsDefinition for XAML type import, only when they're in the same project as the currently edited file. It's quite annoying to have to remove the XmlnsDefinition to add the namespace at hand.
  • Additionally, R# could flag those usages as errors.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>