File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 3636 Condition=" (('$(ProjectTargetFrameworkIdentifier)' == '${DefaultNetCoreTargetFramework}') AND '${DefaultNetCoreTargetFramework}' == '$(ProjectTargetFrameworkVersion)') AND '$(TargetLatestDotNetRuntime)' != 'false' "
3737 RuntimeFrameworkVersion="${MicrosoftNETCoreAppRuntimeVersion}"
3838 TargetingPackVersion="${MicrosoftNETCoreAppRefVersion}" />
39+
40+ <PackageReference Include="Microsoft.Dotnet.ILCompiler"
41+ Condition=" '$(PublishAot)' == 'true' "
42+ Version="$(MicrosoftNETCoreAppRuntimeVersion)" />
3943 </ItemGroup>
4044
4145 <ItemGroup>
121125 <Warning Text="Requested Microsoft.AspNetCore.App v${MicrosoftAspNetCoreAppRuntimeVersion} does not exist."
122126 Condition=" !EXISTS('$(_DotNetRoot)shared\Microsoft.AspNetCore.App\${MicrosoftAspNetCoreAppRuntimeVersion}') " />
123127 </Target>
124-
125- <!--
128+
129+ <!--
126130 Make a netstandard2.1 copy of the .net ILLinkPack to work around a trimming issue.
127131 See https://github.com/dotnet/linker/issues/3175
128132 -->
You can’t perform that action at this time.
0 commit comments