Npgsql.OpenTelemetry is installed per project. To uninstall it, follow the procedure below:
Linux
Remove a package reference to the project file.
dotnet remove projectFilePath package Npgsql.OpenTelemetry
Windows(R)
In Visual Studio, open a project for which Npgsql.OpenTelemetry is installed.
Click [Tools] >> [NuGet Package Manager] >> [Manage NuGet Packages for Solution].
Select all the projects that have Npgsql.OpenTelemetry installed, and then click [Uninstall].
Alternatively, if the Npgsql.OpenTelemetry package has been removed and is no longer installed, in the solution explorer open the Dependencies/NuGet node and delete the packages that require uninstallation.