Jayy
Jayy
CC#
Created by Jayy on 8/14/2022 in #help
dotnet6 project failing on static abstracts with preview features set to true
C:\Users\Kellen James\source\Repos\ClemBot\ClemBot.Api\ClemBot.Api.Core\Features\Tags\Edit.cs(51,49): error CS8920: The
interface 'IQueryResult<Edit.TagDto>' cannot be used as type argument. Static member 'IQueryResult<Edit.TagDto>.Succes
s(Edit.TagDto?)' does not have a most specific implementation in the interface. [C:\Users\Kellen James\source\Repos\Cle
mBot\ClemBot.Api\ClemBot.Api.Core\ClemBot.Api.Core.csproj]
C:\Users\Kellen James\source\Repos\ClemBot\ClemBot.Api\ClemBot.Api.Core\Features\Tags\SetCustomTagPrefix.cs(31,48): err
or CS8920: The interface 'IQueryResult<ulong>' cannot be used as type argument. Static member 'IQueryResult<ulong>.Succ
ess(ulong)' does not have a most specific implementation in the interface. [C:\Users\Kellen James\source\Repos\ClemBot\
ClemBot.Api\ClemBot.Api.Core\ClemBot.Api.Core.csproj]
4 Warning(s)
261 Error(s)
C:\Users\Kellen James\source\Repos\ClemBot\ClemBot.Api\ClemBot.Api.Core\Features\Tags\Edit.cs(51,49): error CS8920: The
interface 'IQueryResult<Edit.TagDto>' cannot be used as type argument. Static member 'IQueryResult<Edit.TagDto>.Succes
s(Edit.TagDto?)' does not have a most specific implementation in the interface. [C:\Users\Kellen James\source\Repos\Cle
mBot\ClemBot.Api\ClemBot.Api.Core\ClemBot.Api.Core.csproj]
C:\Users\Kellen James\source\Repos\ClemBot\ClemBot.Api\ClemBot.Api.Core\Features\Tags\SetCustomTagPrefix.cs(31,48): err
or CS8920: The interface 'IQueryResult<ulong>' cannot be used as type argument. Static member 'IQueryResult<ulong>.Succ
ess(ulong)' does not have a most specific implementation in the interface. [C:\Users\Kellen James\source\Repos\ClemBot\
ClemBot.Api\ClemBot.Api.Core\ClemBot.Api.Core.csproj]
4 Warning(s)
261 Error(s)
I am seeing this error attempting to use static abstracts in a .net 6 project
24 replies