diff --git a/src/SourceBuild/content/eng/tools/generate-graphviz/generate-graphviz.proj b/src/SourceBuild/content/eng/tools/generate-graphviz/generate-graphviz.proj
deleted file mode 100644
index b35a7aa50..000000000
--- a/src/SourceBuild/content/eng/tools/generate-graphviz/generate-graphviz.proj
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
- $(NetCurrent)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- $(BaseIntermediateOutputPath)graphviz.dot
- $(BaseIntermediateOutputPath)graphviz.png
- digraph {
-graph [ dpi = 150 ]
-@(RepoLink -> '%(Text)')
-}
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/SourceBuild/content/repo-projects/Directory.Build.props b/src/SourceBuild/content/repo-projects/Directory.Build.props
index 77f9a7ca8..ec56c01a8 100644
--- a/src/SourceBuild/content/repo-projects/Directory.Build.props
+++ b/src/SourceBuild/content/repo-projects/Directory.Build.props
@@ -33,6 +33,11 @@
$(BaseIntermediateOutputPath)$([System.IO.Path]::GetFileName('$(OriginalNuGetConfigFile)'))
$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'source-built-sdks'))
+ $([MSBuild]::NormalizeDirectory('$(ArtifactsShippingPackagesDir)', '$(RepositoryName)'))
+ $(ReferencePackagesDir)
+ $([MSBuild]::NormalizeDirectory('$(ArtifactsNonShippingPackagesDir)', '$(RepositoryName)'))
+ $(ReferencePackagesDir)
+
$([MSBuild]::ValueOrDefault('$(ARCADE_BOOTSTRAP_VERSION)', '$(ArcadeSdkVersion)'))
diff --git a/src/SourceBuild/content/repo-projects/Directory.Build.targets b/src/SourceBuild/content/repo-projects/Directory.Build.targets
index 7830ecbde..bfa4fc594 100644
--- a/src/SourceBuild/content/repo-projects/Directory.Build.targets
+++ b/src/SourceBuild/content/repo-projects/Directory.Build.targets
@@ -32,19 +32,6 @@
$(IntermediateSymbolsRootDir)$(RepositoryName)
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -53,6 +40,28 @@
+
+
+
+
+
+
+ source-built-%(Identity)
+ source-built-transport-%(Identity)
+ $(ArtifactsShippingPackagesDir)/%(Identity)/
+ $(ArtifactsNonShippingPackagesDir)/%(Identity)/
+
+
+
+
+
+
+
+
+
+
-
- source-built
-
- source-built-transport
- $(SourceBuiltShippingNuGetSourceName);$(SourceBuiltNonShippingNuGetSourceName)
-
ExtraSources
- $(SourceBuildSources);$(ExtraSourcesNuGetSourceName)
prebuilt
previously-source-built
reference-packages
- $(SourceBuildSources);$(PrebuiltNuGetSourceName);$(PreviouslySourceBuiltNuGetSourceName);$(ReferencePackagesNuGetSourceName)
+
+ <_CommonBuildSources Include="@(DependentRepoSourceName)" />
+ <_CommonBuildSources Include="$(ExtraSourcesNuGetSourceName)" Condition="'$(ExtraRestoreSourcePath)' != ''" />
+
+
+
+ <_BuildSources Condition="'$(DotNetBuildSourceOnly)' == 'true'"
+ Include="$(PrebuiltNuGetSourceName);$(PreviouslySourceBuiltNuGetSourceName);$(ReferencePackagesNuGetSourceName)" />
+ <_BuildSources Include="@(_CommonBuildSources)" />
+
+
+
+
- <_CurrentSourceBuiltPackages Include="$(ArtifactsPackagesDir)**\*.nupkg"
+
+ <_CurrentSourceBuiltPackages Include="@(DependentRepoPackageFile)"
Condition="!$([System.String]::Copy('%(Identity)').EndsWith('.symbols.nupkg'))" />
<_PreviouslyBuiltSourceBuiltPackages Include="$(PrebuiltSourceBuiltPackagesPath)*.nupkg" />
@@ -268,11 +290,12 @@
-
+
- <_DependentProject Include="@(RepositoryReference -> '%(Identity).proj')" />
+ <_DependentProject Include="@(TransitiveRepositoryReference -> '%(Identity).proj')" />
@@ -397,14 +418,12 @@
- $(ArtifactsNonShippingPackagesDir)
- $(ReferencePackagesDir)
+ $(RepoArtifactsNonShippingPackagesDir)
- $(ArtifactsShippingPackagesDir)
- $(ReferencePackagesDir)
+ $(RepoArtifactsShippingPackagesDir)
@@ -505,8 +524,7 @@
Inputs="$(MSBuildProjectFullPath)"
Outputs="$(BaseIntermediateOutputPath)ExtractToolPackage.complete">
- <_ToolPackagesRoot Condition="'$(RepositoryName)' != 'source-build-reference-packages'">$(ArtifactsNonShippingPackagesDir)
- <_ToolPackagesRoot Condition="'$(RepositoryName)' == 'source-build-reference-packages'">$(ReferencePackagesDir)
+ <_ToolPackagesRoot>$(RepoArtifactsNonShippingPackagesDir)
@@ -693,4 +711,78 @@
+
+
+
+ <_TransitiveRepositoryReference Include="@(RepositoryReference)" />
+
+
+
+
+
+
+
+
+ <_TransitiveRepositoryReference Include="@(_DependencyTransitiveRepositoryReference)"
+ RemoveMetadata="MSBuildSourceProjectFile;MSBuildSourceTargetName;OriginalItemSpec" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_NextIndent>$(DependencyGraphIndent)__
+
+
+
+
+
+
+
+
+
+
+ <_DependencyGraphString>@(_DependencyGraphString, '')
+ <_LineBreak>%0a
+ $(DependencyGraphIndent)-_$(RepositoryName)$(_LineBreak)$(_DependencyGraphString)
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/aspnetcore.proj b/src/SourceBuild/content/repo-projects/aspnetcore.proj
index 59bd8e296..24dddd442 100644
--- a/src/SourceBuild/content/repo-projects/aspnetcore.proj
+++ b/src/SourceBuild/content/repo-projects/aspnetcore.proj
@@ -22,11 +22,16 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/cecil.proj b/src/SourceBuild/content/repo-projects/cecil.proj
index c4068fe7b..9cb33b7c4 100644
--- a/src/SourceBuild/content/repo-projects/cecil.proj
+++ b/src/SourceBuild/content/repo-projects/cecil.proj
@@ -4,4 +4,8 @@
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/command-line-api.proj b/src/SourceBuild/content/repo-projects/command-line-api.proj
index a16b2412a..28ba676c0 100644
--- a/src/SourceBuild/content/repo-projects/command-line-api.proj
+++ b/src/SourceBuild/content/repo-projects/command-line-api.proj
@@ -10,4 +10,8 @@
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/deployment-tools.proj b/src/SourceBuild/content/repo-projects/deployment-tools.proj
index 85976198a..7fd4eb25f 100644
--- a/src/SourceBuild/content/repo-projects/deployment-tools.proj
+++ b/src/SourceBuild/content/repo-projects/deployment-tools.proj
@@ -2,7 +2,11 @@
-
+
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/diagnostics.proj b/src/SourceBuild/content/repo-projects/diagnostics.proj
index c4068fe7b..9cb33b7c4 100644
--- a/src/SourceBuild/content/repo-projects/diagnostics.proj
+++ b/src/SourceBuild/content/repo-projects/diagnostics.proj
@@ -4,4 +4,8 @@
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/dotnet.proj b/src/SourceBuild/content/repo-projects/dotnet.proj
index 0de74d679..c5f305b1b 100644
--- a/src/SourceBuild/content/repo-projects/dotnet.proj
+++ b/src/SourceBuild/content/repo-projects/dotnet.proj
@@ -11,42 +11,12 @@
- If we have a repo that is not in sdk's dependency tree, we can still build it by including it here. -->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/emsdk.proj b/src/SourceBuild/content/repo-projects/emsdk.proj
index df9c06326..a210d9c4b 100644
--- a/src/SourceBuild/content/repo-projects/emsdk.proj
+++ b/src/SourceBuild/content/repo-projects/emsdk.proj
@@ -14,4 +14,8 @@
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/format.proj b/src/SourceBuild/content/repo-projects/format.proj
index 9418953b7..91744a768 100644
--- a/src/SourceBuild/content/repo-projects/format.proj
+++ b/src/SourceBuild/content/repo-projects/format.proj
@@ -2,9 +2,17 @@
+
+
+
+
+
+
-
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/fsharp.proj b/src/SourceBuild/content/repo-projects/fsharp.proj
index bac7243b5..2749c6f02 100644
--- a/src/SourceBuild/content/repo-projects/fsharp.proj
+++ b/src/SourceBuild/content/repo-projects/fsharp.proj
@@ -20,8 +20,12 @@
-
-
+
+
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/installer.proj b/src/SourceBuild/content/repo-projects/installer.proj
index 541b3205d..cb5fcc051 100644
--- a/src/SourceBuild/content/repo-projects/installer.proj
+++ b/src/SourceBuild/content/repo-projects/installer.proj
@@ -37,17 +37,26 @@
+
+
+
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
$(ArtifactsAssetsDir)$(SourceBuiltArtifactsTarballName).$(SourceBuiltSdkVersion).$(TargetRid)$(ArchiveExtension)
.version
-
+
-
-
+
+ <_AllRepoFiles Include="$(ArtifactsShippingPackagesDir)/**" />
+ <_AllRepoFiles Include="$(ArtifactsNonShippingPackagesDir)/**" />
+ <_ReferencePackageFiles Include="$(ReferencePackagesDir)**" />
+
+
+
+
+ <_SourceBuiltLayoutDir>$([MSBuild]::NormalizeDirectory('$(BaseIntermediateOutputPath)', 'artifacts-layout'))
+ SourceBuildReferencePackages
+
+
+
+
+
+
+
+
-
-
diff --git a/src/SourceBuild/content/repo-projects/razor.proj b/src/SourceBuild/content/repo-projects/razor.proj
index 800961ade..99eca651e 100644
--- a/src/SourceBuild/content/repo-projects/razor.proj
+++ b/src/SourceBuild/content/repo-projects/razor.proj
@@ -2,8 +2,11 @@
-
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/roslyn-analyzers.proj b/src/SourceBuild/content/repo-projects/roslyn-analyzers.proj
index 23819f499..eee275a05 100644
--- a/src/SourceBuild/content/repo-projects/roslyn-analyzers.proj
+++ b/src/SourceBuild/content/repo-projects/roslyn-analyzers.proj
@@ -8,8 +8,12 @@
+
+
+
-
+
+
diff --git a/src/SourceBuild/content/repo-projects/roslyn.proj b/src/SourceBuild/content/repo-projects/roslyn.proj
index 5f1c34aa5..dfbeb7102 100644
--- a/src/SourceBuild/content/repo-projects/roslyn.proj
+++ b/src/SourceBuild/content/repo-projects/roslyn.proj
@@ -28,9 +28,12 @@
-
-
+
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/runtime.proj b/src/SourceBuild/content/repo-projects/runtime.proj
index aa5b32962..9ad2c1035 100644
--- a/src/SourceBuild/content/repo-projects/runtime.proj
+++ b/src/SourceBuild/content/repo-projects/runtime.proj
@@ -33,8 +33,13 @@
-
-
+
+
+
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/scenario-tests.proj b/src/SourceBuild/content/repo-projects/scenario-tests.proj
index 25c6f1b9c..6d9422b61 100644
--- a/src/SourceBuild/content/repo-projects/scenario-tests.proj
+++ b/src/SourceBuild/content/repo-projects/scenario-tests.proj
@@ -1,9 +1,13 @@
-
-
+
+
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/sdk.proj b/src/SourceBuild/content/repo-projects/sdk.proj
index 69c6a2826..d307692ac 100644
--- a/src/SourceBuild/content/repo-projects/sdk.proj
+++ b/src/SourceBuild/content/repo-projects/sdk.proj
@@ -14,17 +14,28 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/source-build-externals.proj b/src/SourceBuild/content/repo-projects/source-build-externals.proj
index a391c4cd6..c86415ade 100644
--- a/src/SourceBuild/content/repo-projects/source-build-externals.proj
+++ b/src/SourceBuild/content/repo-projects/source-build-externals.proj
@@ -10,4 +10,9 @@
true
+
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/sourcelink.proj b/src/SourceBuild/content/repo-projects/sourcelink.proj
index 87026a8e9..3f0451a38 100644
--- a/src/SourceBuild/content/repo-projects/sourcelink.proj
+++ b/src/SourceBuild/content/repo-projects/sourcelink.proj
@@ -12,4 +12,8 @@
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/symreader.proj b/src/SourceBuild/content/repo-projects/symreader.proj
index c4068fe7b..9cb33b7c4 100644
--- a/src/SourceBuild/content/repo-projects/symreader.proj
+++ b/src/SourceBuild/content/repo-projects/symreader.proj
@@ -4,4 +4,8 @@
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/templating.proj b/src/SourceBuild/content/repo-projects/templating.proj
index 999d5a167..9677f1100 100644
--- a/src/SourceBuild/content/repo-projects/templating.proj
+++ b/src/SourceBuild/content/repo-projects/templating.proj
@@ -9,8 +9,12 @@
-
-
+
+
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/test-templates.proj b/src/SourceBuild/content/repo-projects/test-templates.proj
index a272afd4f..3013d77fd 100644
--- a/src/SourceBuild/content/repo-projects/test-templates.proj
+++ b/src/SourceBuild/content/repo-projects/test-templates.proj
@@ -6,7 +6,10 @@
-
+
+
+
+
diff --git a/src/SourceBuild/content/repo-projects/vstest.proj b/src/SourceBuild/content/repo-projects/vstest.proj
index c228f58a6..327d8aea1 100644
--- a/src/SourceBuild/content/repo-projects/vstest.proj
+++ b/src/SourceBuild/content/repo-projects/vstest.proj
@@ -9,8 +9,12 @@
+
+
+
-
+
+