diff options
author | Santiago Fernandez Madero <safern@microsoft.com> | 2019-11-09 01:43:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-09 01:43:17 +0300 |
commit | 50d8a5f65d8f11bf8fa9ee2c885308d7da0f649f (patch) | |
tree | 77500d93208a14803d0371377a1be546532bd473 /eng/packaging.targets | |
parent | 19538490d061ea63857ccf7b84d71b1589e35859 (diff) |
Cleanup MSBuild conditional operators to be all in lowercase (dotnet/corefx#42491)
Commit migrated from https://github.com/dotnet/corefx/commit/ab01852685e659a685af2ace33af5b3cefdf8430
Diffstat (limited to 'eng/packaging.targets')
-rw-r--r-- | eng/packaging.targets | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eng/packaging.targets b/eng/packaging.targets index 6bc626451ca..8ec9e9ef4a7 100644 --- a/eng/packaging.targets +++ b/eng/packaging.targets @@ -28,8 +28,8 @@ <_excludeCompile Condition="@(Dependency->WithMetadataValue('Exclude', 'Compile')->Count()) == @(Dependency->Count())">true</_excludeCompile> </PropertyGroup> <Error Text="Cannot have Exclude=Compile dependencies when targeting a desktop TFM. @(Dependency). You can exclude the reference asset in the package by setting the ExcludeReferenceAssets property to true in your project." - Condition="$([System.String]::Copy('%(Dependency.TargetFramework)').StartsWith('net4')) AND - '$(_excludeCompile)' == 'true' AND + Condition="$([System.String]::Copy('%(Dependency.TargetFramework)').StartsWith('net4')) and + '$(_excludeCompile)' == 'true' and '%(Dependency.Identity)' != '_._'" /> </Target> </Project>
\ No newline at end of file |