简体   繁体   中英

.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: 在此处输入图片说明

But .NET Core 3.0.0 preview runtime is installed 在此处输入图片说明

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM