Always specify a default for derivedpackagetargetosgroup
authorChristopher Costa <chcosta@microsoft.com>
Tue, 14 Feb 2017 18:46:21 +0000 (10:46 -0800)
committerChristopher Costa <chcosta@microsoft.com>
Tue, 14 Feb 2017 18:46:21 +0000 (10:46 -0800)
src/.nuget/dir.props

index fc46b2e..f184e0d 100644 (file)
@@ -24,7 +24,7 @@
   </PropertyGroup>
 
   <!-- derive an OS Group based on the OS Family -->
-  <PropertyGroup Condition="'$(_runtimeOSFamily)' != ''">
+  <PropertyGroup>
     <_derivedPackageTargetOSGroup Condition="'$(_derivedPackageTargetOSGroup)' == '' and '$(_runtimeOSFamily)' == 'osx'">OSX</_derivedPackageTargetOSGroup>
     <_derivedPackageTargetOSGroup Condition="'$(_derivedPackageTargetOSGroup)' == '' and '$(_runtimeOSFamily)' == 'win'">Windows_NT</_derivedPackageTargetOSGroup>
     <_derivedPackageTargetOSGroup Condition="'$(_derivedPackageTargetOSGroup)' == '' and '$(__BuildOS)' != ''">$(__BuildOS)</_derivedPackageTargetOSGroup>