-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'IServiceCollection' does not contain a definition for 'AddSweetAlert2' #1128
Comments
Did you added |
1- i installed package. public void OnPostSave() |
Add this at the top of the file:
|
That was it. Thanks. |
After Installing the nuget package, tried adding "services.AddSweetAlert2();" to Startup.cs. Getting this error message
Error CS1061 'IServiceCollection' does not contain a definition for 'AddSweetAlert2' and no accessible extension method 'AddSweetAlert2' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?) Test C:....\Startup.cs 31 N/A
The text was updated successfully, but these errors were encountered: