Designer errors when running, connected to mySQL

I've just installed 2.43.9 on my Mac for the first time, created a new Blazor project to test and connected it to an existing mySQL DB running on a windows server and I'm getting designer error messages for every form.

This is a new install, not an update.

.Net Core SDK 3.1 (v3.1.100) has been installed as well as the latest Visual Studio for Mac.

radzen: Generating code ...
radzen: Code generation done in 364ms.
dotnet: watch :
dotnet: Started

dotnet: Pages/EditOdd.razor.designer.cs(61,17): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]

dotnet: Pages/EditBookmaker.razor.designer.cs(61,17): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]

dotnet: Pages/Countries.razor.designer.cs(60,17): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]

dotnet: Pages/EditSeason.razor.designer.cs(61,17): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/Odds.razor.designer.cs(60,17): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/EditOdd.razor.designer.cs(61,18): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]

dotnet: Pages/EditSeason.razor.designer.cs(61,18): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/Odds.razor.designer.cs(60,18): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/EditOdd.razor.designer.cs(61,52): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/EditBookmaker.razor.designer.cs(61,18): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/Odds.razor.designer.cs(60,45): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/EditSeason.razor.designer.cs(61,57): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]

dotnet: Pages/EditBookmaker.razor.designer.cs(61,63): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/EditCard.razor.designer.cs(61,17): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/EditCard.razor.designer.cs(61,18): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]

dotnet: Pages/EditCard.razor.designer.cs(61,53): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/AddLeague.razor.designer.cs(65,21): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/AddLeague.razor.designer.cs(65,22): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/AddLeague.razor.designer.cs(65,54): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/AddMatch.razor.designer.cs(65,21): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/AddMatch.razor.designer.cs(65,22): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]
Pages/AddMatch.razor.designer.cs(65,53): error CS1002: ; expected [/Users/mike/Documents/Projects/Radzen - 1X2 Admin/server/C1X2Admin.csproj]

... and so on for every form ....

dotnet:

dotnet: The build failed. Fix the build errors and run again.

dotnet: watch :
dotnet: Exited with error code 1

Please advise.

Thanks
Mike

Can you post some code?

I should add that the errors also include:

error CS1514: { expected
error CS1003: Syntax error, ',' expected
error CS1513: } expected
error CS1026: ) expected
error CS0106: The modifier 'protected' is not valid for this item

Sorry for not including them in my original post.

Thanks
Mike

Here is the code for the first error in Pages/EditOdd.razor.designer.cs

using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.JSInterop;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
using Radzen;
using Radzen.Blazor;
using C1X2Admin.Models.C1X2Db;
using Microsoft.EntityFrameworkCore;

namespace C1X2Admin.Pages
{
public partial class EditOddComponent : ComponentBase
{
[Parameter(CaptureUnmatchedValues = true)]
public IReadOnlyDictionary<string, dynamic> Attributes { get; set; }

    [Inject]
    protected IJSRuntime JSRuntime { get; set; }

    [Inject]
    protected NavigationManager UriHelper { get; set; }

    [Inject]
    protected DialogService DialogService { get; set; }

    [Inject]
    protected NotificationService NotificationService { get; set; }

    [Inject]
    protected C1X2DbService C1X2Db { get; set; }

    [Parameter]
    public dynamic oddsID { get; set; }

    C1X2Admin.Models.C1X2Db.Odd _odd;
    protected C1X2Admin.Models.C1X2Db.Odd odd
    {
        get
        {
            return _odd;
        }
        set
        {
            if(!object.Equals(_odd, value))
            {
                _odd = value;
                InvokeAsync(() => { StateHasChanged(); });
            }
        }
    }

    protected override async System.Threading.Tasks.Task OnInitializedAsync()
    {
        await Load();
    }
    protected async System.Threading.Tasks.Task Load()
    {
        var 1X2DbGetOddByoddsIdResult = await 1X2 DB.GetOddByoddsId(int.Parse($"{oddsID}"));
        odd = 1X2DbGetOddByoddsIdResult;
    }

    protected async System.Threading.Tasks.Task Form0Submit(C1X2Admin.Models.C1X2Db.Odd args)
    {
        try
        {
            var 1X2DbUpdateOddResult = await 1X2 DB.UpdateOdd(int.Parse($"{oddsID}"), odd);
            DialogService.Close(odd);
        }
        catch (Exception 1X2DbUpdateOddException)
        {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update Odd");
        }
    }

    protected async System.Threading.Tasks.Task Button2Click(MouseEventArgs args)
    {
        DialogService.Close(null);
    }
}

}

Is this the name of the data source? With space starting with number? If this is the case we will handle it in the next update - in the meantime you can choose different data source name.

No the name is not the same as the data source.

Incase the space in 1X2 DB was the issue, I've created a second project with the name 1X2DB.

Same errors I'm afraid.

Check my previous reply. At the moment the data source name should not start with number and cannot contain space.

Thank you, that has fixed the problem.