unoplatform / uno.templates

Uno Platform project templates
https://platform.uno/
Other
16 stars 11 forks source link

[Bug] Recommended template has mixed EOLs in XAML files #741

Open Youssef1313 opened 3 months ago

Youssef1313 commented 3 months ago

Current behavior

The EOL around these lines:

      xmlns:local="using:UnoApp4.Presentation"
      xmlns:uen="using:Uno.Extensions.Navigation.UI"
      xmlns:utu="using:Uno.Toolkit.UI"
      xmlns:um="using:Uno.Material"

appear to be \n instead of \r\n like the rest of the file. Looks like a bug from this line:

https://github.com/unoplatform/uno.templates/blob/dfd835bd8c627aa4b65d681b20478a8c5fe4916b/src/Uno.Templates/content/unoapp/.template.config/template.json#L2347

(and similar lines)

Expected behavior

Consistent EOLs

Affected platforms

No response

Template Host

Visual Studio

Host OS

Windows

Template Options

Recommended

Template Version

Latest

Anything else we need to know?

No response