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:
authorEric St. John <ericstj@microsoft.com>2016-11-21 21:19:46 +0300
committerEric St. John <ericstj@microsoft.com>2016-11-22 18:51:02 +0300
commitd27557aea49b7d155c67a357305f251ef7575caf (patch)
tree15419089ba8dfca3f026d6227273c1c04a7c7a51 /Packaging.props
parent20a8cd79157ec65f0ecc89f779e989ea05f277b4 (diff)
Suppress some package validation checks
We were inferring NETStandard version supported from desktop versions which caused us to think we needed a higher versioned NETStandard implementation. Suppress this inferrence. After suppressing this we triggered another check which said that we should make the ref a higher NETStandard version since it didn't have any implementations at that version (we excluded the desktop ones). Supress this as well. These checks will soon be irrelevant after our refactoring effort for ns2.0.
Diffstat (limited to 'Packaging.props')
-rw-r--r--Packaging.props8
1 files changed, 8 insertions, 0 deletions
diff --git a/Packaging.props b/Packaging.props
index 2f7afa0698..18ca33e991 100644
--- a/Packaging.props
+++ b/Packaging.props
@@ -22,10 +22,18 @@
<!-- by default all packages will use the same version which revs with respect to product version -->
<PackageVersion Condition="'$(PackageVersion)' == ''">4.4.0</PackageVersion>
<SkipValidatePackageTargetFramework>true</SkipValidatePackageTargetFramework>
+ <SkipGenerationCheck>true</SkipGenerationCheck>
</PropertyGroup>
<Import Condition="Exists('pkg/baseline/baseline.props') AND '$(MSBuildProjectExtension)' == '.pkgproj'" Project="pkg/baseline/baseline.props" />
+ <ItemGroup Condition="'$(MSBuildProjectExtension)' == '.pkgproj'">
+ <ValidatePackageSuppression Include="SuppressNETStandardInference">
+ <!-- desktop assemblies must version past NETStandard refs -->
+ <Value>.NETFramework,Version=v4.6;.NETFramework,Version=v4.6.1;.NETFramework,Version=v4.6.2;.NETFramework,Version=v4.6.3</Value>
+ </ValidatePackageSuppression>
+ </ItemGroup>
+
<PropertyGroup Condition="'$(OsEnvironment)'=='Unix'">
<!--
Building packages fails for two reasons.