Bohdan Bessonov
Bohdan Bessonov

Reputation: 428

.NET Core application does not start

I create an application using Microsoft Visual Studio 2019 Preview (version 16.3.0 Preview 2.0). After I published it using CLI, application does not start on consumer's machine without an error. When tried to start using CLI consumer gets this error: enter image description here

But .NET Core 3.0.0 preview runtime is installed enter image description here

When I publish as full package (with all libraries placed in the app's folder) app is working OK.

I have no idea what is wrong.

Upvotes: 1

Views: 4680

Answers (1)

Lukasz Szczygielek
Lukasz Szczygielek

Reputation: 3110

There is an open issue in dotnet/wpf repository about it: https://github.com/dotnet/wpf/issues/656

Probably current workarounds are:

  • Deploy app as self-contained.
  • Install SDK on client machine.

Upvotes: 3

Related Questions