CommunityToolkit / CommunityToolkit/Labs-Windows

XAML Style check was failing due to the location of the settings file.

Open
#138 6 comments 0 reactions 0 assignees View on GitHub
CI/pipeline 🔬 dev loop ➰ enhancement help wanted templating
Dominant language
C#
Stars
482
Forks
89
PR merge metrics
No merged PRs in 30d

Description

XAML Style check was failing due to the location of the settings file.
The default behavior for the extension inside VS is for it only to look for a settings file as far as the directory the solution file is in.
The Labs structure puts the global settings file in the root of the repo and so isn't used.
In this location, it won't be used unless a setting is changed in the extension. If `Search to drives root` is set to `true`, the extension **will** find the correct settings and format the XAML as desired.
Without changing this setting, it's likely that issues of XAML formatting in individual experiments are likely to continue to cause CI to fail. :(

_Originally posted by @mrlacey in https://github.com/CommunityToolkit/Labs-Windows/issues/137#issuecomment-1144990117_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.