Skip to content

Preprocessor blocks UI #7

@lastWords

Description

@lastWords

I noticed the preprocessor only flashes a progress bar after a delay before the "complete" notification is displayed. Looks like the UI is blocked and call to GeneratePreprocessingAsync should be made on a separate thread, i.e.

            line 194: await Task.Run(() => processor.GeneratePreprocessingAsync(preprocessingFile));

Another issue I had at build was a missing resource so I added this to App.xaml:

 <Application.Resources>
    <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
</Application.Resources>

Maybe I am missing some kind of global definition?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions