面料应用程序的Visual Studio 2013问题 [英] App Fabric Visual Studio 2013 Issue
问题描述
我已经升级了我的解决方案与VS2013的工作。所有作品的罚款。
I've upgraded my solution to work with VS2013. All builds fine.
但它似乎问题与初始化的AppFabric,它似乎被挂在网上:
However it seems to an issue with initialising AppFabric and it appears to be hanging on the line:
new DataCacheFactory();
完全相同的代码在VS2010工作正常,所以它完全甩我!
The exact same code is working fine in VS2010 so it's completely thrown me!
推荐答案
你可以把你的客户端应用程序的挂起转储当它在使用调试诊断2.0工具(的 http://www.microsoft.com/en-us/download/details.aspx?id= 40336 ),然后只需双击.dmp文件分析转储文件,看看试图创建的DataCacheFactory被挂?
Can you take a hang dump of your client application when it is in a HUNG state using the Debug Diagnostic 2.0 tool (http://www.microsoft.com/en-us/download/details.aspx?id=40336) and then analyze the dump file by just double clicking the .dmp file and see the callstack of the thread that is hung while trying to create the DataCacheFactory ?
这将使在哪里线程当前停留在并应找出问题的原因,帮助的想法。
That will give an idea of where the thread is currently stuck at and should help in finding out the cause of the problem.
要收集挂的过程中转储你可以只安装工具,并打开工具,然后单击取消的规则向导,然后转到进程选项卡,找到你的客户端程序,然后选择创建完整用户转储
To collect a hang dump of the process you can just install the tool and open the tool and then click cancel on the "Rule Wizard" and go to the processes tab , find your client process and then choose Create Full User Dump
这篇关于面料应用程序的Visual Studio 2013问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!