• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html -->
3<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4  <!-- This file is used to set the PlatformToolset configuration option for all UWP projects. -->
5
6  <!-- Automatic PlatformToolset version selection. -->
7  <!-- If there is no DefaultPlatformToolset set, we will detect the version based on version of the build tools. -->
8  <PropertyGroup>
9    <BuildToolVersion>$(VisualStudioVersion)</BuildToolVersion>
10    <BuildToolVersion Condition="'$(BuildToolVersion)'==''">$(MSBuildToolsVersion)</BuildToolVersion>
11    <!-- Note: v140 is the Visual Studio 2015 toolset. v141 is the Visual Studio 2017 toolset. -->
12    <AutoDetectedPlatformToolset Condition="'$(BuildToolVersion)'=='14.0'">v140</AutoDetectedPlatformToolset>
13    <AutoDetectedPlatformToolset Condition="'$(BuildToolVersion)'=='15.0'">v141</AutoDetectedPlatformToolset>
14  </PropertyGroup>
15  <PropertyGroup Label="EmptyDefaultPlatformToolset">
16    <DefaultPlatformToolset Condition=" '$(DefaultPlatformToolset)' == '' ">$(AutoDetectedPlatformToolset)</DefaultPlatformToolset>
17  </PropertyGroup>
18  <PropertyGroup Label="PlatformToolset">
19    <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
20  </PropertyGroup>
21  <PropertyGroup>
22    <!-- Disable MSBuild warning about Linker OutputFile. -->
23    <!-- Ex: MSBuild complains that the common project creates "icuuc62.dll" rather than "common.dll". However, this is intentional. -->
24    <MSBuildWarningsAsMessages>MSB8012</MSBuildWarningsAsMessages>
25  </PropertyGroup>
26</Project>
27