diff --git a/src/SourceBuild/content/repo-projects/aspnetcore.proj b/src/SourceBuild/content/repo-projects/aspnetcore.proj
index 5de0177d4..bf77ef870 100644
--- a/src/SourceBuild/content/repo-projects/aspnetcore.proj
+++ b/src/SourceBuild/content/repo-projects/aspnetcore.proj
@@ -4,8 +4,11 @@
$(ProjectDirectory)eng\build$(ShellExtension)
-
- $(FlagParameterPrefix)restore $(FlagParameterPrefix)all $(FlagParameterPrefix)pack -NativeToolsOnMachine
+ $(FlagParameterPrefix)restore $(FlagParameterPrefix)all $(FlagParameterPrefix)pack $(FlagParameterPrefix)publish
+
+ $(BuildActions) -NativeToolsOnMachine
+
+ $(BuildActions) $(FlagParameterPrefix)no-build-java
$(BuildArgs) $(FlagParameterPrefix)arch $(TargetArchitecture)
true