You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packaging/Directory.Build.props
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,11 @@
16
16
Set $(IsPackable) = true, except when
17
17
$(CreateArchNeutralPackage) == true && $(Platform) != x86
18
18
The idea here is that for arch-neutral packages, only the x86 build phase will generate the nuget package
19
-
The platform/RID specific packages will be generated in their respective $(Platform) specific build phases
19
+
The platform/RID specific packages will be generated in their respective $(Platform) specific build phases.
20
+
Platform neutral packages should always get generated when building the product (DotNetBuild=true).
20
21
-->
21
22
<IsPackable>true</IsPackable>
22
-
<IsPackableCondition="('$(Platform)'!='AnyCPU' and '$(Platform)'!='Win32' and '$(Platform)'!='x86') and '$(CreateArchNeutralPackage)'=='true'">false</IsPackable>
23
+
<IsPackableCondition="('$(Platform)'!='AnyCPU' and '$(Platform)'!='Win32' and '$(Platform)'!='x86') and '$(CreateArchNeutralPackage)'=='true' and '$(DotNetBuild)' != 'true'">false</IsPackable>
0 commit comments