![]() The following function wraps up Install-Package command to receive multiple packages for installation. Install agent using NuGet Open your Visual Studio solution, or create a new one by selecting File > New > Project. The following is the script I wrote which enables me to install multiple packages. However, since it is PowerShell based, it means you can easily extend your development environment with a simple PowerShell script. ![]() Unlike other package managers out here for different frameworks, NuGet does not have option to install multiple packages from the single command line. Once the Package Manager Console is visible, select the project within your solution, into. Open the Package Manager Console window in Visual Studio either by typing package manager console in the Quick Launch box and selecting it or by clicking View-> Other Windows-> Package Manager Console. Now, NuGet has one limitation which makes it a bit less awesome than it is. Install Json.Net using the Package Manager Console. This allows great extensibility as you can write any PowerShell script you need and use it from Visual Studio directly from the hosted PowerShell terminal which is Package Manager Console. This means, apart from NuGet commands, you can also execute PowerShell commands. You may know or maybe not, but NuGet Package Manager relies on PowerShell script and Package Manager Console is basically hosted PowerShell command line inside Visual Studio. ![]() If you are using Visual Studio 2017 as your main IDE, than you are probably familiar and used at least once NuGet package manager console. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |