在添加signalR之后,asp.net在本地构建得很好,但在devops上构建失败

我得到的错误。

type=Error;sourcepath=D:\a\1\s\Hubs\FiscalAttestsHub.cs;linenumber=9;columnnumber=24;code=CS0234;The :命名空间“”Microsoft.AspNet“”中不存在vsotask.logissue Microsoft.AspNet类型或命名空间名称“”SignalR“”(是否缺少程序集引用?)“”Hubs\FiscalAttestsHub.cs(9,24):错误CS0234:类型或命名空间名称'SignalR‘在命名空间'Microsoft.AspNet’中不存在(是否缺少程序集引用?)D:\a\1\s.csproj

error\Startup.cs(2,24):错误CS0234:类型或命名空间名称'SignalR‘在命名空间'Microsoft.AspNet’中不存在(是否缺少程序集引用?)

type=Error;sourcepath=D:\a\1\s\Startup.cs;linenumber=2;columnnumber=24;code=CS0234;The :命名空间“”Microsoft.AspNet“”中不存在vsotask.logissue Microsoft.AspNet类型或命名空间名称“”SignalR“”(是否缺少程序集引用?)“”Startup.cs(2,24):错误CS0234:类型或命名空间名称'SignalR‘在命名空间'Microsoft.AspNet’中不存在(是否缺少程序集引用?)D:\a\1\s.csproj

error\Hubs\FiscalAttestsHub.cs(14,37):错误CS0246:找不到类型或命名空间名称'Hub<>‘(是否缺少using指令或程序集引用?)

using :未能找到type=Error;sourcepath=D:\a\1\s\Hubs\FiscalAttestsHub.cs;linenumber=14;columnnumber=37;code=CS0246;The类型或命名空间名称“”debugProcessed“”(是否缺少vsotask.logissue指令或程序集引用?)“”Hubs\FiscalAttestsHub.cs(14,37):错误CS0246:找不到类型或命名空间名称'Hub<>‘(是否缺少using指令或程序集引用?)D:\a\1\s.csproj

warning\Mail\Models\PaymentReceivedMM.cs(100,23):警告名称:“”PaymentReceivedMM.TenantName“”隐藏继承的成员“”MailModel.TenantName“”。“”如果有意隐藏,请使用new关键字。

MailModel.TenantName: vsotask.logissue MailModel.TenantName隐藏继承的成员。如果有意隐藏,请使用new关键字。Mail\Models\PaymentReceivedMM.cs(100,23):警告CS0108:“”PaymentReceivedMM.TenantName“”隐藏继承的成员“”MailModel.TenantName“”。“”如果有意隐藏,请使用new关键字。D:\a\1\s.csproj

error\Controllers\Identity\AccountController.cs(59,17):错误CS0246:未能找到类型或命名空间名称“IAuthenticationManager”(是否缺少using指令或程序集引用?)

using :未能找到type=Error;sourcepath=D:\a\1\s\Controllers\Identity\AccountController.cs;linenumber=59;columnnumber=17;code=CS0246;The类型或命名空间名称“”debugProcessed“”(是否缺少vsotask.logissue指令或程序集引用?)“”Controllers\Identity\AccountController.cs(59,17):错误CS0246:未能找到类型或命名空间名称“IAuthenticationManager”(是否缺少using指令或程序集引用?)D:\a\1\s.csproj

error\Controllers\Identity\ManageController.cs(72,17):错误CS0246:未能找到类型或命名空间名称“IAuthenticationManager”(是否缺少using指令或程序集引用?)

using :未能找到type=Error;sourcepath=D:\a\1\s\Controllers\Identity\ManageController.cs;linenumber=72;columnnumber=17;code=CS0246;The类型或命名空间名称“”debugProcessed“”(是否缺少vsotask.logissue指令或程序集引用?)“”Controllers\Identity\ManageController.cs(72,17):错误CS0246:未能找到类型或命名空间名称“IAuthenticationManager”(是否缺少using指令或程序集引用?)D:\a\1\s.csproj

error\Models\Identity\AppRoleManager.cs(16,61):错误CS0246:未能找到类型或命名空间名称“IOwinContext”(是否缺少using指令或程序集引用?)

using :未能找到type=Error;sourcepath=D:\a\1\s\Models\Identity\AppRoleManager.cs;linenumber=16;columnnumber=61;code=CS0246;The类型或命名空间名称“”debugProcessed“”(是否缺少vsotask.logissue指令或程序集引用?)“”Models\Identity\AppRoleManager.cs(16,61):错误CS0246:找不到类型或命名空间名称'IOwinContext‘(是否缺少using指令或程序集引用?)D:\a\1\s.csproj

error\Models\Identity\AppSigninManager.cs(21,97):错误CS0246:未能找到类型或命名空间名称“IOwinContext”(是否缺少using指令或程序集引用?)

using :未能找到type=Error;sourcepath=D:\a\1\s\Models\Identity\AppSigninManager.cs;linenumber=21;columnnumber=97;code=CS0246;The类型或命名空间名称“”debugProcessed“”(是否缺少vsotask.logissue指令或程序集引用?)“”Models\Identity\AppSigninManager.cs(21,97):错误CS0246:找不到类型或命名空间名称'IOwinContext‘(是否缺少using指令或程序集引用?)D:\a\1\s.csproj

error\Models\Identity\AppSigninManager.cs(13,61):错误CS0246:未能找到类型或命名空间名称“IAuthenticationManager”(是否缺少using指令或程序集引用?)

using :未能找到type=Error;sourcepath=D:\a\1\s\Models\Identity\AppSigninManager.cs;linenumber=13;columnnumber=61;code=CS0246;The类型或命名空间名称“”debugProcessed“”(是否缺少vsotask.logissue指令或程序集引用?)“”Models\Identity\AppSigninManager.cs(13,61):错误CS0246:找不到类型或命名空间名称“IAuthenticationManager”(是否缺少using指令或程序集引用?)D:\a\1\s.csproj

error\Models\Identity\AppUserManager.cs(24,93):错误CS0246:未能找到类型或命名空间名称“IOwinContext”(是否缺少using指令或程序集引用?)

using :未能找到type=Error;sourcepath=D:\a\1\s\Models\Identity\AppUserManager.cs;linenumber=24;columnnumber=93;code=CS0246;The类型或命名空间名称“”debugProcessed“”(是否缺少vsotask.logissue指令或程序集引用?)“”Models\Identity\AppUserManager.cs(24,93):错误CS0246:找不到类型或命名空间名称'IOwinContext‘(是否缺少using指令或程序集引用?)D:\a\1\s.csproj

error\Models\Identity\ManageViewModels.cs(37,22):错误CS0246:未能找到类型或命名空间名称“AuthenticationDescription”(是否缺少using指令或程序集引用?)

转载请注明出处:http://www.insurance-fj.com/article/20230526/942132.html