abpframework / eventhub

Open-source event organizing web application and a reference DDD solution.
https://openeventhub.com
GNU Affero General Public License v3.0
203 stars 87 forks source link

Build errors #103

Closed moustafa11911 closed 2 years ago

moustafa11911 commented 2 years ago

Hello, I get the following error "} expected" in many files such as SessionDto, AddSessionDto, AddTrackDto, .... i solved it by replacing the semicolon in line of namespace with curly brackets
after solving these issues i get another errors in the web project

EventHub.Admin.Web\Pages\EventManagement.razor.cs(47,39,47,57): error CS0115: 'EventManagement.OnInitializedAsync()': no suitable method found to override

EventHub.Admin.Web\Pages\OrganizationManagement.razor.cs(47,39,47,57): error CS0115: 'OrganizationManagement.OnInitializedAsync()': no suitable method found to override

EventHub.Admin.Web\Pages\OrganizationMembershipManagement.razor.cs(37,39,37,57): error CS0115: 'OrganizationMembershipManagement.OnInitializedAsync()': no suitable method found to override

EventHub.Admin.Web\Components\UserPicker\UserPicker.razor.cs(56,39,56,59): error CS0115: 'UserPicker.OnParametersSetAsync()': no suitable method found to override

EventHub.Admin.Web\Components\UserPicker\UserPicker.razor.cs(51,39,51,57): error CS0115: 'UserPicker.OnInitializedAsync()': no suitable method found to override

EventHub.Admin.Web\Pages\AttendeeDetail.razor.cs(37,39,37,57): error CS0115: 'AttendeeDetail.OnInitializedAsync()': no suitable method found to override

Can you plz help to fix these issues. I am using visual studio 2022

maliming commented 2 years ago

hi

How to reproduce this problem?

moustafa11911 commented 2 years ago

Clone the EventHub project from this url https://github.com/volosoft/eventhub then try to build eventhub.sln solution, it give me errors related to restore the reference of the payment project so i go to the main folder of eventhup and run the command "dotnet restore EventHub.sln" and the payment error fixed after that i tried to build the soultion of eventhub and gave me the errors mentioned in my issue. can you please help ?