Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 1cbcc78

Browse files
authored
Set property in validation csproj (#28567)
1 parent 22d053f commit 1cbcc78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/Microsoft.Windows.Compatibility/tests/Microsoft.Windows.Compatibility.Validation.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<PreserveCompilationContext>true</PreserveCompilationContext>
4+
<!-- Setting NETCoreAppMaximumVersion to a high version so that the sdk doesn't complain if we're restoring/publishing for a higher version than the sdk. -->
5+
<NETCoreAppMaximumVersion>99.9</NETCoreAppMaximumVersion>
46
<PackageConflictPreferredPackages Condition="'$(TargetFramework)' != 'netcoreapp2.0'">Microsoft.Private.CoreFx.NETCoreApp;runtime.$(RID).Microsoft.Private.CoreFx.NETCoreApp;$(PackageConflictPreferredPackages)</PackageConflictPreferredPackages>
57
<DisableImplicitFrameworkReferences Condition="$(TargetFramework.Contains('netcoreapp'))">true</DisableImplicitFrameworkReferences>
68
</PropertyGroup>

0 commit comments

Comments
 (0)