dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.39k stars 10k forks source link

.NET 6 Preview 4 SDK depends on Preview 5 bits #31969

Closed danroth27 closed 3 years ago

danroth27 commented 3 years ago

Repro steps:

Expected result: Generated template depends on Preview 4 packages Actual result: Generated template depends on Preview 5 packages

<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.0-preview.5.21217.2" />
    <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.0-preview.5.21217.2" PrivateAssets="all" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\Shared\ConwayBlazor.Shared.csproj" />
  </ItemGroup>

</Project>
davidfowl commented 3 years ago

Ah the crossing of streams 😢

javiercn commented 3 years ago

Thanks Dan

I think this might be "temporary"?

mkArtakMSFT commented 3 years ago

@dotnet/aspnet-build folks, can you confirm whether this is temporary or whether something will need to be fixed to address this? And if so, that'll have to be done for preview 4.

Pilchie commented 3 years ago

From an internal thread, this was because the SDK repo branched slightly late. @mmitche expects it to get cleaned up in the next build or two.

dougbu commented 3 years ago

Unassigning myself because there's no action we can take but wait

pranavkm commented 3 years ago

Resolved as part of 6.0.100-preview.4.21222.3.