Previously (net core 2.1), this worked:
<ItemGroup>
<ProjectReference Include="..\buildtool\buildtool.csproj" Properties="RuntimeIdentifier=">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
Now, it doesn't, and even all this doesn't work:
<ItemGroup>
<ProjectReference Include="..\buildtool\buildtool.csproj" ExcludeAssets="all" Properties="RuntimeIdentifier=">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
<CopyLocal>false</CopyLocal>
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
<ExcludeAssets>all</ExcludeAssets>
</ProjectReference>
</ItemGroup>
What's going on is I have a build tool in the solution, and dotnet publish is trying (incorrectly) to ship it. Almost minimized sample attached. If it were any smaller it wouldn't make any sense.
depbuildtool.zip
Previously (net core 2.1), this worked:
Now, it doesn't, and even all this doesn't work:
What's going on is I have a build tool in the solution, and
dotnet publishis trying (incorrectly) to ship it. Almost minimized sample attached. If it were any smaller it wouldn't make any sense.depbuildtool.zip