Skip to content

Commit abaa1f7

Browse files
authored
Explicitly set UnsupportedTargetFrameworkVersion for VS support (#109769)
1 parent 22b3c90 commit abaa1f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Directory.Build.targets

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
unconditionally in Microsoft.NETCoreSdk.BundledVersions.props.
4242
-->
4343
<NETCoreAppMaximumVersion>$(NetCoreAppCurrentVersion)</NETCoreAppMaximumVersion>
44+
<UnsupportedTargetFrameworkVersion>$([MSBuild]::Add('$(NETCoreAppMaximumVersion.Split('.')[0])', '1')).0</UnsupportedTargetFrameworkVersion>
4445
<!-- SDK sets product to assembly but we want it to be our product name -->
4546
<Product>Microsoft%AE .NET</Product>
4647
<!-- Use the .NET product branding version for informational version description -->

0 commit comments

Comments
 (0)