Fix Code Style issues on Build

There are 3 issues at play here:

1. XAML files placed inside C# files, leading to dotnet rules not applying to C# files.

2. Code style analyzer not matching the compiler's version.

3. Unrelated but warning for missing Appx bundling platforms appears for a sample UWP project.

This patch fixes all of that.
このコミットが含まれているのは:
Nirmal Guru authored and Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 5a942b208b
コミット dfbed35179
3ファイル変更
+9 -8

検索条件に一致するファイルはありません

+2 -1
ファイルの表示
@@ -18,6 +18,7 @@
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WindowsXamlEnableOverview>true</WindowsXamlEnableOverview>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
<AppxBundlePlatforms>x64;ARM64</AppxBundlePlatforms>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
@@ -252,7 +253,7 @@
<PropertyGroup>
<PreBuildEvent>powershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive -File $(SolutionDir)\build\CreateBlankAppCenterToken.ps1</PreBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>