Skip to content

Difference in embedded versions in some web templates between the source-build SDK and Microsoft-build SDK #5493

@omajid

Description

@omajid

Describe the Bug

When comparing a source-built .NET 11 Preview 1 SDK with the Microsoft-built SDK, some projects file in templates have a difference in versions:

  • templates/11.0.0-preview.1.26104.118/microsoft.dotnet.web.projecttemplates.11.0.11.0.0-preview.1.26104.118.nupkg
    • BlazorWeb-CSharp/BlazorWebCSharp.1/BlazorWebCSharp.1.csproj
        --- source-build/BlazorWeb-CSharp/BlazorWebCSharp.1/BlazorWebCSharp.1.csproj
        +++ microsoft-build/BlazorWeb-CSharp/BlazorWebCSharp.1/BlazorWebCSharp.1.csproj
        @@ -24,7 +24,7 @@
             <PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="11.0.0-preview.1.26104.118" Condition="'$(IndividualLocalAuth)' == 'True'" />
             <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="11.0.0-preview.1.26104.118" Condition="'$(IndividualLocalAuth)' == 'True'" />
        -    <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="11.0.0-preview.1.26071.101" Condition="'$(IndividualLocalAuth)' == 'True' AND '$(UseLocalDB)' != 'True'" />
        -    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="11.0.0-preview.1.26071.101" Condition="'$(IndividualLocalAuth)' == 'True' AND '$(UseLocalDB)' == 'True'" />
        -    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="11.0.0-preview.1.26071.101" Condition="'$(IndividualLocalAuth)' == 'True'" />
        +    <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="11.0.0-preview.1.26104.118" Condition="'$(IndividualLocalAuth)' == 'True' AND '$(UseLocalDB)' != 'True'" />
        +    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="11.0.0-preview.1.26104.118" Condition="'$(IndividualLocalAuth)' == 'True' AND '$(UseLocalDB)' == 'True'" />
        +    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="11.0.0-preview.1.26104.118" Condition="'$(IndividualLocalAuth)' == 'True'" />
           </ItemGroup>
    • RazorPagesWeb-CSharp/Company.WebApplication1.csproj
       --- source-build/RazorPagesWeb-CSharp/Company.WebApplication1.csproj	2026-02-12 18:13:36.000000000 -0500
       +++ microsoft-build/RazorPagesWeb-CSharp/Company.WebApplication1.csproj	2026-02-05 03:00:02.000000000 -0500
       @@ -21,7 +21,7 @@
            <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="11.0.0-preview.1.26104.118" Condition=" '$(IndividualLocalAuth)' == 'True' " />
            <PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="11.0.0-preview.1.26104.118" Condition=" '$(IndividualLocalAuth)' == 'True' " />
       -    <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="11.0.0-preview.1.26071.101" Condition=" '$(IndividualLocalAuth)' == 'True' AND '$(UseLocalDB)' != 'True'" />
       -    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="11.0.0-preview.1.26071.101" Condition=" '$(IndividualLocalAuth)' == 'True' AND '$(UseLocalDB)' == 'True'" />
       -    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="11.0.0-preview.1.26071.101" Condition=" '$(IndividualLocalAuth)' == 'True' " />
       +    <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="11.0.0-preview.1.26104.118" Condition=" '$(IndividualLocalAuth)' == 'True' AND '$(UseLocalDB)' != 'True'" />
       +    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="11.0.0-preview.1.26104.118" Condition=" '$(IndividualLocalAuth)' == 'True' AND '$(UseLocalDB)' == 'True'" />
       +    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="11.0.0-preview.1.26104.118" Condition=" '$(IndividualLocalAuth)' == 'True' " />
            <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="11.0.0-preview.1.26104.118" Condition=" '$(IndividualB2CAuth)' == 'True' OR '$(OrganizationalAuth)' == 'True'" NoWarn="NU1605" />
            <PackageReference Include="Microsoft.AspNetCore.Authentication.Negotiate" Version="11.0.0-preview.1.26104.118" Condition="'$(WindowsAuth)' == 'True'" />

Steps to Reproduce

Other Information

Metadata

Metadata

Assignees

Labels

area-upstream-fixNeeds a change in a contributing repo

Type

No type

Projects

Status

11.0

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions