Skip to content

Commit 9e2144d

Browse files
committed
Publish in a separate step
- Publishing.props executes the `_GetPackageVersionInfo` target in Microsoft.AspNetCore.App.Runtime.csproj - that target currently fails when using a new SDK and desktop `msbuild`
1 parent 1a2b326 commit 9e2144d

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.azure/pipelines/ci.yml

+15-3
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,26 @@ stages:
213213
-buildInstallers
214214
-noBuildNative
215215
/p:DotNetSignType=$(_SignType)
216-
/p:AssetManifestFileName=aspnetcore-win-x64-x86.xml
217216
$(_BuildArgs)
218-
$(_PublishArgs)
219217
$(_InternalRuntimeDownloadArgs)
220-
/p:PublishInstallerBaseVersion=true
221218
$(WindowsInstallersLogArgs)
222219
displayName: Build Installers
223220

221+
- script: ./eng/build.cmd
222+
-ci
223+
-noBuildRepoTasks
224+
-noBuildNative
225+
-noBuild
226+
-noRestore
227+
-projects eng/empty.proj
228+
$(_BuildArgs)
229+
$(_InternalRuntimeDownloadArgs)
230+
$(_PublishArgs)
231+
/p:AssetManifestFileName=aspnetcore-win-x64-x86.xml
232+
/p:PublishInstallerBaseVersion=true
233+
/bl:artifacts/log/Release/Build.Publish.binlog
234+
displayName: Publish
235+
224236
# A few files must also go to the VS package feed.
225237
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), ne(variables['PostBuildSign'], 'true')) }}:
226238
- task: NuGetCommand@2

0 commit comments

Comments
 (0)