File tree 2 files changed +3
-4
lines changed 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 120
120
<TargetingPackVersion Condition =" '%(TargetFramework)' == '$(DefaultNetCoreTargetFramework)' and '$(IsServicingBuild)' != 'true'" >$(MicrosoftNETCoreAppRefPackageVersion)</TargetingPackVersion >
121
121
</KnownFrameworkReference >
122
122
123
- <!-- Workaround while there is no publicly released 5.0 SDK available for source build (except for Razor projects, which use a 5.0 SDK already) -->
123
+ <!-- Workaround while there is no publicly released 5.0 SDK available for source build -->
124
124
<FrameworkReference
125
125
Update =" Microsoft.NETCore.App"
126
- Condition =" '$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)' and '$(DotNetBuildFromSource)' == 'true' and '$(RazorLangVersion)' == '' "
126
+ Condition =" '$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)' and '$(DotNetBuildFromSource)' == 'true'"
127
127
RuntimeFrameworkVersion =" $(MicrosoftNETCoreAppRuntimeVersion)"
128
128
TargetingPackVersion =" $(MicrosoftNETCoreAppRefPackageVersion)"
129
129
/>
Original file line number Diff line number Diff line change 38
38
</ItemGroup >
39
39
40
40
<!-- Source Build still uses a 3.0 SDK, which we need to retarget to 5.0 until the first 5.0 SDK is publicly released -->
41
- <!-- Razor projects already use a 5.0 SDK, so we shouldn't retarget those -->
42
- <ItemGroup Condition =" '$(DotNetBuildFromSource)' == 'true' and '$(RazorLangVersion)' == ''" >
41
+ <ItemGroup Condition =" '$(DotNetBuildFromSource)' == 'true'" >
43
42
<KnownFrameworkReference
44
43
Include =" @(KnownFrameworkReference->WithMetadataValue('TargetFramework', 'netcoreapp3.0'))"
45
44
TargetFramework =" netcoreapp5.0"
You can’t perform that action at this time.
0 commit comments