C# 找不到XapCacheFile.xml
使用visual studio 10调试我的应用程序时,我收到以下错误C# 找不到XapCacheFile.xml,c#,windows-phone-7,C#,Windows Phone 7,使用visual studio 10调试我的应用程序时,我收到以下错误 " Error 1 Could not find file 'C:\Users\Aksi\Documents\Expression\Blend 4\Projects\vimol\vimol\obj\Debug\XapCacheFile.xml'. Please rebuild the solution and try again.".. " Error 1 Xap packaging failed. Object
" Error 1 Could not find file 'C:\Users\Aksi\Documents\Expression\Blend 4\Projects\vimol\vimol\obj\Debug\XapCacheFile.xml'. Please rebuild the solution and try again."..
" Error 1 Xap packaging failed. Object reference not set to an instance of an object. vimol"
这是一个Windows Phone应用程序。。。我使用Microsoft Expression Blend…关闭Blend,打开
C:\Users\Aksi\Documents\Expression\Blend 4\Projects\vimol\vimol\
并删除bin
和obj
子文件夹
再次在Blend中打开项目并尝试构建它 在创建新的WP8项目后,在新安装的VS Express 2000 for Windows Phone中运行时,我遇到了完全相同的问题。从Blend(project->Build project)中删除文件夹bin和obj并重新生成就成功了。之后emulator像sharm一样启动应用程序。