diff --git a/Microsoft.DotNet.Cli.sln b/Microsoft.DotNet.Cli.sln
index 499deeca1..227cdc110 100644
--- a/Microsoft.DotNet.Cli.sln
+++ b/Microsoft.DotNet.Cli.sln
@@ -35,6 +35,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{89905EC4
build\BundledTemplates.props = build\BundledTemplates.props
build\BundledTools.props = build\BundledTools.props
build\Compile.targets = build\Compile.targets
+ build\CrossGen.props = build\CrossGen.props
build\DependencyVersions.props = build\DependencyVersions.props
build\FileExtensions.props = build\FileExtensions.props
build\GitCommitInfo.targets = build\GitCommitInfo.targets
diff --git a/build/Compile.targets b/build/Compile.targets
index f151cd23a..2010fa6b3 100644
--- a/build/Compile.targets
+++ b/build/Compile.targets
@@ -2,13 +2,6 @@
-
- runtime.$(CoreCLRRid).microsoft.netcore.app
- $(NuGetPackagesDir)/$(RuntimeNETCoreAppPackageName)/$(CLI_SharedFrameworkVersion)/tools/crossgen$(ExeExtension)
- $(NuGetPackagesDir)/$(RuntimeNETCoreAppPackageName)/$(CLI_SharedFrameworkVersion)/runtimes/$(CoreCLRRid)/native/$(DynamicLibPrefix)clrjit$(DynamicLibExtension)
- $(OutputDirectory)/shared/$(SharedFrameworkName)/$(SharedFrameworkVersion)
-
-
@@ -29,112 +22,47 @@
Configuration="$(Configuration)"
ProjectPath="$(RootProject)" />
-
-
+
+
+
+
+
+ u=rw,g=r,o=r
+
-
-
+
+
+ u=rwx,g=rx,o=rx
+
-
-
-
+
+
+ u=rwx,g=rx,o=rx
+
+
-
-
+
-
-
-
+
+
+
-
-
-
-
-
+
-
-
-
+
+
+
+
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- u=rw,g=r,o=r
-
-
-
-
- u=rwx,g=rx,o=rx
-
-
-
-
- u=rwx,g=rx,o=rx
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ runtime.$(CoreCLRRid).microsoft.netcore.app
+ $(NuGetPackagesDir)/$(RuntimeNETCoreAppPackageName)/$(CLI_SharedFrameworkVersion)/tools/crossgen$(ExeExtension)
+ $(NuGetPackagesDir)/$(RuntimeNETCoreAppPackageName)/$(CLI_SharedFrameworkVersion)/runtimes/$(CoreCLRRid)/native/$(DynamicLibPrefix)clrjit$(DynamicLibExtension)
+ $(OutputDirectory)/shared/$(SharedFrameworkName)/$(SharedFrameworkVersion)
+
+
diff --git a/dir.props b/dir.props
index 859114d3e..1c28a15e9 100644
--- a/dir.props
+++ b/dir.props
@@ -31,6 +31,7 @@
+
diff --git a/src/redist/redist.csproj b/src/redist/redist.csproj
index 6d4ae2966..5044398c5 100644
--- a/src/redist/redist.csproj
+++ b/src/redist/redist.csproj
@@ -48,11 +48,19 @@
-
+
+
+
+
+
+ DestinationFiles="$(PublishDir)/%(BundledTools.Identity).deps.json" />
+ DestinationFiles="$(PublishDir)/%(BundledTools.Identity).runtimeconfig.json" />
@@ -101,4 +109,55 @@
SectionName="runtimeTargets"
AssetPath="%(NuPkgContentForMSBuildExtensionsRelativePaths.Identity)" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+