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:
authorJan Kotas <jkotas@microsoft.com>2017-10-03 00:51:12 +0300
committerGitHub <noreply@github.com>2017-10-03 00:51:12 +0300
commit537975a9f5cf6f56c87239b3bee50e7e9d4062ef (patch)
tree861b49a6d49edfe29c7a28cebf74e38b6a825730
parent435458ee58ec03e0224f1a2ebfb8c681641a5084 (diff)
Fix VS2017 IntelliSense (#4643)
-rw-r--r--dir.targets7
1 files changed, 7 insertions, 0 deletions
diff --git a/dir.targets b/dir.targets
index a519f19a1..ba5405fa2 100644
--- a/dir.targets
+++ b/dir.targets
@@ -17,6 +17,13 @@
<CLSCompliant Condition="'$(CLSCompliant)'==''">false</CLSCompliant>
</PropertyGroup>
+ <!-- Set default references for netcoreapp2.0 -->
+ <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
+ <!-- This tells VS that this is .NET Core app - uses .NET Core debugger, IntelliSense, etc. -->
+ <TargetFrameworkIdentifier>.NETCoreApp</TargetFrameworkIdentifier>
+ <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+ </PropertyGroup>
+
<!-- Set default references for netstandard1.3 -->
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.3'">
<NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker>