Cannot attach to Silverlight app from VS

Deadly 提交于 2020-05-30 10:48:20

问题


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.

What I have tried

  • Project Properties -> Web -> Debuggers and ensure Silverlight is ticked
  • Attaching to the same window as the silverlight is in

What I want to happen

To attach to silverlight apps from Visual Studio

What is happening

Silverlight apps do not show in the Attach To dialog


回答1:


After a few days I found a solution.

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 :)



来源:https://stackoverflow.com/questions/43534364/cannot-attach-to-silverlight-app-from-vs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!