Are there alternatives to MSIX packages for .NETCore 3.1 Desktop WPF Apps hosting EFCore

Michael 81 Reputation points
2020-07-31T20:11:44.53+00:00

I have created a .NET Core 3.1 desktop WPF app that hosts EntityFrameworkCore. The application runs in debug mode without error.

My application requires the following Nuget packages: microsoft.entityframeworkcore, micorsoft.entityframeworkcore.sqlserver and microsoft.entityframeworkcore.tools. However, I have found that creating an MSIX package of this project will result in an application that installs but then will not open. Further, I have found that if I leave out the microsoft.entityframeworkcore.tools package, the MSIX will create an app that installs and runs until the user tries a function that leverages the EFCore methods (interesting that I can leave out this package and the app runs fine in the debugger).

While I figure out the problem with the MSIX package technique of distribution I am looking for alternative ways to deploy my application. I seems that I can't make and .msi anymore and I don't see ClickOnce for this type of build. What other options are available and practical?

M

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,783 questions
{count} votes

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.