Skip to content

Commit ad48901

Browse files
committed
Include dnx.cmd in SDK MSI
1 parent 9767082 commit ad48901

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Layout/redist/targets/GenerateInstallerLayout.targets

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@
113113
DestinationFiles="@(SdkOutputFile -> '$(IntermediateSdkInstallerOutputPath)sdk\$(Version)\%(RecursiveDir)%(Filename)%(Extension)')"
114114
UseHardLinksIfPossible="true"
115115
SkipUnchangedFiles="true" />
116+
117+
<!-- Copy dnx script to root dotnet folder (which will map to DOTNETHOME) -->
118+
<Copy SourceFiles="dnx.cmd" DestinationFolder="$(IntermediateSdkInstallerOutputPath)" />
119+
116120
</Target>
117121

118122
</Project>

src/Layout/redist/targets/GenerateLayout.targets

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,6 @@
278278
DestinationFiles="$(OutputPath)/%(BundledTools.Identity).runtimeconfig.json"
279279
SkipUnchangedFiles="true" />
280280

281-
<Delete Files="$(OutputPath)/$(TargetName).deps.json;
282-
$(OutputPath)/$(TargetName).runtimeconfig.json" />
283-
284281
<Delete Files="$(OutputPath)/%(BundledToolProjects.Identity).dll;
285282
$(OutputPath)/%(BundledToolProjects.Identity).pdb" />
286283

0 commit comments

Comments
 (0)