I can't see the utility of excluding all assets of a package. And ifyou can please explain to me this example in the documentation that Ididn't understand and where they resolved the problem by usingExcludeAssets metadata.
Link to the example : https://docs.microsoft.com/en-us/nuget/concepts/dependency-resolution#excluding-references