首页 文章

Git推送后,Azure构建失败

提问于
浏览
2

我在azure中设置了一个网站,配置为在我向Git提交代码后进行部署 . 同步部分工作正常,因为Azure能够自动检测推送到Git并启动构建 .

但是,生成失败,并显示以下错误消息:

EastVisionSystems.Util - > C:\ DWASFiles \ Sites \ TheCastOd \ VirtualDirectory0 \ site \ repository \ Platform \ project \ EastVisionSystems.Util \ bin \ Release \ EastVisionSystems.Util.dll SGEN:错误:尝试加载程序集格式不正确:D:\ Program Files(x86)\ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.0 \ mscorlib.dll . [C:\ DWASFiles \网站\ TheCastOd \ VirtualDirectory0 \网站\库\平台\项目\ PaypalPaymentModule \ PaypalPaymentModule.csproj]

毋庸置疑,解决方案在本地机器上构建得很好 . 我甚至可以从Visual Studio部署到Azure,并且站点运行正常 .

我正在使用VS 2010 Ultimate并以.NET 4.0为目标 . Configuration Manager设置为“任何CPU” .

任何帮助将不胜感激 .

1 回答

相关问题