diff --git a/build/Publish.targets b/build/Publish.targets
index 0c0aee6c87..a8f065fdc5 100644
--- a/build/Publish.targets
+++ b/build/Publish.targets
@@ -64,7 +64,6 @@
nuGetPackagesArchive-$(PackageVersion).lzma
aspnetcore-runtime-$(PackageVersion)
aspnetcore-runtime-latest
- aspnetcore-runtime-symbols-$(PackageVersion)
aspnetcore-runtime-internal-$(PackageVersion)
diff --git a/build/SharedFx.props b/build/SharedFx.props
index 2f35fd7778..4a3267e20d 100644
--- a/build/SharedFx.props
+++ b/build/SharedFx.props
@@ -11,6 +11,7 @@
<_DebToolDir>$(MSBuildThisFileDirectory)tools\dotnet-deb-tool-consumer\
<_SharedFxSourceDir>$(RepositoryRoot).deps\Signed\SharedFx\
<_InstallerSourceDir>$(RepositoryRoot).deps\Installers\
+ <_SymbolsSourceDir>$(RepositoryRoot).deps\Symbols\
<_DockerRootDir>/opt/code/
<_InstallersOutputDir>$(ArtifactsDir)installers\
diff --git a/build/SharedFx.targets b/build/SharedFx.targets
index 3c1502a019..589cc66b4d 100644
--- a/build/SharedFx.targets
+++ b/build/SharedFx.targets
@@ -284,9 +284,18 @@
+
+ %(RootDir)%(Directory)%(Filename).pdb
+
+
+ %(RootDir)%(Directory)%(Filename).pdb
+
+
<_AssembliesToCrossgen Include="$(SharedFxIntermediateOutputPath)**\*.dll" />
+
+
@@ -303,6 +312,14 @@
+
+
+
+
+
+
+
+
-
+
+
+ runtime.$(SharedFxRID).$(SymbolsNuspecIdSuffix)
+
+
-
-
+ <_SymbolFiles Include="$(SymbolsWorkDir)**\*.pdb;$(SymbolsWorkDir)**\*.map" />
+
+ %(RecursiveDir)%(Filename)%(Extension)
+
-
-
+
+
+
+
+ PackageFiles="@(SymbolFiles)"
+ BasePath="$(SymbolsWorkDir)" />
+
+
+
+
+ $(_WorkRoot)Symbols\Microsoft.AspNetCore.App\
+ $(_WorkRoot)Symbols\Microsoft.AspNetCore.All\
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SymbolsWorkDir=$(AppSharedFxSymbolsDirectory)
+ $(AppSymbolsArguments);SymbolsNuspecIdSuffix=Microsoft.AspNetCore.App.symbols
+ $(AppSymbolsArguments);Description=Symbol packages for Microsoft.AspNetCore.App shared framework
+ SymbolsWorkDir=$(AllSharedFxSymbolsDirectory)
+ $(AllSymbolsArguments);SymbolsNuspecIdSuffix=Microsoft.AspNetCore.All.symbols
+ $(AllSymbolsArguments);Description=Symbol packages for Microsoft.AspNetCore.All shared framework
+
+
+
+
+
diff --git a/build/repo.props b/build/repo.props
index d7ece91600..4a773a8f0a 100644
--- a/build/repo.props
+++ b/build/repo.props
@@ -25,10 +25,6 @@
-
-
-
-
diff --git a/build/tools/templates/SharedFxSymbols/SharedFrameworkSymbols.nuspec b/build/tools/templates/SharedFxSymbols/SharedFrameworkSymbols.nuspec
new file mode 100644
index 0000000000..fed64a5849
--- /dev/null
+++ b/build/tools/templates/SharedFxSymbols/SharedFrameworkSymbols.nuspec
@@ -0,0 +1,21 @@
+
+
+
+ $ID$
+ $VERSION$
+ $DESCRIPTION$
+ Microsoft
+ Microsoft
+ Copyright © Microsoft Corporation
+ https://raw.githubusercontent.com/aspnet/Home/2.0.0/LICENSE.txt
+ https://go.microsoft.com/fwlink/?LinkID=288859
+ https://asp.net
+ true
+ true
+ aspnetcore
+
+
+
+
+
+