We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Export to XAML creates incorrect markup

Thread ID:

Created:

Updated:

Platform:

Replies:

104253 Jul 3,2012 10:03 PM Jul 11,2012 03:17 PM Metro Studio 1
loading
Tags: Metro Studio
Administrator [Syncfusion]
Asked On July 3, 2012 10:03 PM

It appears that exporting a project to XAML so it can be included as a resource file generates markup that is invalid. When I add the generated file, I get a bunch of errors about names already being defined.

Here is a snippet of the generated XAML:

 

    <Viewbox x:Key="Media-Pause">
        <Grid Width="48" Height="48" Visibility="Visible">
            <Grid Name="backgroundGrid" Visibility="Visible">
                <Rectangle Fill="#FF000000" Name="Rect" Visibility="Visible" />
                <Ellipse Fill="#FF000000" Name="Fill" Visibility="Collapsed" />
            </Grid>
        </Grid>
    </Viewbox>
    <Viewbox x:Key="Synchronize">
        <Grid Width="48" Height="48" Visibility="Visible">
            <Grid Name="backgroundGrid" Visibility="Visible">
                <Rectangle Fill="#FF000000" Name="Rect" Visibility="Visible" />
                <Ellipse Fill="#FF000000" Name="Fill" Visibility="Collapsed" />
            </Grid>
        </Grid>
    </Viewbox>

The names in bold are what the compiler is complaining about. Until this is fixed, I can't really any of the images other than to include them as actual PNG files, which I would rather not do.

 


Stephen Jebaraj [Syncfusion]
Replied On July 11, 2012 03:17 PM

Hi Scott,

Thanks for reporting this issue.

We have fixed this issue and will update you with the new build before the end of the week through the Direct-Trac incident that you had created.

Best,
Stephen

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;