"Include Pattern" and "Exclude Pattern" in Artifactory's repository configuration page for a Nuget repository successfully blocks users from accessing unwanted files.
However, the excluded nuget files still show up in Nuget search via Visual Studio UI or nuget.exe list command.
On the other hand, when a user clicks on a package that is not included in Artifactory via the Include/Exclude Patterns, then the user receives an error on the Visual Studio User Inter face as "The remote server returned an error: (404) Not Found error", which is a desired behavior. Also, nuget install fails as expected.
Expectation: INCLUDE/EXCLUDE patterns should work for any nuget functions in nuget.exe and nuget functions within Visual studio