File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 10
10
<OptimizationPreference >Size</OptimizationPreference >
11
11
<StackTraceSupport >false</StackTraceSupport >
12
12
<_IsPublishing >true</_IsPublishing >
13
+
14
+ <!-- Don't include TargetFramework in output path to make using the result in the redist targets simpler -->
15
+ <AppendTargetFrameworkToOutputPath >false</AppendTargetFrameworkToOutputPath >
13
16
</PropertyGroup >
14
17
15
18
<ItemGroup >
Original file line number Diff line number Diff line change 69
69
<ProjectReference Include =" ..\..\Resolvers\Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver\Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver.csproj" />
70
70
<ProjectReference Include =" $(RepoRoot)src\BuiltInTools\dotnet-watch\dotnet-watch.csproj" ReferenceOutputAssembly =" false" SkipGetTargetFrameworkProperties =" true" Private =" false" />
71
71
<ProjectReference Include =" $(RepoRoot)src\BuiltInTools\dotnet-format\dotnet-format.csproj" ReferenceOutputAssembly =" false" SkipGetTargetFrameworkProperties =" true" Private =" false" />
72
+ <ProjectReference Include =" ..\dnx\dnx.csproj" ReferenceOutputAssembly =" false" SkipGetTargetFrameworkProperties =" true" Private =" false" />
72
73
73
74
<ProjectReference Include =" $(RepoRoot)template_feed\*\*.csproj" ReferenceOutputAssembly =" false" SkipGetTargetFrameworkProperties =" true" Private =" false" />
74
75
</ItemGroup >
Original file line number Diff line number Diff line change 64
64
Overwrite =" true" />
65
65
</Target >
66
66
67
- <Target Name =" LayoutDnxScript " >
67
+ <Target Name =" LayoutDnxShim " >
68
68
<PropertyGroup >
69
- <DnxScriptSource Condition =" $([MSBuild]::IsOSPlatform('WINDOWS'))" >dnx.cmd</ DnxScriptSource >
70
- <DnxScriptSource Condition =" !$([MSBuild]::IsOSPlatform('WINDOWS'))" >dnx</DnxScriptSource >
69
+ <DnxShimSource Condition =" $([MSBuild]::IsOSPlatform('WINDOWS'))" >$(ArtifactsBinDir) dnx\$(Configuration)\win-$(TargetArchitecture)\publish\dnx.exe</ DnxShimSource >
70
+ <DnxShimSource Condition =" !$([MSBuild]::IsOSPlatform('WINDOWS'))" >dnx</DnxShimSource >
71
71
</PropertyGroup >
72
- <Copy SourceFiles =" $(DnxScriptSource )" DestinationFolder =" $(RedistInstallerLayoutPath)" />
72
+ <Copy SourceFiles =" $(DnxShimSource )" DestinationFolder =" $(RedistInstallerLayoutPath)" />
73
73
74
74
<!-- Mark script as executable -->
75
75
<Exec Command =" chmod 755 " $(RedistInstallerLayoutPath)/dnx" " Condition =" !$([MSBuild]::IsOSPlatform('Windows'))" />
92
92
LayoutManifests;
93
93
LayoutBaselineWorkloadSet;
94
94
LayoutWorkloadUserLocalMarker;
95
- LayoutDnxScript ;
95
+ LayoutDnxShim ;
96
96
CrossgenLayout;
97
97
ReplaceBundledRuntimePackFilesWithSymbolicLinks"
98
98
AfterTargets =" AfterBuild" />
You can’t perform that action at this time.
0 commit comments