Skip to content

Error during compilation #1

@Langer75

Description

@Langer75

Hi

I try to play with this project the Human Design part where the values are printed to the console ist working fine. But the blazor part stops while compiling with the following error:

/home/pi/HumanDesignChart/obj/Debug/net8.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Pages_Test_razor.g.cs(156,169): error CS0234: Der Typ- oder Namespacename "IHumanDesignChart" ist im Namespace "SharpAstrology.Enums" nicht vorhanden. (Möglicherweise fehlt ein Assemblyverweis.) [/home/pi/HumanDesignChart/HumanDesignChart.csproj]
/home/pi/HumanDesignChart/Pages/Test.razor(15,30): error CS1503: Argument "1": Konvertierung von "SharpAstrology.DataModels.HumanDesignChart" in "SharpAstrology.Enums.IHumanDesignChart" nicht möglich. [/home/pi/HumanDesignChart/HumanDesignChart.csproj]
/home/pi/HumanDesignChart/Pages/Test.razor(28,38): warning CS8618: Non-Nullable-Eigenschaft „EphService“ muss beim Beenden des Konstruktors einen Wert ungleich NULL enthalten. Fügen Sie ggf. den „erforderlichen“ Modifizierer hinzu, oder deklarieren Sie den Eigenschaft als NULL-Werte zulassend. [/home/pi/HumanDesignChart/HumanDesignChart.csproj]
/home/pi/HumanDesignChart/Pages/Test.razor(29,30): warning CS8618: Non-Nullable-Feld „chart“ muss beim Beenden des Konstruktors einen Wert ungleich NULL enthalten. Fügen Sie ggf. den „erforderlichen“ Modifizierer hinzu, oder deklarieren Sie den Feld als NULL-Werte zulassend. [/home/pi/HumanDesignChart/HumanDesignChart.csproj]

Do you know the reason?

By the way great work. Thank you very much for sharing your work

best regards Andreas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions