Naming conflict with URP [Optional] attribute

Hi , just tried to install a c# Optional.dll libary and got naming conflict with URP [Optional] attribute.
Error i got:
Library\PackageCache\com.unity.render-pipelines.universal@7.3.1\Editor\ShaderGraph\UniversalShaderGraphResources.cs(31,37): error CS0616: ‘Optional’ is not an attribute class

Cannot rename , or put to other namespace because its a dll.
Any solution ides ?

Hi,

You could try unchecking the Auto Reference setting in the plugin inspector to restrain the scope of this DLL to a specific assembly definition file. This would allow you to solve the conflict in the URP package by limiting what scripts can access the DLL.