Skip to content

Commit 93a5efa

Browse files
author
Mike McLaughlin
committed
Fix packing in official build
1 parent 1f9a870 commit 93a5efa

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

Directory.Build.props

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

1619
<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)