简体   繁体   中英

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:

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

To answer your question, You can either use Assembly Explorer or Object Browser in VS.

Go to Solution Explorer -> Open references --> Right click on the referenced library

在此处输入图片说明

Im using VS 2016 not sure if VS 2013 has that feature.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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