0
jim created
Hello, I have an issue with generating a client proxy. Every time I need to regenerate a static client proxy using the command:
abp generate-proxy -t csharp -m myService -u https://localhost:44769 --without-contracts
an issue occurs. I don't understand why it happens, and I don't have any idea how to resolve it.
- ABP Framework version: v7.2.2
- UI type: Blazor
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:
Method 'AllotShare' cannot implement method from interface 'CmvPoint.ShareholderService.ShareTransactions.IShareTransactionAppService'. Return type should be 'System.Threading.Tasks.Task<CmvPoint.ShareholderService.ShareTransactions.ShareTransactionDto>'.
Inner Exception
Don't have any inner exception.
- Steps to reproduce the issue:"
The steps I've taken:
- Create the
IShareTransactionAppService
- Added
Task<ShareTransactionDto> AllotShare(AllotShareInputDto input);
on myIShareTransactionAppService
- Generate Client proxy using command mentioned above
For the reference: I've attached the image which is the IShareTransactionAppService