简体   繁体   中英

ASP.NET Core 3: cannot run on linux

I have created a small ASP.NET Core 3.0 self-contained app console. Build for Windows - it works. But when publish for linux, copy and run it in linux then I receive:

The specified framework 'Microsoft.AspNetCore.App', version '3.0.0' was not found.

Check the files: really, no this file in the directory.

I have installed the latest update for the VS2019, installed the NET Core 3.1 SDK. Then have rebuilt the project, publish it for linux, copied and run on Linux. It works. No any Microsoft.AspNetCore.App requirement anymore. It seems VS2019 Preview bug.

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