it seems that there are very few questions about .NET here, so ask someone who is familiar with it.
Theserver 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 ?