diff options
author | Michal Strehovský <MichalStrehovsky@users.noreply.github.com> | 2017-12-05 11:37:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-05 11:37:43 +0100 |
commit | 809b8f792923c95b9d5fee824c60dde21079cca1 (patch) | |
tree | 9aeced1d4c0ba6ef4598fae401526afec17be324 /dir.props | |
parent | d714acda701d78a572b3fe36f33abcaf7e26c2df (diff) | |
download | coreclr-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.props | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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> |