File tree 3 files changed +15
-15
lines changed 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 361
361
$(CoreClrProjectRoot)tools\AssemblyChecker\AssemblyChecker.csproj" Category =" clr" Condition =" '$(DotNetBuildSourceOnly)' != 'true'" />
362
362
<ProjectToBuild Include =" $(CoreClrProjectRoot)tools\aot\crossgen2\crossgen2.csproj" Category =" clr" />
363
363
<ProjectToBuild Include =" $(CoreClrProjectRoot)tools\aot\ILCompiler.Build.Tasks\ILCompiler.Build.Tasks.csproj" Category =" clr" Condition =" '$(NativeAotSupported)' == 'true'" />
364
- <ProjectToBuild Include =" $(CoreClrProjectRoot)tools\aot\ILCompiler\ILCompiler.csproj" Category =" clr" Condition =" '$(NativeAotSupported)' == 'true'" />
365
364
<ProjectToBuild Include =" $(CoreClrProjectRoot)nativeaot\BuildIntegration\BuildIntegration.proj" Category =" clr" Condition =" '$(NativeAotSupported)' == 'true'" />
366
365
367
366
<ProjectToBuild Condition =" '$(NativeAotSupported)' == 'true' and ('$(CrossBuild)' == 'true' or '$(BuildArchitecture)' != '$(TargetArchitecture)' or '$(HostOS)' != '$(TargetOS)' or '$(EnableNativeSanitizers)' != '')" Include =" $(CoreClrProjectRoot)tools\aot\ILCompiler\ILCompiler_crossarch.csproj" Category =" clr" />
529
528
530
529
<!-- Packs sets -->
531
530
531
+ <ItemGroup >
532
+ <ProjectToBuild Include =" $(InstallerProjectRoot)pkg\sfx\Microsoft.NETCore.App\Microsoft.NETCore.App.Host.sfxproj" Category =" packs" Condition =" '$(BuildNativeAOTRuntimePack)' != 'true' and '$(BuildOnlyPgoInstrumentedAssets)' != 'true' and '$(RuntimeFlavor)' == '$(PrimaryRuntimeFlavor)' and '$(TargetsMobile)' != 'true'" />
533
+ <ProjectToBuild Include =" $(CoreClrProjectRoot)tools\aot\ILCompiler\ILCompiler.csproj" Category =" clr" Condition =" '$(NativeAotSupported)' == 'true' and $(_subset.Contains('+clr.tools+'))" />
534
+ </ItemGroup >
535
+
532
536
<Choose >
533
537
<When Condition =" $(_subset.Contains('+packs.product+'))" >
534
538
<ItemGroup Condition =" '$(BuildOnlyPgoInstrumentedAssets)' != 'true'" >
535
539
<SharedFrameworkProjectToBuild Condition =" '$(BuildMonoAOTCrossCompilerOnly)' != 'true'" Include =" $(InstallerProjectRoot)pkg\sfx\Microsoft.NETCore.App\Microsoft.NETCore.App.Ref.sfxproj" />
536
540
</ItemGroup >
537
541
<ItemGroup Condition =" '$(BuildNativeAOTRuntimePack)' != 'true' and '$(BuildOnlyPgoInstrumentedAssets)' != 'true'" >
538
- <SharedFrameworkProjectToBuild Condition =" '$(RuntimeFlavor)' == '$(PrimaryRuntimeFlavor)' and '$(TargetsMobile)' != 'true'" Include =" $(InstallerProjectRoot)pkg\sfx\Microsoft.NETCore.App\Microsoft.NETCore.App.Host.sfxproj" />
539
542
<SharedFrameworkProjectToBuild Condition =" '$(RuntimeFlavor)' != 'Mono'" Include =" $(InstallerProjectRoot)pkg\sfx\Microsoft.NETCore.App\Microsoft.NETCore.App.Crossgen2.sfxproj" />
540
543
<SharedFrameworkProjectToBuild Condition =" '$(RuntimeFlavor)' == '$(PrimaryRuntimeFlavor)' and '$(TargetsMobile)' != 'true'" Include =" $(InstallerProjectRoot)pkg\sfx\installers\dotnet-host.proj" />
541
544
<SharedFrameworkProjectToBuild Condition =" '$(RuntimeFlavor)' == '$(PrimaryRuntimeFlavor)' and '$(TargetsMobile)' != 'true'" Include =" $(InstallerProjectRoot)pkg\sfx\installers\dotnet-hostfxr.proj" />
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<OutputPath >$(RuntimeBinDir)ilc/</OutputPath >
4
- <RuntimeIdentifier >$(PackageRID )</RuntimeIdentifier >
4
+ <RuntimeIdentifier >$(OutputRID )</RuntimeIdentifier >
5
5
</PropertyGroup >
6
6
7
- <Import Project =" ILCompiler.props" />
7
+ <PropertyGroup Condition =" '$(UseNativeAotForComponents)' != 'true' and '$(CrossBuild)' == 'true'" >
8
+ <UseLocalTargetingRuntimePack >true</UseLocalTargetingRuntimePack >
9
+ </PropertyGroup >
8
10
11
+ <Import Project =" $(RepositoryEngineeringDir)targetingpacks.targets" />
12
+ <Import Project =" $(RepositoryEngineeringDir)codeOptimization.targets" />
13
+
14
+ <Import Project =" ILCompiler.props" />
9
15
10
16
<!-- BEGIN: Workaround for https://github.com/dotnet/runtime/issues/67742 -->
11
17
<PropertyGroup Condition =" '$(BuildingInsideVisualStudio)' != 'true'" >
88
94
<Target Name =" PublishCompiler"
89
95
Condition =" '$(BuildingInsideVisualStudio)' != 'true'"
90
96
AfterTargets =" Build"
91
- DependsOnTargets =" Publish;StompSingleFileHostPath " />
97
+ DependsOnTargets =" Publish" />
92
98
93
- <!-- HACK: liveBuilds stomps over SingleFileHostSourcePath, setting it to the host that we just built.
94
- That's unfortunate because it's not the host we're supposed to use here. -->
95
- <Target Name =" StompSingleFileHostPath"
96
- BeforeTargets =" ResolveFrameworkReferences" >
97
- <PropertyGroup >
98
- <SingleFileHostSourcePath ></SingleFileHostSourcePath >
99
- </PropertyGroup >
100
- </Target >
101
- <!-- END: Workaround for https://github.com/dotnet/runtime/issues/67742 -->
102
99
</Project >
Original file line number Diff line number Diff line change 8
8
9
9
<PropertyGroup >
10
10
<PublishTrimmed >true</PublishTrimmed >
11
- <RuntimeIdentifier >$(PackageRID )</RuntimeIdentifier >
11
+ <RuntimeIdentifier >$(OutputRID )</RuntimeIdentifier >
12
12
<SelfContained >true</SelfContained >
13
13
<TargetFramework >$(NetCoreAppCurrent)</TargetFramework >
14
14
<UseLocalAppHostPack >true</UseLocalAppHostPack >
You can’t perform that action at this time.
0 commit comments