简体   繁体   English

如何使用Visual Studio 2010 Express调试YAF

[英]How to debug YAF with visual studio 2010 Express

I am building a membership provider for use with YAF. 我正在建立与YAF一起使用的会员资格提供者。 I want to be able to debug YAF to understand and follow the process through. 我希望能够调试YAF以了解并遵循该过程。

I downloaded and installed YAF sucessfully. 我成功下载并安装了YAF。 I then installed the YAF sources and built them sucessfully. 然后,我安装了YAF源并成功构建了它们。

So, I have a website under VS2010 express that works, and the new YAF binary DLLs from the build. 因此,我在VS2010 Express下拥有一个可以正常工作的网站,并且从构建中获得了新的YAF二进制DLL。

I cannot see how to "attach" the source files to enable debugging the website. 我看不到如何“附加”源文件来调试网站。

A simple answer (found somewhere on stackoverflow,lost where but thanks anyway):- 一个简单的答案(在stackoverflow上的某个地方找到了,丢失了,但是无论如何都感谢):-

  1. Just needed to add the project to the website solution 只需要将项目添加到网站解决方案中
  2. By default, the solution is not shown in the solution explorer window 默认情况下,解决方案不显示在解决方案资源管理器窗口中
  3. To get the solution added to the soluton explorer: tools->Options -> Projects and Solutions then check the "Always show solution" box 要将解决方案添加到解决方案资源管理器中:工具->选项->项目和解决方案,然后选中“始终显示解决方案”框

Then right click the solution in the solution explorer window to add the project. 然后在解决方案资源管理器窗口中右键单击解决方案以添加项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM