Hi @Mark M , welcome to Microsoft Q&A.
For implicit references, only the files that are integrated in them are referenced automatically.
You could check out this document: Implicit using directives.
For libraries that are not included, you can manually add them in csproj. This way you don't need to add it again when you use it.
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.5.0" />
<Using Include="Microsoft.CodeAnalysis" />
<Using Include="Microsoft.CodeAnalysis.CSharp" />
<Using Include= "System.Diagnostics" />
</ItemGroup>
Best Regards,
Jiale
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.