unoplatform / uno.templates

Uno Platform project templates
https://platform.uno/
Other
17 stars 10 forks source link

Template of App.xaml should have the comment specified at the right place #852

Closed ArchieCoder closed 1 month ago

ArchieCoder commented 1 month ago

Current behavior

If you add resource where it is said, it won't compile

Resources

Expected behavior

  <Application.Resources>
    <ResourceDictionary>
      <ResourceDictionary.MergedDictionaries>
        <!-- Load WinUI resources -->
        <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
        <!-- Load Uno.UI.Toolkit resources -->
        <ToolkitResources xmlns="using:Uno.Toolkit.UI" />
      </ResourceDictionary.MergedDictionaries>

    <!-- Add resources here -->

    </ResourceDictionary>
  </Application.Resources>
</Application>

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Youssef1313 commented 1 month ago

The fix would go here: https://github.com/unoplatform/uno.templates/blob/main/src/Uno.Templates/content/unoapp/MyExtensionsApp.1/App.xaml