久久久久久久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(跟蹤當前在線用戶的最佳方式)
主站蜘蛛池模板: 久久久精品日本 | 亚洲成人午夜在线 | 亚洲乱码国产乱码精品精98午夜 | 久久国产精品99久久久久久丝袜 | 日本三级电影在线观看视频 | 欧美精品一区二区三区在线播放 | 亚洲一二三在线观看 | 做a网站 | 亚洲欧洲激情 | 国产精品视频在线播放 | 懂色一区二区三区免费观看 | 国产成人av在线播放 | 福利久久| 91香蕉嫩草| 成人午夜激情 | a级黄色毛片免费播放视频 国产精品视频在线观看 | 99热这里有精品 | 在线免费观看a级片 | 欧美成ee人免费视频 | 日本手机看片 | 亚洲一区二区黄 | 久久夜视频 | 久久国产精品99久久久久 | 九九久久精品 | 欧美日韩亚洲二区 | 亚洲国产欧美日韩 | 婷婷桃色网 | www视频在线观看 | 午夜天堂精品久久久久 | 亚洲不卡在线视频 | 久久伊人精品 | 盗摄精品av一区二区三区 | 国内激情av片 | 成人免费淫片aa视频免费 | 国产精品日韩在线观看一区二区 | 成人在线视频免费观看 | 国产精品18毛片一区二区 | 夜夜爆操 | 久久久久国产精品一区二区 | 国产乱码精品一区二区三区中文 | 国产二区视频 |