如何讓Visual Studio 2005/2008引用64位GAC中的程序集而不是32位GAC?我們設置搜索目標platfom到x64和編譯器拋出的Visual Studio參考x64 GAC
Error 2 Warning as Error: Assembly generation -- Referenced assembly 'System.Data.dll' targets a different processor Common
Error 3 Warning as Error: Assembly generation -- Referenced assembly 'mscorlib.dll' targets a different processor Common
Error 4 Assembly signing failed; output may not be signed -- The system cannot find the file specified. Common
更新29錯誤08年12月
一直在嘗試Aaron Stebner's suggestions到64位組件放置到一個孤立的位置(例如C:\ Windows \ Microsoft.NET \ Framework64 \ v2.0.50727 \ GAC_64)並在註冊表中創建額外的條目,如HKLM \ SOFTWARE \ Microsoft.NETFramework \ AssemblyFolders \ GAC_64或HKLM \ SOFTWARE \ Microsoft.NETFramework \ v2.0.50727 \ AssemblyFoldersEx \ GAC_64,但Visual Studio 2005仍然沒有采用它......
是的,但沒關係。它是項目引用的BCL程序集,如System.Data.dll和mscorlib.dll。他們正在引用32位GAC中的程序集。很高興能夠選擇參考64位GAC。 – icelava 2008-10-22 08:55:17