Another thing I just tried and failed was doing a brand new fresh download and trying to Update-Database in the Package manager console and I am getting "Could not load file or assembly 'Microsoft.EntityFrameworkCore.Design' or one of its dependencies. The system cannot find the file specified."
I shut down visual studio, I cleaned the solution rebuilt it, and triple checked that I have the EntityFrameworkCore as the selected default project in Package Manager Console.
I am using .Net Framework 4.6.1 but I am having a ton of issues updating to the 4.0 version as well as migrations are completely different. So I don't believe it is an easy upgrade as it has been in the past since it now uses EntityFramework Core project instead. It kept trying to create new tables and getting hung up on the tables that were already there. It wasn't updating the changes or anything. I tried a fresh database just to see if I could get the creation to work but it wouldn't seed the database. So I am not sure what to do at this point.
Good idea. I will try that. Thank you
@alirizaadiyahsi it actually does affect it because I have the tables but I am still creating entities in the ASP.NET ZERO project so the migrations pick up that these should be created in the database.
I have a database that has some existing tables that I did a database first creation of my entities and then added them to my ASP.NET Zero project. I want to keep migrations but only for the ASP.NET Zero tables. Is there away to shut off migrations for my entities that are existing tables?
I am working on updating to 4.0.0 and I am getting an error below. Has anyone gotten that when upgrading to 4.0?
Severity Code Description Project File Line Suppression State Error CS0121 The call is ambiguous between the following methods or properties: 'PHS.Configuration.HostingEnvironmentExtensions.GetAppConfiguration(Microsoft.AspNetCore.Hosting.IHostingEnvironment)' and 'PHS.Web.Configuration.HostingEnvironmentExtensions.GetAppConfiguration(Microsoft.AspNetCore.Hosting.IHostingEnvironment)' PHS.Web.Core C:\Code\PHS\PHS\aspnet-core\src\PHS.Web.Core\PHSWebCoreModule.cs 46 Active
Oh yes that is exactly what it was. Thank you
I just updated my Angular 2 project to the latest 3.4.0 version and now I am getting the below error.
Message "Filter name MustHaveTenant not found" string
I am getting an error when I am trying to use AutoMapper to map a EditDTO to a Entity. I have made sure they have the same properties and they are spelled the same. I cannot figure this out. Would you have any idea?
AutoMapper.AutoMapperMappingException: Missing type map configuration or unsupported mapping.
I am currently building a Angular2 application for our business. I want to enable the Google Authentication. We use Google Apps and I only want to allow for our specific domain to be able to login and no other Google account. Would you have any good ideas how I can achieve this?