First is working.
Second I have not used NuGet packages in this case in share project.
I have client A has project reference to Shared
<ItemGroup>
<ProjectReference Include="..\AutomationClient.Shared\AutomationClient.Shared.csproj" />
</ItemGroup
and Shared folder has project reference to AutomationClient.API
<ItemGroup>
<ProjectReference Include="..\AutomationClient.API\AutomationClient.API.csproj" />
</ItemGroup>
and service worker has two reference types AutomationClient.API & Shared
<ItemGroup>
<ProjectReference Include="..\AutomationClient.API\AutomationClient.API.csproj" />
<ProjectReference Include="..\AutomationClient.Shared\AutomationClient.Shared.csproj" />
</ItemGroup>
If i put the dlls in client A or service worker the dlls will be duplicated.
Any solution ?