I am following REST API Custom Route example plugin to create custom routes on our custom plugin but when I am calling a route using Postman I am getting error FileNotFoundException
{
"ResponseStatus": {
"ErrorCode": "FileNotFoundException",
"Message": "Could not load file or assembly 'REST API, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.",
"StackTrace": "[WarehouseDto: 6/2/2023 11:29:58 AM]:\n[REQUEST: {}]\nSystem.IO.FileNotFoundException: Could not load file or assembly 'REST API, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.\r\nFile name: 'REST API, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'\r\n at CustomEndpoints.<Post>d__0.MoveNext()\r\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)\r\n at CustomEndpoints.Post(WarehouseDto WarehouseDto)\r\n at lambda_method(Closure , Object , Object )\r\n at ServiceStack.Host.ServiceRunner`1.<ExecuteAsync>d__13.MoveNext()\r\n\r\n=== Pre-bind state information ===\r\nLOG: DisplayName = REST API, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\n (Fully-specified)\r\nLOG: Appbase = file:///C:/Program Files (x86)/Jiwa Financials/Jiwa 7/\r\nLOG: Initial PrivatePath = NULL\r\nCalling assembly : (Unknown).\r\n===\r\nLOG: This bind starts in default load context.\r\nLOG: Using application configuration file: C:\\Program Files (x86)\\Jiwa Financials\\Jiwa 7\\JiwaAPISelfHostedService.exe.Config\r\nLOG: Using host configuration file: \r\nLOG: Using machine configuration file from C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\config\\machine.config.\r\nLOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).\r\nLOG: The same bind was seen before, and was failed with hr = 0x80070002.\r\n",
"Errors": []
}
}