Bug description
BuildHost-net472 & BuildHost-netcore directories are showing up in the solution explorer as of RC2 in both VSCode and Visual Studio
Your code
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.0-rc.2.25502.107">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>
Does not happen with RC1, can be negated by removing contentfiles from IncludeAssets but this is also the default when installing the package.
Stack traces
Verbose output
EF Core version
10.0.0-rc.2.25502.107
Database provider
All
Target framework
.NET 10 RC2
Operating system
Windows 11
IDE
Visual Studio 2026 & VSCode