我正在Web api .net core 3.0应用程序中使用p4bridge。 在Windows上,我可以执行perforce操作,但是在Linux p4bridge上,则无法加载。
我知道p4bridge是一个通过p4api.dll使用的com dll,并且预见到了这个可能的问题,但是我想知道是否有人成功了,或者现在不支持它。
User profile is available. Using '/home/.../.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
Hosting environment: Development
Content root path: /home/.../source/Sample/dotnet-docker/samples/P4TC/P4TC.API/P4TC.API
Now listening on: https://localhost:5001
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET https://localhost:5001/api/changelist/1/1/2
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
Route matched with {action = "Get", controller = "ChangeList"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Get(System.String, Int32, Int32) on controller P4TC.API.Controllers.ChangeListController (P4TC.API).
Unable to load shared library 'p4bridge.dll' or one of its dependencies. In order ```