Suppress “No Source Available” pane in 2010

后端 未结 4 1291
感情败类
感情败类 2021-02-14 17:14

Arg! I have a custom \"harness\" executable running my class library project. Every time I step into the harness\'s code, I get that \"No Source Available\" pane popping up.

相关标签:
4条回答
  • 2021-02-14 17:29

    After finding no help on this, I dug in to it myself and fixed it by Hiding the WindowFrame in the event that it is shown. There is no visual refresh glitch that I've seen so far.

    Here is the GUID for the "No Source Available" pane: {1820bae5-c385-4492-9de5-e35c9cf17b18}

    I found most of what I needed from this post:

    http://blogs.msdn.com/dr._ex/archive/2004/11/07/253601.aspx

    I believe this will only affect solutions with this package loaded, but really I don't know if the package stays loaded/active if the related project is closed.

    0 讨论(0)
  • 2021-02-14 17:32

    If you have enabled source server support, the solution is here: No Source available

    0 讨论(0)
  • 2021-02-14 17:42

    Here is a link to an add-in that correct the bug:

    http://visualstudiogallery.msdn.microsoft.com/en-us/fdbb2036-471e-40a7-b20e-31f8fd5578fa

    This work great for me.

    0 讨论(0)
  • 2021-02-14 17:52

    This worked for me:

    Tools > Options > Debugging and untick Enable Just My Code

    (thanks to this)

    0 讨论(0)
提交回复
热议问题