I am trying to execute an api made in net core 2. I installed the netcoresdk but when I try to execute it I get the following error:
An assembly specified in the application (ApiCasalSajumabavi.deps.json) was not found: package: 'Microsoft.AspNetCore.Antiforgery', version: '2.0.1' path: 'lib / netstandard2.0 / Microsoft.AspNetCore.Antiforgery.dll' This assembly was expected to be in the local runtime store as the application was published using the following target manifest files: aspnetcore-store-2.0.3.xml
I have also copied the store folder from / usr / share / dotnet / store and the folder / usr / share / dotnet / additionalDeps in the directory where the api is published and it still does not work I do not know what else to do. Any help is good. Thanks.