• Stars
    star
    264
  • Rank 155,103 (Top 4 %)
  • Language
    C#
  • License
    MIT License
  • Created almost 12 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

NuGet addin for MonoDevelop and Xamarin Studio

NuGet Addin for MonoDevelop and Xamarin Studio 3.0 and 4.x

This is a port of the SharpDevelop NuGet package management addin that works with MonoDevelop and Xamarin Studio 3.0 and 4.x under Windows, Mac and Linux. It adds a Manage Packages dialog to MonoDevelop and Xamarin Studio where you can install, update or uninstall NuGet packages.

Please note that Xamarin Studio 5.0 and MonoDevelop 5.0 both have the NuGet addin built-in. All further development of the NuGet addin, for MonoDevelop and Xamarin Studio version 5.0 and above, will be done in the main MonoDevelop GitHub repository. The code available here is for MonoDevelop and Xamarin Studio 3.0 and 4.x.

The addin uses a custom build of NuGet.Core.dll, based on the original NuGet source code taken from CodePlex, some code from the latest version of the Mono runtime library and a custom build of Microsoft's XML Document Transformation (XDT) library.

For more information see the announcement blog post.

Adam Patridge has created a YouTube video which covers installation and how to use the addin.

Requirements

  • MonoDevelop 3.0, 4.0, 4.2 or Xamarin Studio 4.0, 4.2
  • Mono 2.10.9 or later
  • mono-winfxcore (required by NuGet.Core)
  • mono-wcf (required by NuGet.Core)

Installation

The addin is available from a custom MonoDevelop addin repository. You can add this repository to MonoDevelop or Xamarin Studio via the Add-in Manager. To open the Add-in Manager dialog on Windows and on Linux select Add-in Manager from the Tools menu. On the Mac open the Xamarin Studio menu and select Add-in Manager. In the Add-in Manager dialog select the Gallery tab. Click the down arrow next to the repositories drop down list and select Manage Repositories to open the Add-in Repository Management dialog. Click the Add button. Copy the MonoDevelop NuGet addin repository url, shown below, that corresponds to your MonoDevelop version, and paste it into the Url text box.

For MonoDevelop and Xamarin Studio 5.0:

The NuGet addin is built-in and does not need to be installed separately.

For MonoDevelop and Xamarin Studio 4.x:

http://mrward.github.com/monodevelop-nuget-addin-repository/4.0/main.mrep

For MonoDevelop 3.0:

http://mrward.github.com/monodevelop-nuget-addin-repository/3.0.5/main.mrep

Click the OK button and then click the Close button. Back in the Add-in Manager dialog expand IDE Extensions by clicking the arrow next to it. The addin should then be displayed under the IDE Extensions as NuGet Package Management. To install the addin select NuGet Package Management and then click the Install button.

Opening the Manage Packages Dialog

To open the Manage Packages dialog simply right click your project, or your solution or References in the Solutions window and select Manage NuGet Packages. You can also open the Manage Packages dialog by selecting Manage NuGet Packages from the Project menu.

Configuring NuGet Package Sources

The sources or feeds for NuGet packages can be configured in MonoDevelop's options.

On Linux open the options dialog by selecting Preferences from the Edit menu. On Windows select Options from the Tools menu. On a Mac select Preferences from the Xamarin Studio menu. In the Options dialog scroll down the categories on the left hand side until you find NuGet and then select Package Sources. Here you can add and remove NuGet package sources.

#License

MIT

Original SharpDevelop addin code is LGPL.

Environments Tested

  • OpenSuse 12.2 - Mono 2.10.9
  • Windows 7 - Mono 2.10.9
  • OS X 10.8.2 - Mono 2.10.12

Issues

Addin fails to load with Type Load Exception

If the addin fails to load with a "type load exception has occurred" error message then check the required mono libraries are installed.

One way to check what assemblies are missing is to open NuGet.Core.dll in MonoDevelop's Assembly Browser and check the assemblies it references. The Assembly Browser should show the missing assemblies.

NuGet.Core.dll depends on

  1. System.Data.Services.Client v4.0.0.0
  2. WindowsBase v4.0.0.0

WindowsBase is in the mono-winfxcore package. Whilst System.Data.Services.Client is in the mono-wcf package.

Trust failure

If you see a WebException indicating there was an invalid certificate received from the server then you should try running the following:

mozroots --import --sync

See the original post on NuGet on Mono for more details.

More Repositories

1

monodevelop-nuget-extensions

Extends the MonoDevelop NuGet addin
C#
73
star
2

monodevelop-dnx-addin

.NET Core support for MonoDevelop and Xamarin Studio
C#
48
star
3

typescript-addin

TypeScript addin for MonoDevelop and Xamarin Studio
JavaScript
29
star
4

monodevelop-paket-addin

Paket addin for MonoDevelop, Xamarin Studio and Visual Studio for Mac
C#
20
star
5

monodevelop-addins

15
star
6

monodevelop-template-creator-addin

Template creator for MonoDevelop and Visual Studio for Mac
C#
15
star
7

monodevelop-language-server-addin

Language Server Protocol support for MonoDevelop and Visual Studio for Mac
C#
13
star
8

monodevelop-project-system-tools

C#
11
star
9

nuget

Modified version of NuGet.Core that works with MonoDevelop on Linux. Used in the MonoDevelop NuGet addin.
C#
11
star
10

entityframework-sharpdevelop

EntityFramework NuGet package converted to work with SharpDevelop
C#
7
star
11

xdt

Microsoft's Xml Document Transformation library
C#
7
star
12

vsmac-extensibility-samples

C#
6
star
13

monodevelop-powershell-addin

PowerShell
5
star
14

paperspiro

Spirographs using paper.js
JavaScript
4
star
15

mono-portable-class-library-util

Utility that displays PCL profiles on Mono for Mac and Linux, or on Windows
C#
4
star
16

temp-addin-upload

4
star
17

monodevelop-json-addin

JSON editor addin for MonoDevelop and Xamarin Studio
C#
3
star
18

node-blackjack

Simple Blackjack game using Node.js
JavaScript
3
star
19

monodevelop-log-monitor

C#
3
star
20

fsharp-forms-designer

F# Windows Forms Designer for SharpDevelop
C#
3
star
21

monodevelop-task-runner-addin

C#
3
star
22

monodevelop-feature-switch-addin

C#
3
star
23

monodevelop-open-with-addin

Customize Open With in MonoDevelop
C#
2
star
24

monodevelop-csharp-interactive

C#
2
star
25

monodevelop-nuget-package-explorer

Open NuGet packages in Xamarin Studio
C#
2
star
26

monodevelop-simple-pad-addin

C#
2
star
27

mrward.github.com

HTML
2
star
28

xamarin-calculator

Simple calculator app using Xamarin.Android, Xamarin.iOS and Xamarin.Forms
C#
2
star
29

typescript-hosting

Application for testing out the TypeScript API.
JavaScript
1
star
30

monodevelop-run-custom-tool

C#
1
star
31

Microsoft.VisualStudio.AutoTest.Repl

C#
1
star
32

SimpleAndroidProjectTemplateAddin

C#
1
star
33

RefitSourceGeneratorTest

C#
1
star
34

nuget-package-explorer-mac

C#
1
star
35

MonoDevelop.DotNetCoreSupportAnyTargetFrameworkAddin

C#
1
star
36

NuGetCredentialProviderSessionTokenCache

C#
1
star
37

signalr-blackjack

Simple Blackjack game using SignalR
JavaScript
1
star
38

xwt-test

C#
1
star
39

vsmac-addin-compat

C#
1
star
40

monodevelop-credential-provider-test

C#
1
star
41

monodevelop-debug-adapter-addin

C#
1
star
42

test-monodevelop-MEF-addin

C#
1
star
43

custom-packages-path-test

C#
1
star