使用亚马逊服务的 Teamcity 构建错误 RUNREADYTORUNCOMPILER
Teamcity build error RUNREADYTORUNCOMPILER with amazon services
我在 net core 3.1 中使用 aws 服务。我已经在 teamcity 中设置了独立步骤,以便在发布项目时为我提供独立的 exe 文件。
我在尝试在 team city 上构建它时遇到异常错误。有人有类似的问题吗?
正在尝试 运行 teamcity 中的命令:
dotnet.exe publish --configuration Release --output ..\publish-win-x64
@C:\BuildAgent2\temp\agentTmp.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 : error : Method not found: 'Void
Amazon.Runtime.Internal.Transform.JsonUnmarshallerContext..ctor(System.IO.Stream,
Boolean, Amazon.Runtime.Internal.Transform.IWebResponseData)'. while
resolving 0xa0003df -
Amazon.Runtime.Internal.Transform.JsonUnmarshallerContext..ctor.
通过安装最新版本的 awssdk dynamodbv2 软件包解决。
我在 net core 3.1 中使用 aws 服务。我已经在 teamcity 中设置了独立步骤,以便在发布项目时为我提供独立的 exe 文件。
我在尝试在 team city 上构建它时遇到异常错误。有人有类似的问题吗?
正在尝试 运行 teamcity 中的命令:
dotnet.exe publish --configuration Release --output ..\publish-win-x64 @C:\BuildAgent2\temp\agentTmp.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 : error : Method not found: 'Void Amazon.Runtime.Internal.Transform.JsonUnmarshallerContext..ctor(System.IO.Stream, Boolean, Amazon.Runtime.Internal.Transform.IWebResponseData)'. while resolving 0xa0003df - Amazon.Runtime.Internal.Transform.JsonUnmarshallerContext..ctor.
通过安装最新版本的 awssdk dynamodbv2 软件包解决。