# FilteredPackages in Project NuGet package manager

**URL:** <https://discourse.openiap.io/t/filteredpackages-in-project-nuget-package-manager/319>\
**Category:** OpenRPA\
**Created:** [March 3, 2023, 10:32am UTC](https://discourse.openiap.io/t/filteredpackages-in-project-nuget-package-manager/319 "2023-03-03T10:32:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tvi](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/t/838e76/32.png) [@tvi](https://discourse.openiap.io/u/tvi)\
**Post date:** [March 3, 2023, 10:32am UTC](https://discourse.openiap.io/t/filteredpackages-in-project-nuget-package-manager/319/1 "2023-03-03T10:32:15Z")

</div>

I’m wondering why some packages are filtered out of the results in the package manager.

```auto
        public string[] FilteredPackages = new string[] { "Newtonsoft.Json", "NLog", "FlaUI.", 
            "System.", "System.Collections.Immutable", "Microsoft.", 
            "AvalonEdit", "NuGet.", "Extended.Wpf.Toolkit", "DotNetProjects.Wpf", "CefSharp", "NAudio", "SharpAvi",
            "DataConnectionDialog", "Forge.Forms", "ToastNotifications", "HtmlAgilityPack", "EMGU.CV", "ZedGraph", "FastMember", "Humanizer",
            "MahApps", "ControlzEx", "MaterialDesignColors", "MaterialDesignThemes", "OpenRPA"
        };

```

It applies to any package which has any of the above names as prefix.  
Some of them are already available, so no need to import them again. But others are quite prohibitive (for instance “Microsoft.”. That excludes a lot of packages from being imported.

So I’m wondering what the reason is for the filters, and whether some of them can be expanded (made more specific) to exclude fewer packages?

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [March 3, 2023, 11:31am UTC](https://discourse.openiap.io/t/filteredpackages-in-project-nuget-package-manager/319/2 "2023-03-03T11:31:53Z")

</div>

I think i did it to avoid people trying to update packages that openrpa is also using. That would break the robot since I don’t want to add very broad version mapping on each dll.  
But I’m defiantly open for changing this, if you see an issue or need some where.

If i decided to play with that, keep in mind I do something similar in openrpa.interfaces when loading plugins … this was to make it load faster, since there is a TON of exceptions when loading a dll that is not a .net dll, or that is already loaded.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.openiap.io/uploads/default/original/2X/a/a1ca7b164ac9a826839704d9ac82c7b5e6bcf557.png) [@system](https://discourse.openiap.io/u/system)\
**Post date:** [March 10, 2023, 11:32am UTC](https://discourse.openiap.io/t/filteredpackages-in-project-nuget-package-manager/319/3 "2023-03-10T11:32:15Z")

</div>

Closed on March 10, 2023, 11:32am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
