All Projects → mrward → Monodevelop Nuget Extensions

mrward / Monodevelop Nuget Extensions

Licence: other
Extends the MonoDevelop NuGet addin

Labels

Projects that are alternatives of or similar to Monodevelop Nuget Extensions

Rulesengine
A Json based Rules Engine with extensive Dynamic expression support
Stars: ✭ 714 (+981.82%)
Mutual labels:  nuget
Computesharp
A .NET 5 library to run C# code in parallel on the GPU through DX12 and dynamically generated HLSL compute shaders, with the goal of making GPU computing easy to use for all .NET developers! 🚀
Stars: ✭ 982 (+1387.88%)
Mutual labels:  nuget
Vs Validation
Common input and integrity validation routines for Visual Studio and other applications
Stars: ✭ 48 (-27.27%)
Mutual labels:  nuget
Centrifuge
Cross-platform runtime mod loader and API for any Unity-based game. Supports Unity 5 and up!
Stars: ✭ 18 (-72.73%)
Mutual labels:  nuget
Blazm.components
A few useful and awesome components for Blazor. Blazor + awesome (azm)=Blazm (Blossom)
Stars: ✭ 29 (-56.06%)
Mutual labels:  nuget
Simplenetnlp
.NET NLP library
Stars: ✭ 38 (-42.42%)
Mutual labels:  nuget
Fo Dicom
Fellow Oak DICOM for .NET, .NET Core, Universal Windows, Android, iOS, Mono and Unity
Stars: ✭ 674 (+921.21%)
Mutual labels:  nuget
Nettelegrambotapi
C# client library for building Telegram bot
Stars: ✭ 59 (-10.61%)
Mutual labels:  nuget
Ghpr.nunit
Adapter for NUnit 3 (generate HTML report for NUnit 3)
Stars: ✭ 33 (-50%)
Mutual labels:  nuget
Formatwith
String extensions for named parameterized string formatting.
Stars: ✭ 44 (-33.33%)
Mutual labels:  nuget
Apos.input
Polling input library for MonoGame.
Stars: ✭ 25 (-62.12%)
Mutual labels:  nuget
Myanimelistsharp
Access MyAnimeList Web API using .NET library
Stars: ✭ 10 (-84.85%)
Mutual labels:  nuget
Teamcity Nuget Support
TeamCity NuGet support
Stars: ✭ 40 (-39.39%)
Mutual labels:  nuget
Nservicebus.kafka
Kafka transport for NServiceBus
Stars: ✭ 16 (-75.76%)
Mutual labels:  nuget
Turkishid
Validator/generator for Turkish Republic Citizen ID numbers (TC Kimlik No)
Stars: ✭ 49 (-25.76%)
Mutual labels:  nuget
Svg
Fork of the ms svg library (http://svg.codeplex.com/)
Stars: ✭ 676 (+924.24%)
Mutual labels:  nuget
Msbuildstructuredlog
A logger for MSBuild that records a structured representation of executed targets, tasks, property and item values.
Stars: ✭ 988 (+1396.97%)
Mutual labels:  nuget
Avalonedit
The WPF-based text editor component used in SharpDevelop
Stars: ✭ 1,127 (+1607.58%)
Mutual labels:  nuget
Nuget License
.NET Core tool to print or save all the licenses of a project
Stars: ✭ 58 (-12.12%)
Mutual labels:  nuget
Fluenttc
🌊 👬 🏢 Integrate with TeamCity fluently
Stars: ✭ 42 (-36.36%)
Mutual labels:  nuget

Extends the NuGet Addin for MonoDevelop, Xamarin Studio and Visual Studio for Mac

Adds some extra features to the NuGet addin that are not currently built-in.

These features are experimental, subject to change, removal, and should be considered alpha quality.

Features Overview

  • Installing a NuGet package from the unified search
  • Listing Portable Class Libraries available on the local machine
  • Installing, updating, uninstalling NuGet packages for multiple projects in one step.
  • PowerShell console window - powered by PowerShell Core.

Requirements

  • MonoDevelop 5.0, 6.0, 7.0, 8.0
  • Xamarin Studio 5.0, 6.0
  • Visual Studio for Mac 7.0, 8.0

The NuGet Package Management Extensions addin published on the main addin server does not work for Visual Studio Mac 7.1 or 7.2. The main symptom that NuGet Package Management extensions addin does not support the version of Visual Studio for Mac being used is the Manage Packages dialog not opening when its menu is selected. Addins that work are available from a separate Addin Server urls available for each version. Details on configuring the addin server is available from:

https://github.com/mrward/monodevelop-addins

Alternatively the addin can be downloaded, from the following download links, and installed using the Install from file button in the Extension Manager dialog:

Visual Studio for Mac 7.1.0.1178 and later

Visual Studio for Mac 7.2.0.617 and later

Visual Studio for Mac 7.3.0.797 and later

Installation

The addin is available from the MonoDevelop addin repository. To install the addin:

  • Open the Extension Manager dialog.
  • Select the Gallery tab.
  • Select Visual Studio Extension Repository (Beta channel) from the drop down list.
  • Expand IDE extensions.
  • Select NuGet Package Management Extensions.
  • Click the Refresh button if the addin is not visible.
  • Click Install... to install the addin.

NuGet package management extension addin in the addin manager dialog

Please make sure you close the IDE and then re-open it before opening the new Package Console window otherwise the IDE will crash.

Features

In the following sections the features are covered in more detail.

Install a NuGet package from the unified search

To install the latest version of a NuGet package

  • Make sure the project is selected in the Solution window.
  • Type the package id into the unified search.
  • Select Add Package from the list in the pop-up window.

Installing NuGet package from unified search

The NuGet package will then be installed in the background.

To install a specific version of the package you can use the -version option:

   automapper -version 2.2.1

Installing NuGet package from unified search

The status bar will be updated as the install progresses. Errors will be displayed in the Package Console.

The unified search is available at the top right of the main IDE window.

Package search category

As a variation on how to add a package as described in the previous section, there is also a package search category which also allows you to add a package. Here the search category tag nuget or package must be typed in followed by the colon character. After the tag you can specify a package id and optionally the version number.

To add a package to a project

  • Make sure the project is selected in the Solution window.
  • Type the package: or nuget: followed by the package id into the unified search.
  • Select Add Package from the list in the pop-up window.

Installing NuGet package from unified search

A specific package version can be installed by typing the version number after the package id.

Installing NuGet package from unified search

Listing Portable Class Libraries Installed

To see a list of the .NET Portable Class libraries available on the local machine, from the unified search select List Portable Class Libraries.

Listing Portable Class Libraries

This runs the Mono Portable Class Library command line utility which will look for portable class libraries installed on the local machine. The results are displayed in the Package Console.

Listing Portable Class Libraries

Managing Packages for the Solution

Note that Visual Studio for Mac 8.3 now includes support for managing NuGet packages for the solution. The Manage Packages dialog has been removed from the NuGet extensions addin in version 0.20 and later.

The NuGet addin that is available for Xamarin Studio 4 included the ability to manage packages for the solution. You could install, update or uninstall packages for multiple projects in one step. This feature was removed in later versions but has been made available by the extension addin.

To open the Manage Packages dialog:

  • Make sure the solution is selected in the Solution window.
  • Right click the solution and select Manage NuGet Packages.
  • Or select Manage NuGet Packages from the Project menu.

Manage Packages dialog

Install a package into multiple projects

  • Select the package in the Browse tab.
  • Click the Add Package button.

Then a Select Projects dialog will be displayed.

Select Projects dialog

Tick the projects you want to install the package and click OK.

Uninstalling a package from multiple projects

To uninstall a package from multiple projects:

  • Open the Manage Packages dialog.
  • Select the Installed tab.
  • Select the package you want to uninstall.
  • Click the Remove Package button.
  • Untick the projects you want the package to be uninstalled from.
  • Click OK.

PowerShell Console Window

Please make sure you have closed and re-opened IDE after the addin has been installed before trying to open the PowerShell Console window otherwise the IDE may crash.

To open the console window, from the View menu select Pads, then select Package Console Extension.

Package Console Extension window

From the top of the Package Console Extension window you can choose a package source or a project. You can also clear the text from the Package Console by clicking the Clear Console button.

From the console itself you can run the standard NuGet commands:

  • Install-Package
  • Uninstall-Package
  • Update-Package
  • Get-Package
  • Get-Project
  • Find-Package
  • Open-PackagePage
  • Sync-Package

The console uses PowerShell Core

When you install, uninstall or update a NuGet package the console will run the init.ps1, install.ps1 and uninstall.ps1 scripts that the NuGet package contains.

Limitations:

  • Visual Studio EnvDTE API implementation is incomplete

The Visual Studio EnvDTE API is partially implemented. Whilst Entity Framework Core is supported other PowerShell scripts included with NuGet packages may not work.

  • Password protected NuGet package sources are not supported in the following PowerShell commands:
    • Find-Package
    • Get-Package

Note that the other NuGet PowerShell commands are supported.

The NuGet extensions addin will not send usernames and passwords to the PowerShell Core host console application. .NET Core also does not support decrypting passwords stored in the NuGet.Config file.

The Find-Package and Get-Package commands all run completely within PowerShell hosted in the .NET Core console application.

The other commands work since they run partially within Visual for Mac where actions involving password protected NuGet package sources are supported.

  • Requires .NET Core 2.1 SDK to be installed
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].