File tree Expand file tree Collapse file tree
src/coreclr/.nuget/Microsoft.NET.Sdk.IL Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 </File >
1616 </ItemGroup >
1717
18+ <PropertyGroup >
19+ <ILTargetsTemplateFile >Microsoft.NET.Sdk.IL.targets.template</ILTargetsTemplateFile >
20+ <ILTargetsOutputFile >$(IntermediateOutputPath)Microsoft.NET.Sdk.IL.targets</ILTargetsOutputFile >
21+ </PropertyGroup >
22+
23+ <Target Name =" ReplaceTemplateParametersInILTargetsTemplate"
24+ Inputs =" $(ILTargetsTemplateFile)"
25+ Outputs =" $(ILTargetsOutputFile)"
26+ BeforeTargets =" GetPackageFiles"
27+ DependsOnTargets =" CalculatePackageVersion" >
28+
29+ <GenerateFileFromTemplate TemplateFile =" $(ILTargetsTemplateFile)"
30+ OutputPath =" $(ILTargetsOutputFile)"
31+ Properties =" IlAsmVersion=$(PackageVersion)" >
32+ <Output TaskParameter =" ResolvedOutputPath" ItemName =" FileWrites" />
33+ </GenerateFileFromTemplate >
34+
35+ <ItemGroup >
36+ <File Include =" $(ILTargetsOutputFile)" >
37+ <TargetPath >targets</TargetPath >
38+ </File >
39+ </ItemGroup >
40+ </Target >
41+
1842 <Import Project =" $([MSBuild]::GetPathOfFileAbove(Directory.Build.targets))" />
1943</Project >
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Copyright (c) .NET Foundation. All rights reserved.
2828
2929 <PropertyGroup >
3030 <MicrosoftNetCoreIlasmPackageRuntimeId Condition =" '$(MicrosoftNetCoreIlasmPackageRuntimeId)' == ''" >$(NETCoreSdkPortableRuntimeIdentifier)</MicrosoftNetCoreIlasmPackageRuntimeId >
31- <MicrosoftNETCoreILAsmVersion Condition =" '$(MicrosoftNETCoreILAsmVersion)' == ''" >6.0.0 </MicrosoftNETCoreILAsmVersion >
31+ <MicrosoftNETCoreILAsmVersion Condition =" '$(MicrosoftNETCoreILAsmVersion)' == ''" >${IlAsmVersion} </MicrosoftNETCoreILAsmVersion >
3232 <MicrosoftNetCoreIlasmPackageName >runtime.$(MicrosoftNetCoreIlasmPackageRuntimeId).microsoft.netcore.ilasm</MicrosoftNetCoreIlasmPackageName >
3333 <MicrosoftNetCoreIldasmPackageName >runtime.$(MicrosoftNetCoreIlasmPackageRuntimeId).microsoft.netcore.ildasm</MicrosoftNetCoreIldasmPackageName >
3434
You can’t perform that action at this time.
0 commit comments