2010-10-22 71 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