Skip to content

WinAppSdk app templates should generate code following coding best practices #1823

Closed as not planned
@ChrisGuzak

Description

@ChrisGuzak

Describe the bug

@angelazhangmsft updated the templates for the WinAppSDK samples in this PR. These types of changes should be made to the templates that generate the WinAppSdk Apps.

Steps to reproduce the bug

  1. in VS create a new WinAppSdk C++ app using the templates
  2. inspect the code

Expected behavior

expected: the code follows best practices, for example using

namespace winrt
{
    using namespace Microsoft::UI::Xaml;
}

instead of

using namespace winrt;
using namespace Microsoft::UI::Xaml;

Screenshots

No response

NuGet package version

No response

Packaging type

No response

Windows version

No response

IDE

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

area-DeveloperToolsIssues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integration

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions