blazor-samples icon indicating copy to clipboard operation
blazor-samples copied to clipboard

Duplicate Method Definition in ScheduleData Class

Open Rodien opened this issue 10 months ago • 2 comments

There is a compilation error in the ScheduleData class due to a duplicate method definition. The error message is as follows:

CS0111: Type 'ScheduleData' already defines a member called 'GetScheduleData' with the same parameter types

Steps to Reproduce

  1. Build the Blazor_Server_Demos_NET9 project
  2. Observe that there are multiple error about ScheduleData

Image

Rodien avatar Feb 04 '25 14:02 Rodien

This ScheduleData.cs file needs to be removed, I think?

Image

In my case, I have just changed the namespace.

Image

Rodien avatar Feb 04 '25 15:02 Rodien

@Rodien,

We have resolved the duplicate method issue on our end. You can find the pull request details below:

Blazor Samples PR #178

This update removes the redundant ScheduleData.cs file, addressing the compilation error you encountered.

SwathiRavi14 avatar Feb 13 '25 10:02 SwathiRavi14

This issue appears to be resolved in the latest update. Could you please confirm if everything works as expected? Closing for now, but feel free to reopen if needed.

kmuthukumarmkm avatar Jul 03 '25 12:07 kmuthukumarmkm