[英]How to debug nuget package in visual studio
I work on my own xamarin nuget package and I would like to know how to debug it in sample or any other project. 我在自己的xamarin nuget包上工作,我想知道如何在样本或任何其他项目中调试它。 Right know I have to create nuget package with symbols and then update the package in sample project. 我知道我必须使用符号创建nuget包,然后更新示例项目中的包。 In process of developing nuget package this is really time consuming. 在开发nuget包的过程中,这非常耗时。 Do you know any better way how to save some time? 你知道如何节省一些时间吗?
Right know I have to create nuget package with symbols and then update the package in sample project. 我知道我必须使用符号创建nuget包,然后更新示例项目中的包。 In process of developing nuget package this is really time consuming. 在开发nuget包的过程中,这非常耗时。
Using dotpeek you can debug any package there is even if it does not contain debug symbols. 使用dotpeek,您可以调试任何包,即使它不包含调试符号。 Personally i would set up a local nuget repository and deploy to that if you're in a testing/debugging stage. 就个人而言,如果您处于测试/调试阶段,我会设置一个本地nuget存储库并进行部署。
If you're "publishing" to a local nuget and set up a reference in your testing project to that local nuget the time should be pretty minimal. 如果您正在“发布”到本地nuget并在测试项目中为该本地nuget设置一个引用,那么时间应该非常短。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.