What is <SubType>Designer</SubType> for in .csproj?
Asked Answered
C

1

9

What is Designer for in .csproj?

I found this post, but the links to some kind of a documentation are broken there, so I am not able to read what this is.

Could someone provide a definition for the SubType, please? Maybe a more in depth explanation.

Cancroid answered 15/1, 2020 at 15:20 Comment(2)
Nothing very special. It helps the IDE to figure out what kind of file this is, beyond what it can figure out from the filename extension. With SubType it knows it is a support file that should be shown as a child of a project item in the Solution Explorer window. And Designer indicates its default action when you double-click it, you get the design-view of the file. Links will be broken, Microsoft is retiring the old schema, best to not pay too much attention to it.Nickles
Good question. It was the only thing that changed in my project file and I was wondering if there was a reason to keep the change and update the file in the repo but it looks like it probably isn't necessary.Alienable
B
0

At least for WPF/UWP/XAMARIN/MAUI project it shows that you can jump from .xaml.cs to .xaml designer via view designer option in the menu (simple shitf+F7 shortcut) can be used. + Hans answer. Menu option view designer

Biegel answered 31/8, 2022 at 7:20 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.