microsoft / TemplateStudio

Template Studio accelerates the creation of new WinUI 3, WPF, and UWP apps using a wizard-based experience.
Other
2.65k stars 459 forks source link

New Page (Template Studio) WinUi 3 - tags helper #4680

Closed MarekPio closed 1 year ago

MarekPio commented 1 year ago

Describe the bug

When I create a new Template Studio Page (WinUi3) the tag helper does not work.

For Example I write "<TextBox" and it shows me "!{CDATA[]" cdata

If I create a Page without Template Studio there is no problem. One of Template Studio Page fixed itself, but I do not remember how to do it. And now I want to fill a new page and have a problem with tag helper.

The "broken" Page has Properties xamlproperties

The working page does not have any properties in this windows. The pages I have created a few days ago and left them alone now are working correctly.

To Reproduce

  1. Create new Template Studio Page
  2. Open the Page
  3. Write e.g. <TextBlock
  4. See error: "!{CDATA[]" instead of xaml marks (tags?)

Additional context

No response

Applies to the following platforms:

About your setup

MarekPio commented 1 year ago

The computer restart fixed the problem. If i restart Visual Studio only there is a problem.

I need to do it each time for a new Page. It would be good to fix this.