question

AviStokar-0544 avatar image
0 Votes"
AviStokar-0544 asked ·

WPF using sdk csproj with Desktop bridge

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-wpf
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Desktop Bridge is used to bring existing apps and games to the Microsoft Store. Did you want to convert your .Net framework 4.7.2 WPF app to Microsoft Store? Did you want to add a .Net Core project as a reference for a .Net framework WPF app ? Or want to migrate a WPF App to .NET Core 3?

0 Votes 0 ·

1 Answer

AviStokar-0544 avatar image
0 Votes"
AviStokar-0544 answered ·

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

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Could you show me your step of using bridge to create the package? Does the converted .Net core app run all right?

0 Votes 0 ·