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:
authorDavis Goodin <dagood@microsoft.com>2016-08-19 17:17:48 +0300
committerDavis Goodin <dagood@microsoft.com>2016-08-24 02:07:22 +0300
commit903d045869cd613514e51caa52688e4a36d64dab (patch)
treec8664a4ca965b69e2eaaaac901711a92ad85d1b2 /dir.props
parent3427c56535ce679f8889b44fcd59cbcb268dc4c7 (diff)
Add full-version package dependency verification.
Diffstat (limited to 'dir.props')
-rw-r--r--dir.props89
1 files changed, 3 insertions, 86 deletions
diff --git a/dir.props b/dir.props
index bfed2326c2..f65f45b056 100644
--- a/dir.props
+++ b/dir.props
@@ -85,6 +85,9 @@
<EnableDotnetAnalyzers Condition="'$(EnableDotnetAnalyzers)'==''">true</EnableDotnetAnalyzers>
</PropertyGroup>
+ <!-- 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.
@@ -95,94 +98,8 @@
<BlockReflectionAttribute>true</BlockReflectionAttribute>
</PropertyGroup>
- <!-- Package dependency validation -->
- <PropertyGroup>
- <ValidatePackageVersions>true</ValidatePackageVersions>
- <ProhibitFloatingDependencies>true</ProhibitFloatingDependencies>
-
- <CoreFxExpectedPrerelease>beta-devapi-24422-01</CoreFxExpectedPrerelease>
- <CoreClrExpectedPrerelease>beta-24419-04</CoreClrExpectedPrerelease>
- <ExternalExpectedPrerelease>beta-24418-00</ExternalExpectedPrerelease>
-
- <CoreFxVersionsIdentityRegex>^(?i)(((System\..*)(?&lt;!System\.ServiceModel\..*))|(NETStandard\.Library)|(Microsoft\.CSharp)|(Microsoft\.NETCore\.Targets)|(Microsoft\.NETCore\.Platforms)|(Microsoft\.Win32\..*)|(Microsoft\.VisualBasic))(?&lt;!TestData)$</CoreFxVersionsIdentityRegex>
- <BaseDotNetBuildInfoUrl>https://raw.githubusercontent.com/dotnet/versions/master/build-info/dotnet/</BaseDotNetBuildInfoUrl>
- <DependencyBranch>master</DependencyBranch>
- </PropertyGroup>
-
<Import Project="$(MSBuildThisFileDirectory)pkg/ExternalPackages/versions.props" Condition="Exists('$(MSBuildThisFileDirectory)pkg/ExternalPackages/versions.props')" />
- <!-- Dependency auto-upgrade configuration -->
- <ItemGroup>
- <DependencyBuildInfo Include="CoreFx">
- <RawUrl>$(BaseDotNetBuildInfoUrl)corefx/dev/api</RawUrl>
- </DependencyBuildInfo>
- <DependencyBuildInfo Include="CoreClr">
- <RawUrl>$(BaseDotNetBuildInfoUrl)coreclr/$(DependencyBranch)</RawUrl>
- </DependencyBuildInfo>
- <DependencyBuildInfo Include="External">
- <RawUrl>$(BaseDotNetBuildInfoUrl)projectk-tfs/$(DependencyBranch)</RawUrl>
- </DependencyBuildInfo>
-
- <XmlUpdateStep Include="CoreFx">
- <Path>$(MSBuildThisFileFullPath)</Path>
- <ElementName>CoreFxExpectedPrerelease</ElementName>
- <BuildInfoName>CoreFx</BuildInfoName>
- </XmlUpdateStep>
- <XmlUpdateStep Include="CoreClr">
- <Path>$(MSBuildThisFileFullPath)</Path>
- <ElementName>CoreClrExpectedPrerelease</ElementName>
- <BuildInfoName>CoreClr</BuildInfoName>
- </XmlUpdateStep>
- <XmlUpdateStep Include="External">
- <Path>$(MSBuildThisFileFullPath)</Path>
- <ElementName>ExternalExpectedPrerelease</ElementName>
- <BuildInfoName>External</BuildInfoName>
- </XmlUpdateStep>
- </ItemGroup>
-
- <ItemGroup>
- <ValidationPattern Include="CoreFxVersions">
- <IdentityRegex>$(CoreFxVersionsIdentityRegex)</IdentityRegex>
- <ExpectedPrerelease>$(CoreFxExpectedPrerelease)</ExpectedPrerelease>
- </ValidationPattern>
- <ValidationPattern Include="CoreClrVersions">
- <IdentityRegex>^(?i)(Microsoft\.NETCore\.Runtime.*)|(Microsoft\.TargetingPack\.Private\.CoreCLR)$</IdentityRegex>
- <ExpectedPrerelease>$(CoreClrExpectedPrerelease)</ExpectedPrerelease>
- </ValidationPattern>
- <!-- Disabling validation of NetNative targeting pack. The TP used by netcore50 target frameworks is different than the
- one that's used by uap10.1 target frameworks. ValidatePackageVersions currently doesn't support multi-value ExpectedVersion.
- We need to figure out how we compose the new TP, such that it's consumable by both frameworks.
- <ValidationPattern Include="CoreLibTargetingPackVersions">
- <IdentityRegex>^(?i)Microsoft\.TargetingPack\.Private\.NETNative$</IdentityRegex>
- <ExpectedPrerelease>$(ExternalExpectedPrerelease)</ExpectedPrerelease>
- </ValidationPattern>
- -->
- <ValidationPattern Include="TargetingPackVersions">
- <IdentityRegex>^(?i)Microsoft\.TargetingPack\.(NetFramework.*|Private\.WinRT)$</IdentityRegex>
- <ExpectedVersion>1.0.1</ExpectedVersion>
- </ValidationPattern>
- <ValidationPattern Include="xUnitStableVersions">
- <IdentityRegex>^(?i)xunit$</IdentityRegex>
- <ExpectedVersion>2.1.0</ExpectedVersion>
- </ValidationPattern>
- <ValidationPattern Include="xUnitExtensionsVersions">
- <IdentityRegex>^(?i)Microsoft\.xunit\.netcore\.extensions$</IdentityRegex>
- <ExpectedVersion>1.0.0-prerelease-00704-03</ExpectedVersion>
- </ValidationPattern>
- <ValidationPattern Include="buildToolsTestSuiteVersions">
- <IdentityRegex>^(?i)Microsoft\.DotNet\.BuildTools\.TestSuite$</IdentityRegex>
- <ExpectedVersion>1.0.0-prerelease-00704-03</ExpectedVersion>
- </ValidationPattern>
- <ValidationPattern Include="uwpRunnerVersion">
- <IdentityRegex>^(?i)microsoft\.xunit\.runner\.uwp$</IdentityRegex>
- <ExpectedVersion>$(AppXRunnerVersion)</ExpectedVersion>
- </ValidationPattern>
- </ItemGroup>
-
- <!-- Runner versions -->
- <PropertyGroup>
- <AppXRunnerVersion>1.0.3-prerelease-00614-01</AppXRunnerVersion>
- </PropertyGroup>
<!-- Import packaging props -->
<Import Project="$(MSBuildThisFileDirectory)Packaging.props"/>