A <ProjectReference>
should only be defined once per package.
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<ProjectReference Include="..\EmptyNodes\EmptyNodes.csproj" />
<ProjectReference Include=".\..\..\Projects\EmptyNodes\EmptyNodes.csproj" />
</ItemGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<ProjectReference Include="..\EmptyNodes\EmptyNodes.csproj" />
</ItemGroup>
</Project>