Hello Team,
I tried to implement CRUD pages from the https://petstore.swagger.io/v2/swagger.json sample API and is faced someissues
I have attached compilation errors. Could you please guide me. Thanks !
radzen: Generating code ...
radzen: Code generation done in 524ms.
dotnet: watch :
dotnet: Started
dotnet: C:\RadZen\TestWasm\client\Pages\Pet.razor.designer.cs(82,54): error CS7036: There is no argument given that corresponds to the required formal parameter 'petId' of 'BwService.DeletePet(string, long)' [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
dotnet: C:\RadZen\TestWasm\client\Pages\Pet.razor(18,146): error CS0103: The name 'getfindByStatusResult' does not exist in the current context [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
C:\RadZen\TestWasm\client\Pages\EditPet.razor.designer.cs(75,73): error CS0103: The name 'petId' does not exist in the current context [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
C:\RadZen\TestWasm\client\Pages\EditPet.razor.designer.cs(83,60): error CS0103: The name 'body' does not exist in the current context [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
C:\RadZen\TestWasm\client\Pages\EditPet.razor(21,87): error CS1061: 'Pet' does not contain a definition for 'name' and no accessible extension method 'name' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
C:\RadZen\TestWasm\client\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_EditPet_razor.g.cs(172,432): error CS1061: 'Pet' does not contain a definition for 'name' and no accessible extension method 'name' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
C:\RadZen\TestWasm\client\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_EditPet_razor.g.cs(172,412): error CS1061: 'Pet' does not contain a definition for 'name' and no accessible extension method 'name' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
C:\RadZen\TestWasm\client\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_EditPet_razor.g.cs(173,224): error CS1061: 'Pet' does not contain a definition for 'name' and no accessible extension method 'name' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
C:\RadZen\TestWasm\client\Pages\EditPet.razor(33,71): error CS1061: 'Pet' does not contain a definition for 'status' and no accessible extension method 'status' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
C:\RadZen\TestWasm\client\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_EditPet_razor.g.cs(210,434): error CS1061: 'Pet' does not contain a definition for 'status' and no accessible extension method 'status' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
dotnet: C:\RadZen\TestWasm\client\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_EditPet_razor.g.cs(210,412): error CS1061: 'Pet' does not contain a definition for 'status' and no accessible extension m
dotnet: ethod 'status' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
dotnet: C:\RadZen\TestWasm\client\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_EditPet_razor.g.cs(211,224): error CS1061: 'Pet' does not contain a definition for 'status' and no accessible extension m
dotnet: ethod 'status' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
dotnet: C:\RadZen\TestWasm\client\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_EditPet_razor.g.cs(145,174): error CS1662: Cannot convert lambda expression to intended delegate type because some of the
dotnet: return types in the block are not implicitly convertible to the delegate return type [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
dotnet: C:\RadZen\TestWasm\client\Pages\AddPet.razor(21,87): error CS1061: 'Pet' does not contain a definition for 'name' and no accessible extension method 'name' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
C:\RadZen\TestWasm\client\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_AddPet_razor.g.cs(172,432): error CS1061: 'Pet' does not contain a definition for 'name' and no accessible extension method 'name' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
dotnet: C:\RadZen\TestWasm\client\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_AddPet_razor.g.cs(172,412): error CS1061: 'Pet' does not contain a definition for 'name' and no accessible extension method 'name' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
C:\RadZen\TestWasm\client\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_AddPet_razor.g.cs(173,224): error CS1061: 'Pet' does not contain a definition for 'name' and no accessible extension method 'name' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
dotnet: C:\RadZen\TestWasm\client\Pages\AddPet.razor(33,71): error CS1061: 'Pet' does not contain a definition for 'status' and no accessible extension method 'status' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
C:\RadZen\TestWasm\client\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_AddPet_razor.g.cs(210,434): error CS1061: 'Pet' does not contain a definition for 'status' and no accessible extension method 'status' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
C:\RadZen\TestWasm\client\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_AddPet_razor.g.cs(210,412): error CS1061: 'Pet' does not contain a definition for 'status' and no accessible extension method 'status' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
C:\RadZen\TestWasm\client\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_AddPet_razor.g.cs(211,224): error CS1061: 'Pet' does not contain a definition for 'status' and no accessible extension method 'status' accepting a first argument of type 'Pet' could be found (are you missing a using directive or an assembly reference?) [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
C:\RadZen\TestWasm\client\Microsoft.NET.Sdk.Razor.SourceGenerators\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_AddPet_razor.g.cs(145,174): error CS1662: Cannot convert lambda expression to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type [C:\RadZen\TestWasm\client\TWasm.Client.csproj]
dotnet:
dotnet: The build failed. Fix the build errors and run again.
dotnet:
dotnet:
dotnet: watch :
dotnet: Exited with error code 1
dotnet: watch :
dotnet: Waiting for a file to change before restarting dotnet...
radzen: Stopped server.