Teamcity build error RUNREADYTORUNCOMPILER with amazon services

问题描述 投票:0回答:1

我正在Net Core 3.1中使用AWS服务。我已经在teamcity中设置了独立步骤,以便在发布项目时为我提供独立exe文件。

尝试在Team City上构建该错误时出现了异常错误。有类似问题的人吗?

尝试在teamcity中运行命令:

dotnet.exe发布-配置发布-输出.. \ publish-win-x64 @C:\ BuildAgent2 \ temp \ agentTmp \ 21.rsp --no-restore -r win-x64 --self-contained:true / p:SolutionDir = .. / p:PublishSingleFile = true / p:PublishReadyToRun = true / p:PublishReadyToRunShowWarnings = true / p:PublishTrimmed = false /p:Version=3.16.1.17490-ff-2393-game-me / p:DisableSwagger =%isProduction%/ p:TreatWarningsAsErrors = true / warnaserror

出现错误:

RUNREADYTORUNCOMPILER:错误:找不到方法:'无效 Amazon.Runtime.Internal.Transform.JsonUnmarshallerContext..ctor(System.IO.Stream, 布尔值,Amazon.Runtime.Internal.Transform.IWebResponseData)”。而 解决0xa0003df- Amazon.Runtime.Internal.Transform.JsonUnmarshallerContext..ctor。

c# teamcity
1个回答
0
投票

通过安装最新版本的awssdk dynamodbv2软件包来解决。

© www.soinside.com 2019 - 2024. All rights reserved.