Skip to content

Commit e284585

Browse files
authored
Fix MSB3277 “WindowsBase” conflicts in dev apps by enabling WPF build ref (#5482)
<UseWPF>true</UseWPF>
1 parent c993659 commit e284585

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

tests/devapps/Net5TestApp/Net5TestApp.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net8.0-windows10.0.17763.0</TargetFramework>
66
<Configurations>Debug;Release;Debug + MobileApps</Configurations>
7+
<UseWPF>true</UseWPF>
78
</PropertyGroup>
89

910
<ItemGroup>

tests/devapps/NetFxConsoleTestApp/NetFxConsoleApp.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
99
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1010
<UseWinForms>true</UseWinForms>
11+
<UseWPF>true</UseWPF>
1112
<Configurations>Debug;Release;Debug + MobileApps</Configurations>
1213
</PropertyGroup>
1314

tests/devapps/WAM/NetCoreWinFormsWam/NetCoreWinFormsWAM.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<OutputType>WinExe</OutputType>
55
<TargetFrameworks>net8.0-windows10.0.17763.0</TargetFrameworks>
66
<UseWindowsForms>true</UseWindowsForms>
7+
<UseWPF>true</UseWPF>
78
<Configurations>Debug;Release;Debug + MobileApps</Configurations>
89
</PropertyGroup>
910

tests/devapps/WinFormsTestApp/WinFormsTestApp.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
66
<RootNamespace>WinFormsTestApp</RootNamespace>
77
<UseWindowsForms>true</UseWindowsForms>
8+
<UseWPF>true</UseWPF>
89
<Platforms>x86;x64;ARM64</Platforms>
910
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
1011
<Nullable>enable</Nullable>

0 commit comments

Comments
 (0)