Skip to content

[Templates] VS 17.14 Preview 3 C# template missing file-scoped namespace changes #5350

Open
@michael-hawker

Description

@michael-hawker

@haonanttt I just downloaded VS 17.14 Preview 3, I see some of the template changes, but not all of them. The file-scoped namespaces for instance aren't there...? But I see them in main.

Originally posted by @michael-hawker in #4911 (comment)

Seems somehow that only part of a PR made it into a release, I'm pretty confused...

It properly appears in main here:

namespace $safeprojectname$;
/// <summary>
/// An empty window that can be used on its own or navigated to within a Frame.
/// </summary>
public sealed partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}

But in VS creating a new project I see this still:

Image

Note the partial is there still, and I see the other XAML changes and removal of button... it's odd, why isn't this reflecting the code in the repo?

(Also the aka.ms/winui-project-info link I think needs an update as is trying to point somewhere that I think has changed in the docs?)

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions