summaryrefslogtreecommitdiff
path: root/dir.props
diff options
context:
space:
mode:
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>2017-12-05 11:37:43 +0100
committerGitHub <noreply@github.com>2017-12-05 11:37:43 +0100
commit809b8f792923c95b9d5fee824c60dde21079cca1 (patch)
tree9aeced1d4c0ba6ef4598fae401526afec17be324 /dir.props
parentd714acda701d78a572b3fe36f33abcaf7e26c2df (diff)
downloadcoreclr-809b8f792923c95b9d5fee824c60dde21079cca1.tar.gz
coreclr-809b8f792923c95b9d5fee824c60dde21079cca1.tar.bz2
coreclr-809b8f792923c95b9d5fee824c60dde21079cca1.zip
Put default interfaces behind a define (#15358)
This is needed so that we can turn default interfaces off in release branches. I can't find a central location where the PRERELEASE flag could be defined because native and managed builds seem to be completely disconnected. To limit the risk of only flipping the flag in one build type, I'm adding a test that verifies being able to load an interface with default methods matches what RuntimeFeature says.
Diffstat (limited to 'dir.props')
-rw-r--r--dir.props5
1 files changed, 5 insertions, 0 deletions
diff --git a/dir.props b/dir.props
index 56ee07c3a3..fa46fc3725 100644
--- a/dir.props
+++ b/dir.props
@@ -140,6 +140,11 @@
<PackageThirdPartyNoticesFile>$(ProjectDir)THIRD-PARTY-NOTICES.TXT</PackageThirdPartyNoticesFile>
<SyncInfoDirectory>$(BaseIntermediateOutputPath)</SyncInfoDirectory>
+ <!-- If true, indicates that this is not an officially supported release -->
+ <!-- It is important to flip this to false in official release branches -->
+ <!-- Keep it in sync with PRERELEASE in clrdefinitions.cmake -->
+ <IsPrerelease>true</IsPrerelease>
+
<!-- This should be kept in sync with package details in src/.nuget/init/project.json -->
<RuntimeIdGraphDefinitionVersion>1.0.2-beta-24224-02</RuntimeIdGraphDefinitionVersion>
<RuntimeIdGraphDefinitionFile>$(PackagesDir)/microsoft.netcore.platforms/$(RuntimeIdGraphDefinitionVersion)/runtime.json</RuntimeIdGraphDefinitionFile>