Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

How can I apply the preprocessor to a root level element that already has a namespace? #12

@mrbedo

Description

@mrbedo

For example, when I want to exclude MyCustomWindow from compiling:

<myns:MyCustomWindow
    x:Class="My.Namespace.MyCustomWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:myns="clr-namespace:My.Namespace"
    xmlns:IF_DEBUG="condition:DEBUG"
    mc:Ignorable="d IF_DEBUG">
</myns:MyCustomWindow>

How would I do that? <IF_DEBUG:myns:MyCustomWindow??? wouldn't work in wpf.

Otherwise, great tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions