diff options
author | Matt Ward <matt.ward@microsoft.com> | 2020-01-08 16:39:21 +0300 |
---|---|---|
committer | Matt Ward <matt.ward@microsoft.com> | 2020-01-08 16:39:21 +0300 |
commit | 9b1df4bf9c28475b158264641220fc0df3385e67 (patch) | |
tree | a9a8a6c465db5fb30645cca8c3a952310a911543 /main/src | |
parent | 7dfcadd19aafe84d65c688798eeb56087dbfdd47 (diff) |
[NuGet] Ensure custom plugin factory used in resource provider
The PluginResourceProvider uses PluginManager.Instance by default.
We want this to use the custom PluginManager that handles running
providers with Mono instead of the default one that NuGet provides.
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/RepositoryProviderFactoryExtensions.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/RepositoryProviderFactoryExtensions.cs b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/RepositoryProviderFactoryExtensions.cs index c106bcf839..4f9569a233 100644 --- a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/RepositoryProviderFactoryExtensions.cs +++ b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/RepositoryProviderFactoryExtensions.cs @@ -58,7 +58,7 @@ namespace MonoDevelop.PackageManagement yield return new Lazy<INuGetResourceProvider> (() => new PackageMetadataResourceV3Provider ()); yield return new Lazy<INuGetResourceProvider> (() => new AutoCompleteResourceV2FeedProvider ()); yield return new Lazy<INuGetResourceProvider> (() => new AutoCompleteResourceV3Provider ()); - yield return new Lazy<INuGetResourceProvider> (() => new PluginResourceProvider ()); + yield return new Lazy<INuGetResourceProvider> (() => new PluginResourceProvider (PackageManagementServices.PluginManager)); yield return new Lazy<INuGetResourceProvider> (() => new FindLocalPackagesResourceUnzippedProvider ()); yield return new Lazy<INuGetResourceProvider> (() => new FindLocalPackagesResourceV2Provider ()); yield return new Lazy<INuGetResourceProvider> (() => new FindLocalPackagesResourceV3Provider ()); |