Problems with Centos7 deployment of the .netcore project

it seems that there are very few questions about .NET here, so ask someone who is familiar with it.

The

server is Centos7,. Net core 2.2, which is deploying a web api project.

The

test deploys a new empty WEB API project to test OK.
then uploads a WEB API project that uses MYSQL, which by default depends on Google.Protobuf, so I compiled and installed Protobuf on the server.

-sharp protoc --version
libprotoc 3.5.1

then run the project, and the library cannot be found by error, but it has already been installed.

$ dotnet /web/out/DemoAPI.dll
Error:
  An assembly specified in the application dependencies manifest (DemoAPI.deps.json) was not found:
    package: "Google.Protobuf", version: "3.5.1"
    path: "lib/netstandard1.0/Google.Protobuf.dll"

What went wrong with

?

Feb.16,2022

compiling and installing libprotoc and .net libraries are two different things.

Why not try

dotnet add package Google.Protobuf --version 3.6.1 

failed to find this library, but the latest version of

is already installed.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32545-2bdfb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32545-2bdfb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?