Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Perez Rodriguez <joperezr@microsoft.com>2016-09-13 01:20:12 +0300
committerJose Perez Rodriguez <joperezr@microsoft.com>2016-09-13 01:20:12 +0300
commita1989d82cff273db667638e4836ea7836f5c6eb9 (patch)
tree24c513224c9c72120a4b9b95c57fe868a97ff690 /dir.props
parentd8bee609fd7b7fa232e4e36c5659514091cd6a3a (diff)
parent5f43b8637ac49a0304bd55482a009c448eb83a47 (diff)
Merge remote-tracking branch 'mainrepo/dev/api' into MergeDevApi
Diffstat (limited to 'dir.props')
-rw-r--r--dir.props56
1 files changed, 51 insertions, 5 deletions
diff --git a/dir.props b/dir.props
index a5d18634dc..b3a1e144bc 100644
--- a/dir.props
+++ b/dir.props
@@ -71,6 +71,16 @@
<!-- Provides package dependency version properties and verification/auto-upgrade configuration -->
<Import Project="$(MSBuildThisFileDirectory)dependencies.props" />
+ <!-- Explicitly setting
+ - SupportsUWP to true when TargetGroup is uap101*. This will enable the correct pinvoke checker to be picked
+ - BlockReflectionAttribute to true. This will enable injecting BlockReflectionAttribute.cs into the compile target.
+ TODO: Both of these properties are being set in buildtools targets, however they need to be updated to reflect uap101 changes.
+ -->
+ <PropertyGroup Condition="'$(TargetGroup)' == 'uap101' or '$(TargetGroup)' == 'uap101aot'">
+ <SupportsUWP>true</SupportsUWP>
+ <BlockReflectionAttribute>true</BlockReflectionAttribute>
+ </PropertyGroup>
+
<!-- Import packaging props -->
<Import Project="$(MSBuildThisFileDirectory)Packaging.props"/>
@@ -81,6 +91,7 @@
<!-- Need to escape double forward slash (%2F) or MSBuild will normalize to one slash on Unix. -->
<!-- Including buildtools to pull in TestSuite packages and repackaged xunit dependencies-->
<DnuSourceList Include="https:%2F%2Fdotnet.myget.org/F/dotnet-buildtools/api/v3/index.json" />
+ <DnuSourceList Include="https:%2F%2Fdotnet.myget.org/F/dotnet-core-dev-api/api/v3/index.json" />
<DnuSourceList Include="https:%2F%2Fdotnet.myget.org/F/dotnet-core/api/v3/index.json" />
<DnuSourceList Include="https:%2F%2Fwww.nuget.org/api/v2/" />
</ItemGroup>
@@ -178,6 +189,7 @@
<TargetGroup Condition="'$(TargetGroup)'=='' and $(Configuration.Contains('netcore50aot'))">netcore50aot</TargetGroup>
<TargetGroup Condition="'$(TargetGroup)'=='' and $(Configuration.Contains('netstandard13aot'))">netstandard13aot</TargetGroup>
<TargetGroup Condition="'$(TargetGroup)'=='' and $(Configuration.Contains('netstandard15aot'))">netstandard15aot</TargetGroup>
+ <TargetGroup Condition="'$(TargetGroup)'=='' and $(Configuration.Contains('netstandard1.7'))">netstandard1.7</TargetGroup>
<TargetGroup Condition="'$(TargetGroup)'=='' and $(Configuration.Contains('netcore50'))">netcore50</TargetGroup>
<TargetGroup Condition="'$(TargetGroup)'=='' and $(Configuration.Contains('netcoreapp1.0'))">netcoreapp1.0</TargetGroup>
<TargetGroup Condition="'$(TargetGroup)'=='' and $(Configuration.Contains('netcoreapp1.1'))">netcoreapp1.1</TargetGroup>
@@ -190,6 +202,8 @@
<TargetGroup Condition="'$(TargetGroup)'=='' and $(Configuration.Contains('net451'))">net451</TargetGroup>
<TargetGroup Condition="'$(TargetGroup)'=='' and $(Configuration.Contains('win8'))">win8</TargetGroup>
<TargetGroup Condition="'$(TargetGroup)'=='' and $(Configuration.Contains('wpa81'))">wpa81</TargetGroup>
+ <TargetGroup Condition="'$(TargetGroup)'=='' and $(Configuration.Contains('uap101aot'))">uap101aot</TargetGroup>
+ <TargetGroup Condition="'$(TargetGroup)'=='' and $(Configuration.Contains('uap101'))">uap101</TargetGroup>
</PropertyGroup>
<!-- Set up Default symbol and optimization for Configuration -->
@@ -335,6 +349,18 @@
<NuGetTargetMoniker>.NETStandard,Version=v1.5</NuGetTargetMoniker>
</PropertyGroup>
</When>
+ <When Condition="'$(TargetGroup)'=='netstandard1.6'">
+ <PropertyGroup>
+ <PackageTargetFramework>netstandard1.6</PackageTargetFramework>
+ <NuGetTargetMoniker>.NETStandard,Version=v1.6</NuGetTargetMoniker>
+ </PropertyGroup>
+ </When>
+ <When Condition="'$(TargetGroup)'=='netstandard1.7'">
+ <PropertyGroup>
+ <PackageTargetFramework>netstandard1.7</PackageTargetFramework>
+ <NuGetTargetMoniker>.NETStandard,Version=v1.7</NuGetTargetMoniker>
+ </PropertyGroup>
+ </When>
<When Condition="'$(TargetGroup)'=='netstandard13aot'">
<PropertyGroup>
<PackageTargetFramework>netstandard1.3</PackageTargetFramework>
@@ -420,6 +446,19 @@
<NuGetTargetMoniker>WindowsPhoneApp,Version=v8.1</NuGetTargetMoniker>
</PropertyGroup>
</When>
+ <When Condition="'$(TargetGroup)'=='uap101aot'">
+ <PropertyGroup>
+ <PackageTargetFramework>uap10.1</PackageTargetFramework>
+ <PackageTargetRuntime>aot</PackageTargetRuntime>
+ <NuGetTargetMoniker>UAP,Version=v10.1</NuGetTargetMoniker>
+ </PropertyGroup>
+ </When>
+ <When Condition="'$(TargetGroup)'=='uap101'">
+ <PropertyGroup>
+ <PackageTargetFramework>uap10.1</PackageTargetFramework>
+ <NuGetTargetMoniker>UAP,Version=v10.1</NuGetTargetMoniker>
+ </PropertyGroup>
+ </When>
<Otherwise>
<PropertyGroup>
<ConfigurationErrorMsg>$(ConfigurationErrorMsg);Unknown TargetGroup [$(TargetGroup)] specificed in your project.</ConfigurationErrorMsg>
@@ -429,12 +468,18 @@
<!-- Default Test platform to deploy the netstandard compiled tests to -->
<PropertyGroup>
- <!-- we default TestTFM and FilterToTestTFM to netcoreapp1.0 if they are not explicity defined -->
- <DefaultTestTFM Condition="'$(DefaultTestTFM)'==''">netcoreapp1.0</DefaultTestTFM>
- <TestTFM Condition="'$(TestTFM)'==''">$(DefaultTestTFM)</TestTFM>
- <FilterToTestTFM Condition="'$(FilterToTestTFM)'==''">$(DefaultTestTFM)</FilterToTestTFM>
+ <TestTFM Condition="'$(TestTFM)'=='' AND '$(TargetGroup)'=='netstandard1.7'">netcoreapp1.1</TestTFM>
+ <TestTFM Condition="'$(TestTFM)'==''">netcoreapp1.0</TestTFM>
+ <!-- we default FilterToTestTFM to netcoreapp1.1 if it is not explicity defined -->
+ <FilterToTestTFM Condition="'$(FilterToTestTFM)'==''">netcoreapp1.1</FilterToTestTFM>
</PropertyGroup>
+ <ItemGroup>
+ <TestNugetTargetMoniker Include=".NETCoreApp,Version=v1.1" Condition="'$(TestTFM)' == 'netcoreapp1.1'">
+ <Folder>netcoreapp1.1</Folder>
+ </TestNugetTargetMoniker>
+ </ItemGroup>
+
<PropertyGroup>
<IsRedistAssembly Condition="'$(IsRedistAssembly)'=='' AND ($(MSBuildProjectFullPath.Contains('\redist\')) OR $(MSBuildProjectFullPath.Contains('/redist/')))">true</IsRedistAssembly>
</PropertyGroup>
@@ -479,7 +524,8 @@
<TargetOutputRelPath Condition="'$(TargetGroup)'!=''">$(TargetGroup)/</TargetOutputRelPath>
<BaseOutputPath Condition="'$(BaseOutputPath)'==''">$(BinDir)</BaseOutputPath>
- <OutputPath Condition="'$(OutputPath)'==''">$(BaseOutputPath)$(OSPlatformConfig)/$(MSBuildProjectName)/$(TargetOutputRelPath)</OutputPath>
+ <OutputPathSubfolder Condition="'$(IsCompatAssembly)'=='true'">/Compat</OutputPathSubfolder>
+ <OutputPath Condition="'$(OutputPath)'==''">$(BaseOutputPath)$(OSPlatformConfig)/$(MSBuildProjectName)/$(TargetOutputRelPath)$(OutputPathSubfolder)</OutputPath>
<IntermediateOutputRootPath Condition="'$(IntermediateOutputRootPath)' == ''">$(BaseIntermediateOutputPath)$(OSPlatformConfig)/</IntermediateOutputRootPath>
<IntermediateOutputPath Condition="'$(IntermediateOutputPath)' == ''">$(IntermediateOutputRootPath)$(MSBuildProjectName)/$(TargetOutputRelPath)</IntermediateOutputPath>