无法从VS附加到Silverlight应用程序 [英] Cannot attach to Silverlight app from VS
问题描述
过去,使用Visual Studio连接到Silverlight应用程序时,我将转到Debug-> Attach To Process,然后向下滚动到类型为Silverlight的位置并附加到该位置。
最近,Silverlight类型似乎没有显示在对话框的附件中。
In the past to connect to silverlight apps form Visual Studio I would go to Debug -> Attach To Process and then scroll down to where the type was Silverlight and attach to that. Recently, silverlight types do not seem to show up in the attach to dialog.
我尝试过的事情
- 项目属性-> Web->调试器,确保已选中Silverlight
- 附加到与Silverlight相同的窗口在
我想发生的事情
要从Visual Studio附加到Silverlight应用程序
To attach to silverlight apps from Visual Studio
正在发生的事情
Silverlight应用程序未显示在附加到对话框中
Silverlight apps do not show in the Attach To dialog
推荐答案
几天后,我找到了解决方案。
After a few days I found a solution.
转到程序和功能,然后仅卸载 Microsoft Silverlight。卸载后,请转到 https://www.microsoft.com/ zh-cn / download / details.aspx?id = 40633 并安装Silverlight_Developer.exe或Silverlight_Developer_x64.exe
Go to Programs and Features and Uninstall ONLY "Microsoft Silverlight". Once uninstalled go to https://www.microsoft.com/en-us/download/details.aspx?id=40633 and install either Silverlight_Developer.exe or Silverlight_Developer_x64.exe
这为我解决了问题:)
This fixed the problem for me :)
这篇关于无法从VS附加到Silverlight应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!