我有一个解决方案,它有许多项目,每个项目都引用第三方文件夹中的程序集。
我现在需要有权调试这些程序集的代码,幸运的是我必须编写代码。
我想知道在我当前的解决方案中引用程序集代码的最佳方法是什么?
我应该删除所有对程序集的引用(在第三方文件夹中),然后将这些程序集的项目添加到我当前的解决方案中,还是有更好的方法? 虽然这让我可以访问代码,但我在这里看到的问题是程序集最初是在第三方文件夹中,因此我需要确保在检查代码时必须切换回第三方文件夹。
必须有比这更好的方法吗?
I have a solution which has a number of projects and each project refers to assemblies that are in a third party folder.
I now need to have access for debugging the code of those assemblies and fortunately I have to code.
I was wondering what the best way is to reference the code of the assemblies in my current solution?
Should I remove all my references to the assemblies (in third party folder) and then add the projects of those assemblies to my current solution or is there a better way? Although this gives me access to the code, the problem I see here is the assemblies were originally in a third party folder so I will need to make sure I have to switch back to the third party folder when I check my code back in.
There must be a better way than this?
最满意答案
实际上你只需要第三方DLL的相应pdb文件。 pdb文件包含所有必要的信息。 无需删除引用。
You actually just need the corresponding pdb files of the third party DLLs. The pdb file contains all necessary information. No need to remove the references.
更多推荐
发布评论