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

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dir.targets')
-rw-r--r--dir.targets21
1 files changed, 18 insertions, 3 deletions
diff --git a/dir.targets b/dir.targets
index ba5405fa2..bb03d1d58 100644
--- a/dir.targets
+++ b/dir.targets
@@ -17,11 +17,11 @@
<CLSCompliant Condition="'$(CLSCompliant)'==''">false</CLSCompliant>
</PropertyGroup>
- <!-- Set default references for netcoreapp2.0 -->
- <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
+ <!-- Set default references for netcoreapp2.1 -->
+ <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'">
<!-- This tells VS that this is .NET Core app - uses .NET Core debugger, IntelliSense, etc. -->
<TargetFrameworkIdentifier>.NETCoreApp</TargetFrameworkIdentifier>
- <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+ <TargetFrameworkVersion>v2.1</TargetFrameworkVersion>
</PropertyGroup>
<!-- Set default references for netstandard1.3 -->
@@ -36,6 +36,21 @@
</PackageReference>
</ItemGroup>
+ <!-- Set default references for netstandard2.0 -->
+ <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
+ <NuGetTargetMoniker>.NETStandard,Version=v2.0</NuGetTargetMoniker>
+ <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>
+ <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+ </PropertyGroup>
+ <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
+ <PackageReference Include="NETStandard.Library">
+ <Version>2.0.3</Version>
+ </PackageReference>
+ </ItemGroup>
+ <ImportGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
+ <Import Project="$(PackagesDir)netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('$(PackagesDir)netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
+ </ImportGroup>
+
<!-- Set non-empty TargetFrameworkIdentifier to avoid defaulting to .NETPortable -->
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == ''">
<TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>