-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
145 changed files
with
10,697 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[*.cs] | ||
|
||
# CA1801: Review unused parameters | ||
# Ignore reasonn: Event listener trigger this rule, resulting in bloated warnings list | ||
dotnet_diagnostic.CA1801.severity = suggestion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<Project> | ||
|
||
<!-- Output paths --> | ||
<PropertyGroup> | ||
<BaseOutputPath>..\..\artifacts\$(Configuration)\</BaseOutputPath> | ||
|
||
<OutputPath>$(BaseOutputPath)\$(MSBuildProjectName)\</OutputPath> | ||
|
||
<!--<BaseIntermediateOutputPath>..\..\artifacts\intermediates\$(Configuration)\$(MSBuildProjectName)\</BaseIntermediateOutputPath>--> | ||
<IntermediateOutputPath>..\..\artifacts\intermediates\$(MSBuildProjectName)\</IntermediateOutputPath> | ||
<GeneratedFilesDir>..\..\artifacts\intermediates\$(MSBuildProjectName)\Generated Files\</GeneratedFilesDir> | ||
</PropertyGroup> | ||
|
||
<!-- Packages needed in every project --> | ||
<ItemGroup> | ||
<!-- Code analyzer --> | ||
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8"> | ||
</PackageReference> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<!-- | ||
CA1303: Do not pass literals as localized parameters | ||
Ignore reason: All strings we use are templates or logging and are in english per design | ||
CA1305: Specify IFormatProvider | ||
Ignore reason: All strings are english--> | ||
|
||
<NoWarn>;$(NoWarn);CA1303;CA1305</NoWarn> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,172 @@ | ||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.29326.143 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{44DBB23E-4C53-4482-A04C-92EE0515150C}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UWPResourcesGallery", "src\UWPResourcesGallery\UWPResourcesGallery.csproj", "{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ResourceModel", "src\ResourceModel\ResourceModel.csproj", "{957B1E0E-D863-41E3-8042-7FAC37A512DD}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{AA684C57-74FA-403E-A3D7-656CC23365C5}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ResoureModelTests", "tests\ResoureModelTests\ResoureModelTests.csproj", "{C2B9B471-9028-46C3-A04E-37DD4B96D059}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ControlTests", "tests\ControlTests\ControlTests.csproj", "{40FCF2F6-2D83-4D02-94FF-57F52A73B462}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AppInteractionTests", "tests\AppInteractionTests\AppInteractionTests.csproj", "{494C8631-7686-4174-9673-026BFEFE1F33}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C6DCF158-E072-48B0-8CB8-E12100A3F218}" | ||
ProjectSection(SolutionItems) = preProject | ||
.editorconfig = .editorconfig | ||
Directory.Build.props = Directory.Build.props | ||
Directory.Build.targets = Directory.Build.targets | ||
EndProjectSection | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|ARM = Debug|ARM | ||
Debug|ARM64 = Debug|ARM64 | ||
Debug|x64 = Debug|x64 | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|ARM = Release|ARM | ||
Release|ARM64 = Release|ARM64 | ||
Release|x64 = Release|x64 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Debug|Any CPU.ActiveCfg = Debug|x86 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Debug|ARM.ActiveCfg = Debug|ARM | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Debug|ARM.Build.0 = Debug|ARM | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Debug|ARM.Deploy.0 = Debug|ARM | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Debug|ARM64.ActiveCfg = Debug|ARM64 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Debug|ARM64.Build.0 = Debug|ARM64 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Debug|ARM64.Deploy.0 = Debug|ARM64 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Debug|x64.ActiveCfg = Debug|x64 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Debug|x64.Build.0 = Debug|x64 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Debug|x64.Deploy.0 = Debug|x64 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Debug|x86.ActiveCfg = Debug|x86 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Debug|x86.Build.0 = Debug|x86 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Debug|x86.Deploy.0 = Debug|x86 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Release|Any CPU.ActiveCfg = Release|x86 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Release|ARM.ActiveCfg = Release|ARM | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Release|ARM.Build.0 = Release|ARM | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Release|ARM.Deploy.0 = Release|ARM | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Release|ARM64.ActiveCfg = Release|ARM64 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Release|ARM64.Build.0 = Release|ARM64 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Release|ARM64.Deploy.0 = Release|ARM64 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Release|x64.ActiveCfg = Release|x64 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Release|x64.Build.0 = Release|x64 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Release|x64.Deploy.0 = Release|x64 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Release|x86.ActiveCfg = Release|x86 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Release|x86.Build.0 = Release|x86 | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6}.Release|x86.Deploy.0 = Release|x86 | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Debug|ARM.ActiveCfg = Debug|ARM | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Debug|ARM.Build.0 = Debug|ARM | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Debug|ARM64.ActiveCfg = Debug|ARM64 | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Debug|ARM64.Build.0 = Debug|ARM64 | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Debug|x64.ActiveCfg = Debug|x64 | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Debug|x64.Build.0 = Debug|x64 | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Debug|x86.ActiveCfg = Debug|x86 | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Debug|x86.Build.0 = Debug|x86 | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Release|ARM.ActiveCfg = Release|ARM | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Release|ARM.Build.0 = Release|ARM | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Release|ARM64.ActiveCfg = Release|ARM64 | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Release|ARM64.Build.0 = Release|ARM64 | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Release|x64.ActiveCfg = Release|x64 | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Release|x64.Build.0 = Release|x64 | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Release|x86.ActiveCfg = Release|x86 | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD}.Release|x86.Build.0 = Release|x86 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Debug|Any CPU.ActiveCfg = Debug|x86 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Debug|ARM.ActiveCfg = Debug|ARM | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Debug|ARM.Build.0 = Debug|ARM | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Debug|ARM.Deploy.0 = Debug|ARM | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Debug|ARM64.ActiveCfg = Debug|ARM64 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Debug|ARM64.Build.0 = Debug|ARM64 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Debug|ARM64.Deploy.0 = Debug|ARM64 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Debug|x64.ActiveCfg = Debug|x64 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Debug|x64.Build.0 = Debug|x64 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Debug|x64.Deploy.0 = Debug|x64 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Debug|x86.ActiveCfg = Debug|x86 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Debug|x86.Build.0 = Debug|x86 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Debug|x86.Deploy.0 = Debug|x86 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Release|Any CPU.ActiveCfg = Release|x86 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Release|ARM.ActiveCfg = Release|ARM | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Release|ARM.Build.0 = Release|ARM | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Release|ARM.Deploy.0 = Release|ARM | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Release|ARM64.ActiveCfg = Release|ARM64 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Release|ARM64.Build.0 = Release|ARM64 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Release|ARM64.Deploy.0 = Release|ARM64 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Release|x64.ActiveCfg = Release|x64 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Release|x64.Build.0 = Release|x64 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Release|x64.Deploy.0 = Release|x64 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Release|x86.ActiveCfg = Release|x86 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Release|x86.Build.0 = Release|x86 | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059}.Release|x86.Deploy.0 = Release|x86 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Debug|Any CPU.ActiveCfg = Debug|x86 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Debug|ARM.ActiveCfg = Debug|ARM | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Debug|ARM.Build.0 = Debug|ARM | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Debug|ARM.Deploy.0 = Debug|ARM | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Debug|ARM64.ActiveCfg = Debug|ARM64 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Debug|ARM64.Build.0 = Debug|ARM64 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Debug|ARM64.Deploy.0 = Debug|ARM64 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Debug|x64.ActiveCfg = Debug|x64 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Debug|x64.Build.0 = Debug|x64 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Debug|x64.Deploy.0 = Debug|x64 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Debug|x86.ActiveCfg = Debug|x86 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Debug|x86.Build.0 = Debug|x86 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Debug|x86.Deploy.0 = Debug|x86 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Release|Any CPU.ActiveCfg = Release|x86 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Release|ARM.ActiveCfg = Release|ARM | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Release|ARM.Build.0 = Release|ARM | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Release|ARM.Deploy.0 = Release|ARM | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Release|ARM64.ActiveCfg = Release|ARM64 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Release|ARM64.Build.0 = Release|ARM64 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Release|ARM64.Deploy.0 = Release|ARM64 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Release|x64.ActiveCfg = Release|x64 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Release|x64.Build.0 = Release|x64 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Release|x64.Deploy.0 = Release|x64 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Release|x86.ActiveCfg = Release|x86 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Release|x86.Build.0 = Release|x86 | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462}.Release|x86.Deploy.0 = Release|x86 | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Debug|ARM.ActiveCfg = Debug|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Debug|ARM.Build.0 = Debug|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Debug|ARM64.ActiveCfg = Debug|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Debug|ARM64.Build.0 = Debug|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Debug|x64.Build.0 = Debug|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Debug|x86.Build.0 = Debug|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Release|ARM.ActiveCfg = Release|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Release|ARM.Build.0 = Release|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Release|ARM64.ActiveCfg = Release|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Release|ARM64.Build.0 = Release|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Release|x64.ActiveCfg = Release|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Release|x64.Build.0 = Release|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Release|x86.ActiveCfg = Release|Any CPU | ||
{494C8631-7686-4174-9673-026BFEFE1F33}.Release|x86.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(NestedProjects) = preSolution | ||
{45C7F2FE-580E-4A64-BD5F-DFF8E21F2EE6} = {44DBB23E-4C53-4482-A04C-92EE0515150C} | ||
{957B1E0E-D863-41E3-8042-7FAC37A512DD} = {44DBB23E-4C53-4482-A04C-92EE0515150C} | ||
{C2B9B471-9028-46C3-A04E-37DD4B96D059} = {AA684C57-74FA-403E-A3D7-656CC23365C5} | ||
{40FCF2F6-2D83-4D02-94FF-57F52A73B462} = {AA684C57-74FA-403E-A3D7-656CC23365C5} | ||
{494C8631-7686-4174-9673-026BFEFE1F33} = {AA684C57-74FA-403E-A3D7-656CC23365C5} | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {751E228E-9AE5-4F15-867D-1FE372A548C1} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
# Universal Windows Platform | ||
# Build a Universal Windows Platform project using Visual Studio. | ||
# Add steps that test and distribute an app, save build artifacts, and more: | ||
# https://aka.ms/yaml | ||
|
||
trigger: | ||
- master | ||
|
||
pool: | ||
vmImage: 'windows-latest' | ||
|
||
variables: | ||
solution: '**/*.sln' | ||
buildPlatform: 'x86' | ||
buildConfiguration: 'Debug' | ||
appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages\\' | ||
stages: | ||
- stage: Build | ||
jobs: | ||
- job: Build_Artifacts | ||
displayName: Artifacts | ||
steps: | ||
- task: NuGetToolInstaller@1 | ||
|
||
- task: NuGetCommand@2 | ||
inputs: | ||
restoreSolution: '$(solution)' | ||
|
||
- task: VSBuild@1 | ||
inputs: | ||
platform: 'x86' | ||
solution: '$(solution)' | ||
configuration: '$(buildConfiguration)' | ||
msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=SideloadOnly /p:AppxPackageSigningEnabled=true' | ||
|
||
- task: PublishPipelineArtifact@1 | ||
inputs: | ||
targetPath: '$(System.DefaultWorkingDirectory)\artifacts\$(buildConfiguration)' | ||
artifact: 'artifacts_$(buildConfiguration)_$(buildPlatform)' | ||
publishLocation: 'pipeline' | ||
|
||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
PathtoPublish: '$(Build.ArtifactStagingDirectory)\AppxPackages\' | ||
ArtifactName: 'appxbundles_$(buildConfiguration)_$(buildPlatform)' | ||
publishLocation: 'Container' | ||
|
||
- stage: Testing | ||
dependsOn: Build | ||
jobs: | ||
- job: Unit_Tests | ||
displayName: Unit Tests | ||
steps: | ||
- task: NuGetToolInstaller@1 | ||
|
||
- task: NuGetCommand@2 | ||
inputs: | ||
restoreSolution: '$(solution)' | ||
|
||
- task: DownloadPipelineArtifact@2 | ||
inputs: | ||
buildType: 'current' | ||
artifactName: 'artifacts_$(buildConfiguration)_$(buildPlatform)' | ||
targetPath: '$(System.DefaultWorkingDirectory)\artifacts\$(buildConfiguration)' | ||
|
||
- task: VSTest@2 | ||
inputs: | ||
testSelector: 'testAssemblies' | ||
testAssemblyVer2: | | ||
**\*ControlTests**.appxrecipe | ||
!**\*TestAdapter.dll | ||
!**\obj\** | ||
searchFolder: '$(System.DefaultWorkingDirectory)' | ||
uiTests: true | ||
|
||
- task: VSTest@2 | ||
inputs: | ||
testSelector: 'testAssemblies' | ||
testAssemblyVer2: | | ||
**\*ResourceModelTests**.appxrecipe | ||
!**\*TestAdapter.dll | ||
!**\obj\** | ||
searchFolder: '$(System.DefaultWorkingDirectory)' | ||
uiTests: true | ||
|
||
- job: Interaction_Tests | ||
displayName: Interaction Tests | ||
steps: | ||
- task: NuGetToolInstaller@1 | ||
|
||
- task: NuGetCommand@2 | ||
inputs: | ||
restoreSolution: '$(solution)' | ||
|
||
- task: DownloadPipelineArtifact@2 | ||
inputs: | ||
buildType: 'current' | ||
artifactName: 'artifacts_$(buildConfiguration)_$(buildPlatform)' | ||
targetPath: '$(System.DefaultWorkingDirectory)\artifacts\$(buildConfiguration)' | ||
|
||
- task: DownloadPipelineArtifact@2 | ||
inputs: | ||
buildType: 'current' | ||
artifactName: 'appxbundles_$(buildConfiguration)_$(buildPlatform)' | ||
targetPath: '$(System.DefaultWorkingDirectory)\appxbundles' | ||
|
||
- task: PowerShell@2 | ||
inputs: | ||
targetType: 'inline' | ||
script: | | ||
# Find correct folder and run app install script. | ||
cd ./appxbundles | ||
$AppBundle = Get-ChildItem -Filter UWP*Test -Name | ||
echo $AppBundle | ||
cd $AppBundle | ||
./Add-AppDevPackage.ps1 -Force | ||
errorActionPreference: 'continue' | ||
failOnStderr: true | ||
workingDirectory: '$(System.DefaultWorkingDirectory)' | ||
|
||
- task: VSTest@2 | ||
inputs: | ||
testSelector: 'testAssemblies' | ||
testAssemblyVer2: | | ||
**\*AppInteractionTests**.dll | ||
!**\*TestAdapter.dll | ||
!**\obj\** | ||
searchFolder: '$(System.DefaultWorkingDirectory)' | ||
|
||
- stage: Publish | ||
dependsOn: Testing | ||
jobs: | ||
- job: Publish_Release | ||
displayName: Release Build | ||
steps: | ||
- task: NuGetToolInstaller@1 | ||
|
||
- task: NuGetCommand@2 | ||
inputs: | ||
restoreSolution: '$(solution)' | ||
- task: VSBuild@1 | ||
inputs: | ||
platform: 'x86' | ||
solution: '$(solution)' | ||
configuration: 'Release' | ||
msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload /p:AppxPackageSigningEnabled=true' | ||
|
||
- task: PublishPipelineArtifact@1 | ||
inputs: | ||
targetPath: '$(System.DefaultWorkingDirectory)\artifacts\Release\' | ||
artifact: 'Release_$(buildPlatform)' | ||
publishLocation: 'pipeline' |
Oops, something went wrong.