WPF using sdk csproj with Desktop bridge

Avi Stokar 1 Reputation point
2020-06-05T00:20:08.41+00:00

In preparation for converting my WPF app to .net core I changed the csproj to the sdk format. It compiles and run but the installer projects that create the package I use for side loading has an error specifying that my wpf project target net472. It cannot be referenced by a project that targets .netcore, version5.0'

Does this mean I need change the target the WPF app to .net core now

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,762 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Avi Stokar 1 Reputation point
    2020-06-05T16:30:20.93+00:00

    I don't use the store but I use the bridge to create a package for sideloading the app within our company. It has been working for more than a year. I plan to convert it to a .net 3.1 WPF app shortly and was updating to the SDK format csproj in preparation for the move to .net core 3.1. but doing so creates a breaking error in the bridge installer app


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.