2010-10-22 58 views
2

我試圖調試我的應用程序,我已經用下面的代碼... 但每當我嘗試調試應用程序,我得到上述錯誤....的Windows Mobile 6.0

Error 1 Deployment and/or registration failed with error: 0x8973190e. Error writing file '\Windows\NETCFv35.wm.ARMV4I.cab'. Error 0x80070070: There is not enough space on the disk.Device Connectivity Component not only with "NETCFv35.wm.ARMV4I.cab" it happens with different dlls at different times...

代碼如下

using System; 
using System.Linq; 
using System.Collections.Generic; 
using System.ComponentModel; 
using System.Data; 
using System.Drawing; 
using System.Text; 
using System.Windows.Forms; 
using Facebook; 
using Facebook.Entity; 

namespace WindowsMobileFacebookDemo 
{ 
    public partial class Form1 : Form 
    { 


     Facebook.API.FacebookAPI fbAPI = new Facebook.API.FacebookAPI(); 

     public Form1() 
     {    
      InitializeComponent(); 

      fbAPI.IsDesktopApplication = true; 
      fbAPI.ApplicationKey = "00b0a669821ecbb4a646f822fdb56ffe"; 
      fbAPI.Secret = "1b185cd1951cc7eb8bc28fdec7adb664"; 

      string savedAuthToken = fbAPI.AuthToken; 
      fbAPI.CreateSession(savedAuthToken); 
      string savedSecret = fbAPI.Secret; 
      string savedSessionKey = fbAPI.SessionKey;   
     } 
    } 
} 

請我已經嘗試通過

1.changing the Property Copy Local to False 
2.trying to reset the emulator 
3.uninstalled and reinstalled the 
a. Microsoft Virtual PC 2007 
b. Microsoft Active Sync 
c. Windows Mobile Professional Emulator 6.0 and standard as well 
4.tried to change the active sync 
5.Deleted the Programs and stopped the running programs from the emulator 

由於釋放引用提前我們有任何其他解決方案,將刪除錯誤

+0

您可能不希望在這裏發佈您的密鑰...... – ctacke 2010-10-22 12:52:50

+0

向我們展示整個部署日誌的捕獲 - 因此每個文件都被推下。我有預感,但需要確認。 – ctacke 2010-10-22 12:54:19

+0

所以你可以讓我知道我們究竟能夠如何獲得調試器的日誌...另外我已經嘗試了所有的Facebook工具包版本1.0到3.01,但在每個API中出現的問題是空間.. – 2010-10-23 06:52:59

回答

1

我也遇到這個問題,當使用模擬器。從部署日誌中,我可以看到VS部署了幾乎所有.net依賴文件,我不知道爲什麼,它像VS變得瘋狂。

直到有人想出一個解決方案,也許你可以像我一樣做,只解決症狀。

  1. 刪除所有部署的Windows dll:s,檢查你的部署文件夾。
  2. 更改以使所有依賴項目部署到相同的文件夾,以儘量減少磁盤空間。
  3. 最後我不使用模擬器。
+3

「爲什麼」是因爲您可能在項目的某個地方引用了桌面組件(可能是偶然的),所以Studio會嘗試將所有依賴關閉,這不合適。解決方案是刪除並重新添加所有的引用,確保沒有引用任何桌面程序集。 – ctacke 2010-10-27 19:30:30

+0

好吧,我想它不會一直髮生的原因是因爲我不會每次部署該特定項目。這就說得通了。我會粗暴地看着!謝謝。 – giZm0 2010-10-27 20:22:26

+1

@ giZm0:無需爲此而生氣。 – 2013-10-31 18:55:59

相關問題