Enable publishing in aspnetcore VMR builds (#19205)
This commit is contained in:
parent
96454e6ffb
commit
4f7bc02cdd
1 changed files with 5 additions and 2 deletions
|
@ -4,8 +4,11 @@
|
|||
<!-- AspNetCore doesn't have a root build script but one under the eng folder. -->
|
||||
<BuildScript>$(ProjectDirectory)eng\build$(ShellExtension)</BuildScript>
|
||||
|
||||
<!-- On Windows, build all for the VB PoC -->
|
||||
<BuildActions Condition="'$(DotNetBuildSourceOnly)' != 'true' and '$(BuildOS)' == 'windows'">$(FlagParameterPrefix)restore $(FlagParameterPrefix)all $(FlagParameterPrefix)pack -NativeToolsOnMachine</BuildActions>
|
||||
<BuildActions Condition="'$(DotNetBuildSourceOnly)' != 'true'">$(FlagParameterPrefix)restore $(FlagParameterPrefix)all $(FlagParameterPrefix)pack $(FlagParameterPrefix)publish</BuildActions>
|
||||
<!-- On windows, native tooling (JDK) is pre-installed on the machine. -->
|
||||
<BuildActions Condition="'$(BuildOS)' == 'windows'">$(BuildActions) -NativeToolsOnMachine</BuildActions>
|
||||
<!-- On non-windows, we don't have the JDK available and don't need to build those projects anyway because they are not consumed downstream. -->
|
||||
<BuildActions Condition="'$(BuildOS)' != 'windows'">$(BuildActions) $(FlagParameterPrefix)no-build-java</BuildActions>
|
||||
|
||||
<BuildArgs>$(BuildArgs) $(FlagParameterPrefix)arch $(TargetArchitecture)</BuildArgs>
|
||||
<BuildWithDesktopMSBuild>true</BuildWithDesktopMSBuild>
|
||||
|
|
Loading…
Reference in a new issue