Skip to content

Commit 471bb9f

Browse files
author
Mike McLaughlin
committed
Fix packing in official build
1 parent bae4b47 commit 471bb9f

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

Directory.Build.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@
88
<LangVersion>Latest</LangVersion>
99
<WarningLevel>4</WarningLevel>
1010
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
11+
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
1112
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
1213
<_SkipUpgradeNetAnalyzersNuGetWarning>true</_SkipUpgradeNetAnalyzersNuGetWarning>
14+
<IsShipping>false</IsShipping>
15+
<IsPackable>false</IsPackable>
1316
</PropertyGroup>
1417

1518
<PropertyGroup>

eng/ci-prepare-artifacts.cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ set "_commonArgs=-restore -ci -prepareMachine -verbosity minimal -configuration
55
set "_logDir=%~dp0..\artifacts\log\Release\"
66

77
echo Creating packages
8-
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0common\Build.ps1""" %_commonArgs% -pack -noBl /bl:'%_logDir%Pack.binlog' %*"
8+
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0common\Build.ps1""" %_commonArgs% -pack -noBl /bl:'%_logDir%Pack.binlog' -projects %~dp0..\diagnostics.sln %*"
99
if NOT '%ERRORLEVEL%' == '0' goto ExitWithCode
1010

1111
echo Creating bundles
12-
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0Build.ps1""" %_commonArgs% -build -bundletools %*"
12+
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0Build.ps1""" %_commonArgs% -build -bundletools -projects %~dp0..\diagnostics.sln %*"
1313
if NOT '%ERRORLEVEL%' == '0' goto ExitWithCode
1414

1515
echo Creating dbgshim packages

src/Directory.Build.props

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
44

55
<PropertyGroup>
6-
<IsShipping>false</IsShipping>
7-
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
86
<NoPackageAnalysis>true</NoPackageAnalysis>
9-
<DebugSymbols>true</DebugSymbols>
107
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
8+
<DebugSymbols>true</DebugSymbols>
119
<BundledToolsPath>$(ArtifactsDir)bundledtools/</BundledToolsPath>
1210
</PropertyGroup>
1311

tests/Directory.Build.props

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,5 @@
88
<BuildArch Condition="'$(BuildArch)' == 'AnyCpu'">$([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant)</BuildArch>
99
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
1010
<DebugSymbols>true</DebugSymbols>
11-
<IsShipping>false</IsShipping>
12-
<IsPackable>false</IsPackable>
1311
</PropertyGroup>
1412
</Project>

0 commit comments

Comments
 (0)