As indicated by xmlns in class without namespace



  • There's no class. namespaceI had to get him out of the chaml.

    <Window xmlns:local="clr-namespace:?????"/>
    

    What to write xmlns:local To get to class without namespace



  • I'm working like this:

    <Window x:Class="GlobalNamespaceWpf.MainWindow"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:local="clr-namespace:"
            Title="MainWindow" Height="350" Width="525">
        <Grid>
            <local:TestControl/>
        </Grid>
    </Window>
    

    Intellisense fights xmlns:local="clr-namespace:"but the project is being compiled and launched without problems.

    However, I have not been able to refer to control from the original namespace in this way. Other A kit.


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2