79194873

Date: 2024-11-16 09:47:30
Score: 4
Natty:
Report link

as Simon Mourier Commented the solution was to add <UseWPF>true</UseWPF> to .csproj project file

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
    <TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
    <UseWPF>true</UseWPF>

Was related to How can I reference WindowsBase in .Net5?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Eliy Arlev