asp.net-mvcentity-frameworkedmxedmx-designer

edmx re building creats a duplicate designer cs file


So, with my edmx (MyDatabase.Edmx) file, whenever I update model from database and I rebuild the project, it creates a duplicate designer file (MyDatabase1.Designer.cs). Was wondering if anyone knows of a config file to avoid creating the duplicate file? It happens on my local for dev purposes, my other teammates doesn't get the same issue.


Solution

  • So the way I did it is to check out the edmx files from TFS and then refreshed the tables. Rebuild the the project and then rebuild teh solution. For some reason it stopped duplicating the file.