--- InnerException --- A connection string has been provided but constructor with connection string argument could not be found. Either remove the connection string from the data source or provide a constructor which will use that connection string. For design time purposes a constructor that has...
Error 2 Metadata file 'C:\ASPnetMVC3Projects\SportsStore\SportsStore.Domain\bin\Debug\SportsStore.Domain.dll' could not be found SportsStore.WebUI All replies (10) Tuesday, March 20, 2012 12:22 PM ✅Answered Oh, I see... you have defined these classes in your project? Well, that'...
Set(Type).Find(id) == null) { return new ValidationResult($"Element {id} can't be found"); } return ValidationResult.Success; } } But then I found dataContext.Set(Type). is not available on EFCore. So, I hope this method will be implemented soon. Thank you 👍 3 ajcvickers ...
Below is the logs from running this. You can see it queries all the DbSets (in this case, I only have the Identity DbSets in my DbContext) like it queries the Application_User_External_Tokens even though that's not involved in this at all. It looks like it does this twice. I have...
From the error message, it may be related to your configuration of Identity. Could you share your startup.cs and DbContext to us?Here is a suggestion I have found which you could refer to.And below is a simple demo if you use an ApplicaionUser instead of IdentityUser:...
Error 22 'System.Data.Entity.DbSet<Entities.User>' does not contain a definition for 'FirstOrDefault' and no extension method 'FirstOrDefault' accepting a first argument of type 'System.Data.Entity.DbSet<Entities.User>' could be found (are you missing a using directive or an assembly r...
Error 2 Metadata file 'C:\ASPnetMVC3Projects\SportsStore\SportsStore.Domain\bin\Debug\SportsStore.Domain.dll' could not be found SportsStore.WebUI All replies (10) Tuesday, March 20, 2012 12:22 PM ✅Answered Oh, I see... you have defined these classes in your project? Well, that'...