|
1 | | -<?xml version="1.0" encoding="utf-8"?> |
2 | | -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="15.0"> |
3 | | - |
4 | | - <Import Project="$(MSBuildProjectDirectory)\Config.UWP.proj" /> |
5 | | - |
6 | | - <PropertyGroup> |
7 | | - <BuildDependsOn> |
8 | | - GetLatestNugetExe; |
9 | | - RestoreControlsSolutionNuGetPackages; |
10 | | - BuildControlsSolution; |
11 | | - RestoreMapSolutionNuGetPackages; |
12 | | - BuildMapX86Platform; |
13 | | - BuildMapX64Platform; |
14 | | - BuildMapArmPlatform; |
15 | | - BuildMapArm64Platform; |
16 | | - </BuildDependsOn> |
17 | | - </PropertyGroup> |
18 | | - |
19 | | - |
20 | | - <Target Name="Build" DependsOnTargets="$(BuildDependsOn)" /> |
21 | | - |
22 | | - <Target Name="GetLatestNugetExe"> |
23 | | - |
24 | | - <Exec Command="$(PowerShellExe) -NonInteractive -executionpolicy Unrestricted -command (New-Object System.Net.WebClient).DownloadFile('http://dist.nuget.org/win-x86-commandline/latest/nuget.exe', 'nuget.exe')"/> |
25 | | - |
26 | | - </Target> |
27 | | - |
28 | | - <Target Name="RestoreControlsSolutionNuGetPackages"> |
29 | | - |
30 | | - <Exec Command="$(Nuget32ToolPath) restore $(UWPControlsSolutionPath) -NonInteractive -Source https://api.nuget.org/v3/index.json" /> |
31 | | - |
32 | | - </Target> |
33 | | - |
34 | | - <Target Name="BuildControlsSolution"> |
35 | | - |
36 | | - <MSBuild Projects="$(UWPControlsSolutionPath)" |
37 | | - Properties="Configuration=$(Configuration);Platform=$(AnyCPUPlatform)" |
38 | | - Targets="Rebuild" /> |
39 | | - </Target> |
40 | | - |
41 | | - <Target Name="RestoreMapSolutionNuGetPackages"> |
42 | | - |
43 | | - <MSBuild Projects="$(UWPMapSolutionPath)" Targets="Restore" /> |
44 | | - |
45 | | - </Target> |
46 | | - |
47 | | - <Target Name="BuildMapX86Platform"> |
48 | | - |
49 | | - <MSBuild Projects="$(UWPMapSolutionPath)" |
50 | | - Properties="Configuration=$(Configuration);Platform=$(X86Platform)" |
51 | | - Targets="Rebuild" /> |
52 | | - </Target> |
53 | | - |
54 | | - <Target Name="BuildMapX64Platform"> |
55 | | - |
56 | | - <MSBuild Projects="$(UWPMapSolutionPath)" |
57 | | - Properties="Configuration=$(Configuration);Platform=$(X64Platform)" |
58 | | - Targets="Rebuild" /> |
59 | | - |
60 | | - </Target> |
61 | | - |
62 | | - <Target Name="BuildMapArmPlatform"> |
63 | | - |
64 | | - <MSBuild Projects="$(UWPMapSolutionPath)" |
65 | | - Properties="Configuration=$(Configuration);Platform=$(ArmPlatform)" |
66 | | - Targets="Rebuild" /> |
67 | | - |
68 | | - </Target> |
69 | | - |
70 | | - <Target Name="BuildMapArm64Platform"> |
71 | | - |
72 | | - <MSBuild Projects="$(UWPMapSolutionPath)" |
73 | | - Properties="Configuration=$(Configuration);Platform=$(Arm64Platform)" |
74 | | - Targets="Rebuild" /> |
75 | | - |
76 | | - </Target> |
77 | | - |
78 | | -</Project> |
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="15.0"> |
| 3 | + |
| 4 | + <Import Project="$(MSBuildProjectDirectory)\Config.UWP.proj" /> |
| 5 | + |
| 6 | + <PropertyGroup> |
| 7 | + <BuildDependsOn> |
| 8 | + GetLatestNugetExe; |
| 9 | + RestoreControlsSolutionNuGetPackages; |
| 10 | + BuildControlsSolution; |
| 11 | + RestoreMapSolutionNuGetPackages; |
| 12 | + BuildMapX86Platform; |
| 13 | + BuildMapX64Platform; |
| 14 | + BuildMapArmPlatform; |
| 15 | + BuildMapArm64Platform; |
| 16 | + </BuildDependsOn> |
| 17 | + </PropertyGroup> |
| 18 | + |
| 19 | + |
| 20 | + <Target Name="Build" DependsOnTargets="$(BuildDependsOn)" /> |
| 21 | + |
| 22 | + <Target Name="GetLatestNugetExe"> |
| 23 | + |
| 24 | + <Exec Command="$(PowerShellExe) -NonInteractive -executionpolicy Unrestricted -command (New-Object System.Net.WebClient).DownloadFile('http://dist.nuget.org/win-x86-commandline/latest/nuget.exe', 'nuget.exe')"/> |
| 25 | + |
| 26 | + </Target> |
| 27 | + |
| 28 | + <Target Name="RestoreControlsSolutionNuGetPackages"> |
| 29 | + |
| 30 | + <Exec Command="$(Nuget32ToolPath) restore $(UWPControlsSolutionPath) -NonInteractive -Source https://api.nuget.org/v3/index.json" /> |
| 31 | + |
| 32 | + </Target> |
| 33 | + |
| 34 | + <Target Name="BuildControlsSolution"> |
| 35 | + |
| 36 | + <MSBuild Projects="$(UWPControlsSolutionPath)" |
| 37 | + Properties="Configuration=$(Configuration);Platform=$(AnyCPUPlatform)" |
| 38 | + Targets="Rebuild" /> |
| 39 | + </Target> |
| 40 | + |
| 41 | + <Target Name="RestoreMapSolutionNuGetPackages"> |
| 42 | + |
| 43 | + <MSBuild Projects="$(UWPMapSolutionPath)" Targets="Restore" /> |
| 44 | + |
| 45 | + </Target> |
| 46 | + |
| 47 | + <Target Name="BuildMapX86Platform"> |
| 48 | + |
| 49 | + <MSBuild Projects="$(UWPMapSolutionPath)" |
| 50 | + Properties="Configuration=$(Configuration);Platform=$(X86Platform)" |
| 51 | + Targets="Rebuild" /> |
| 52 | + </Target> |
| 53 | + |
| 54 | + <Target Name="BuildMapX64Platform"> |
| 55 | + |
| 56 | + <MSBuild Projects="$(UWPMapSolutionPath)" |
| 57 | + Properties="Configuration=$(Configuration);Platform=$(X64Platform)" |
| 58 | + Targets="Rebuild" /> |
| 59 | + |
| 60 | + </Target> |
| 61 | + |
| 62 | + <Target Name="BuildMapArmPlatform"> |
| 63 | + |
| 64 | + <MSBuild Projects="$(UWPMapSolutionPath)" |
| 65 | + Properties="Configuration=$(Configuration);Platform=$(ArmPlatform)" |
| 66 | + Targets="Rebuild" /> |
| 67 | + |
| 68 | + </Target> |
| 69 | + |
| 70 | + <Target Name="BuildMapArm64Platform"> |
| 71 | + |
| 72 | + <MSBuild Projects="$(UWPMapSolutionPath)" |
| 73 | + Properties="Configuration=$(Configuration);Platform=$(Arm64Platform)" |
| 74 | + Targets="Rebuild" /> |
| 75 | + |
| 76 | + </Target> |
| 77 | + |
| 78 | +</Project> |
0 commit comments