GrahamKracker
GrahamKracker
CC#
Created by GrahamKracker on 6/7/2023 in #help
❔ Alias in .targets `<Reference` tag
ok so
<Reference Include="Assembly1.dll" Private="false"/>
<Reference Include="Assembly2.dll" Private="false"/>
<Reference Include="Assembly1.dll" Private="false"/>
<Reference Include="Assembly2.dll" Private="false"/>
they both have matching types, causing ambiguous reference errors. i have absolutely no control over these assemblies. i would like to know if its possible to alias them using the targets file, then be able to distribute it and have users retain these aliases
4 replies