-
Couldn't load subscription status.
- Fork 1.4k
Open
Labels
Priority:3Work that is nice to haveWork that is nice to havebackloggathering-feedbackThe issue requires feedback in order to be planned, please comment if the feature is useful for youThe issue requires feedback in order to be planned, please comment if the feature is useful for youtriaged
Description
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
lvde0, mungojam, Measurity, pleonex and LukasGelke
Metadata
Metadata
Assignees
Labels
Priority:3Work that is nice to haveWork that is nice to havebackloggathering-feedbackThe issue requires feedback in order to be planned, please comment if the feature is useful for youThe issue requires feedback in order to be planned, please comment if the feature is useful for youtriaged