久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

SGEN:試圖加載格式不正確的程序集

SGEN: An attempt was made to load an assembly with an incorrect format(SGEN:試圖加載格式不正確的程序集)
本文介紹了SGEN:試圖加載格式不正確的程序集的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我有一個可以在我的本地機器上正常構建的項目,但是,當我讓 TFS 構建它時,我收到以下錯誤 -

I have a project that can build fine on my local machine, however, when I get TFS to build it, I receive the following error -

SGEN:嘗試加載格式不正確的程序集:

SGEN: An attempt was made to load an assembly with an incorrect format:

在閱讀了此處有關此主題的許多其他帖子后,大多數人只是說我需要將構建類型更改為 x86 或 Any CPU,而不是 x64,但在嘗試了無數組合之后,這不是解決方案.我的程序也是一個windows服務,所以設置App Pool允許32位應用(其他人建議)也不是解決辦法.

After reading through many other posts here on this topic, most people just say I need to change the build type to either x86 or Any CPU, rather than x64, but after trying countless combinations, this was not the solution. My program is also a windows service, so setting the App Pool to allow 32 bit applications (as suggested by others) is also not the solution.

推薦答案

這個頁面終于解決了我的問題 - http://aplocher.wordpress.com/2012/10/12/sgen-an-attempt-was-made-to-load-an-assembly-with-an-incorrect-format-tfs-2010/

My problem was finally solved by this page - http://aplocher.wordpress.com/2012/10/12/sgen-an-attempt-was-made-to-load-an-assembly-with-an-incorrect-format-tfs-2010/

以防萬一該頁面將來消失,以下是所涉及的步驟 -

Just in case that page ever disappears in the future, here are the steps involved -

  1. 在團隊資源管理器中,右鍵單擊您的構建定義并選擇打開進程文件位置
  2. 雙擊選中的 XAML 文件
  3. 在設計器中,選擇名為 Sequence 的容器(這是圍繞其他所有內容的頂級容器).
  4. 在 Arguments 列表(通常位于底部)中,將 MSBuildPlatform 從 Microsoft.TeamFoundation.Build.Workflow.Activities.ToolPlatform.Auto 更改為 Microsoft.TeamFoundation.Build.Workflow.Activities.ToolPlatform.X86.
  5. 保存并關閉文件.
  6. 將文件重新檢入 TFS 并再次嘗試構建.

這篇關于SGEN:試圖加載格式不正確的程序集的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Is there a way to know if someone has bookmarked your website?(有沒有辦法知道是否有人為您的網站添加了書簽?)
Use of Different .Net Languages?(使用不同的 .Net 語言?)
Is there a C# library that will perform the Excel NORMINV function?(是否有執行 Excel NORMINV 函數的 C# 庫?)
Determining an #39;active#39; user count of an ASP.NET site(確定 ASP.NET 站點的“活動用戶數)
Select x random elements from a weighted list in C# (without replacement)(從 C# 中的加權列表中選擇 x 個隨機元素(無需替換))
Best way to keep track of current online users(跟蹤當前在線用戶的最佳方式)
主站蜘蛛池模板: 亚洲顶级毛片 | 九九在线精品视频 | 国产专区免费 | 亚洲精品一区av在线播放 | 成人高清视频在线观看 | 欧洲av一区 | 欧美一级欧美一级在线播放 | 91亚洲视频在线 | 久久精品国产亚洲 | 亚洲视频精品在线 | 亚洲精品美女 | 亚洲欧美精 | 亚洲久草 | 欧美五月婷婷 | 精品综合视频 | 中文字幕在线观看一区二区 | 国产在线观看一区二区三区 | 欧美性猛交 | 精品久久久久一区二区国产 | 色播视频在线观看 | 黄色一级在线播放 | 久久国产精品久久久久久 | 黄色一级免费看 | 日韩人体视频 | 免费在线播放黄色 | 国产专区在线 | 日韩无 | 中文字幕在线观看 | 国产精品成人在线播放 | 成人在线视频观看 | 欧美精品在线观看 | 亚洲淫视频 | 国产在线视频在线观看 | 日韩视频专区 | 国精产品一品二品国精在线观看 | 天堂久久网 | 91在线精品一区二区 | 国产高清精品一区二区三区 | 欧美日批 | 国产伦精品一区二区三区照片91 | 日韩视频在线观看中文字幕 |