[英]How to view the source code from downloaded packages in Visual Studio
I am working on TOTP and have downloaded a package in Visual Studio 2013 by: 我正在使用TOTP,并通过以下方式在Visual Studio 2013中下载了软件包:
Tools --> Library Package Manager --> Manage Nuget Package Packages
However there seems to be no documentation for this downloaded package. 但是,似乎没有有关此下载程序包的文档。 So is there anyway I can view all the code and implementation in this package in order for me to know how to use the classes in the package? 因此,无论如何,我可以查看此程序包中的所有代码和实现,以便让我知道如何使用程序包中的类吗?
After including the package: 包含包装后:
using Albireo.Otp;
using Albireo.Base32;
I can go to the definition from the classes within the package by 我可以从包中的类转到定义
right clicking the class --> Go To Definition.
But is there a way to view all the files and implementations from this downloaded package? 但是,有没有办法查看此下载包中的所有文件和实现?
For that specific library, the source is at https://github.com/kappa7194/otp 对于该特定库,其源位于https://github.com/kappa7194/otp
To answer your question, You can either use Assembly Explorer or Object Browser in VS. 要回答您的问题,可以在VS中使用Assembly Explorer或Object Browser。
Go to Solution Explorer -> Open references --> Right click on the referenced library
Im using VS 2016 not sure if VS 2013 has that feature. 我正在使用VS 2016,不确定VS 2013是否具有该功能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.