How do you remove dependencies? I want to remove the dependencies so I can reinstate them using the same dll files.

I put my output onto a text file and view it view Notepad. These functions are in agLibraryOutput.
. Project1 depends on agLibraryOutput
. Library2 also depends on agLibraryOutput
. Project1 also depends on Library2.

There are two agOutputLibrary files, one in the bin folder and the other in the obj folder:
• agOutputLibrary > bin > debug > net6.0 > agOutputLibrary.dll
• agOutputLibrary > obj > debug > net6.0 > agOutputLibrary.dll

I am getting ambiguous file references error. It could be because I have created dependencies sometimes using the dll in the bin folder and other times in the obj folder.

When I click on a project/library in the solutions file I see code like:

<ItemGroup>
<Reference Include="agOutputLibrary">
<HintPath>..\agOutputLibrary\obj\Debug\net6.0\agOutputLibrary.dll</HintPath>
</Reference>
</ItemGroup>

To delete a reference do I delete from <Reference include … > to </reference>

Visual basic in visual studio 2022