Ticket T1285476
Visible to All Users
Duplicate

New Blazor Project Missing Dependencies

created 4 days ago

I just tried creating a new Blazor Server project with v 24.2.6.
Target: .NET 9
Render Mode: Server
Auth: Individual Accounts
Themes: Bootstrap
Settings - Component Size Mode: Small; Ad Rich Text Editor Resources: False; Add Pivot Table Resources: False.

Project was created, however Build failed with 34 errors.
All NuGet packages are missing except DevExpress.Blazor.
Please fix!

Answers approved by DevExpress Support

created 3 days ago

Hi,

Thank you for reporting this. I reproduced the issue and forwarded it to our developers: T1285589 - Project Templates - Microsoft packages are missing when Server Render Mode is selected and Authentication is enabled
We will update that ticket once we have news to share.

In the meantime, please add the following packages to resolve the issue:

Code
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="9.*-*" /> <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="9.*-*" /> <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.*-*" /> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.*-*" />

Regards,
Gian

    Comments (1)

      Thank you.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.