|
54 | 54 | <FrameworkReference
|
55 | 55 | Update="Microsoft.NETCore.App"
|
56 | 56 | Condition=" (('$(ProjectTargetFrameworkIdentifier)' == '${DefaultNetCoreTargetFramework}') AND '${DefaultNetCoreTargetFramework}' == '$(ProjectTargetFrameworkVersion)') AND '$(TargetLatestDotNetRuntime)' != 'false' "
|
57 |
| - RuntimeFrameworkVersion="${MicrosoftNETCoreAppRuntimeVersion}" |
| 57 | + RuntimeFrameworkVersion="${MicrosoftNETCoreAppRefVersion}" |
58 | 58 | TargetingPackVersion="${MicrosoftNETCoreAppRefVersion}" />
|
59 | 59 |
|
60 | 60 | <PackageReference Include="Microsoft.DotNet.ILCompiler"
|
61 | 61 | Condition=" '$(PublishAot)' == 'true' "
|
62 |
| - Version="${MicrosoftNETCoreAppRuntimeVersion}" /> |
| 62 | + Version="${MicrosoftNETCoreAppRefVersion}" /> |
63 | 63 | </ItemGroup>
|
64 | 64 |
|
65 | 65 | <ItemGroup>
|
66 | 66 | <!-- Use the same NETCore shared framework as repo built against except when building product code in servicing. -->
|
67 | 67 | <!-- We cannot use live shims when building tool packs in VMR - only package for current arch is available. -->
|
68 | 68 | <KnownFrameworkReference Update="Microsoft.NETCore.App" Condition=" '$(DotNetBuild)' != 'true' OR '$(PackAsToolShimRuntimeIdentifiers)' == '' ">
|
69 | 69 | <LatestRuntimeFrameworkVersion
|
70 |
| - Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRuntimeVersion}</LatestRuntimeFrameworkVersion> |
| 70 | + Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRefVersion}</LatestRuntimeFrameworkVersion> |
71 | 71 | <TargetingPackVersion
|
72 | 72 | Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRefVersion}</TargetingPackVersion>
|
73 | 73 | <!--
|
|
80 | 80 | -->
|
81 | 81 | <DefaultRuntimeFrameworkVersion Condition=" '$(IsServicingBuild)' != 'true' AND
|
82 | 82 | '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' AND
|
83 |
| - '$(TargetLatestDotNetRuntime)' != 'false' ">${MicrosoftNETCoreAppRuntimeVersion}</DefaultRuntimeFrameworkVersion> |
| 83 | + '$(TargetLatestDotNetRuntime)' != 'false' ">${MicrosoftNETCoreAppRefVersion}</DefaultRuntimeFrameworkVersion> |
84 | 84 | <RuntimePackRuntimeIdentifiers Condition="'$(DotNetBuild)' == 'true'">%(RuntimePackRuntimeIdentifiers);$(TargetRuntimeIdentifier)</RuntimePackRuntimeIdentifiers>
|
85 | 85 | </KnownFrameworkReference>
|
86 | 86 |
|
87 | 87 | <!-- We cannot use live shims when building tool packs in VMR - only package for current arch is available. -->
|
88 | 88 | <KnownAppHostPack Update="Microsoft.NETCore.App" Condition=" '$(DotNetBuild)' != 'true' OR '$(PackAsToolShimRuntimeIdentifiers)' == '' ">
|
89 | 89 | <AppHostPackVersion
|
90 |
| - Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRuntimeVersion}</AppHostPackVersion> |
| 90 | + Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRefVersion}</AppHostPackVersion> |
91 | 91 | <AppHostRuntimeIdentifiers Condition=" '$(DotNetBuildSourceOnly)' == 'true' ">$(TargetRuntimeIdentifier)</AppHostRuntimeIdentifiers>
|
92 | 92 | </KnownAppHostPack>
|
93 | 93 |
|
94 | 94 | <KnownRuntimePack Update="Microsoft.NETCore.App">
|
95 | 95 | <LatestRuntimeFrameworkVersion
|
96 |
| - Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRuntimeVersion}</LatestRuntimeFrameworkVersion> |
| 96 | + Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRefVersion}</LatestRuntimeFrameworkVersion> |
97 | 97 | <AppHostRuntimeIdentifiers Condition=" '$(DotNetBuildSourceOnly)' == 'true' ">$(TargetRuntimeIdentifier)</AppHostRuntimeIdentifiers>
|
98 | 98 | </KnownRuntimePack>
|
99 | 99 |
|
100 | 100 | <KnownWebAssemblySdkPack Update="Microsoft.NET.Sdk.WebAssembly.Pack">
|
101 | 101 | <WebAssemblySdkPackVersion
|
102 |
| - Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRuntimeVersion}</WebAssemblySdkPackVersion> |
| 102 | + Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRefVersion}</WebAssemblySdkPackVersion> |
103 | 103 | </KnownWebAssemblySdkPack>
|
104 | 104 |
|
105 | 105 | <KnownAspNetCorePack Update="Microsoft.AspNetCore.App.Internal.Assets">
|
|
109 | 109 |
|
110 | 110 | <KnownCrossgen2Pack Update="Microsoft.NETCore.App.Crossgen2">
|
111 | 111 | <Crossgen2PackVersion
|
112 |
| - Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRuntimeVersion}</Crossgen2PackVersion> |
| 112 | + Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRefVersion}</Crossgen2PackVersion> |
113 | 113 | <Crossgen2RuntimeIdentifiers Condition="'$(DotNetBuild)' == 'true'">%(Crossgen2RuntimeIdentifiers);$(NETCoreSdkRuntimeIdentifier);$(TargetRuntimeIdentifier)</Crossgen2RuntimeIdentifiers>
|
114 | 114 | </KnownCrossgen2Pack>
|
115 | 115 |
|
116 | 116 | <KnownILLinkPack Update="Microsoft.NET.ILLink.Tasks" Condition=" '$(DotNetBuildSourceOnly)' == 'true' ">
|
117 | 117 | <ILLinkPackVersion
|
118 |
| - Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRuntimeVersion}</ILLinkPackVersion> |
| 118 | + Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRefVersion}</ILLinkPackVersion> |
119 | 119 | </KnownILLinkPack>
|
120 | 120 |
|
121 | 121 | <!-- Use the just-built ASP.NET Core shared framework if available except when building product code in servicing. -->
|
|
0 commit comments