简体   繁体   English

如何在Visual Studio Express 2012中将源代码添加到.dll文件?

[英]How to add source code to .dll file in Visual Studio Express 2012?

I have a 3rd party .dll file and its source code as well ( written in C# ). 我有一个第三方.dll文件及其源代码(用C#编写)。 I can create a new project and add reference of this .dll file to use its methods. 我可以创建一个新项目,并添加此.dll文件的引用以使用其方法。 But when I debug I want to step in to the methods defined in .dll file ( Just like we do when we have .jar file and its source-code in java ). 但是,当我调试时,我想介入.dll文件中定义的方法(就像我们在Java中拥有.jar文件及其源代码时一样)。

How can I do this in Visual Studio Express ( I have VS 2012 ). 如何在Visual Studio Express(我有VS 2012)中做到这一点。

The easiest, if you have the source code, would be to add the project to your solution and compile both at the same time. 如果有源代码,最简单的方法是将项目添加到解决方案中,然后同时进行编译。 You could then breakpoint everywhere! 然后,您可以随处断点! (And don't you dare tell me breakpoint isn't a verb) (而且你不敢告诉我断点不是动词)

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

相关问题 如何在Visual Studio Express 2012中添加resx文件? - How to add resx file in visual studio express 2012? 在Visual Studio 2012中的源代码edit \\ save上运行批处理文件 - Run batch file on source code edit\save in Visual Studio 2012 如何在 Visual Studio Code 中添加 DLL 参考 - How to add DLL reference in Visual Studio Code 如何在我的Visual Studio 2012项目中引用XML文件作为项目代码中的数据源? - How can I reference an XML file in my Visual Studio 2012 project as a data source in my project code? 如何在Visual Studio 2012中的html页面的文件后面获取代码? - How to get code behind file for the html page in Visual Studio 2012? 如何在 Visual Studio Code 中将 DLL 添加到 C# 程序中? - How to add a DLL to a C# program in Visual Studio Code? 如何在Visual Studio 2012中添加引用`Microsoft.TeamFoundation.TestImpact.Client.dll`? - How to add reference `Microsoft.TeamFoundation.TestImpact.Client.dll` in Visual Studio 2012? 扩展Visual Studio 2012 Express - Extending Visual Studio 2012 Express 如何将app.config添加到Visual Studio 2012 Web Express lib项目? - How to add app.config to Visual Studio 2012 Web Express lib project? 如何正确地将dll文件添加到Visual Studio的引用中? - How to add a dll file into reference of Visual Studio properly?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM