{"id":464,"date":"2019-05-03T21:38:21","date_gmt":"2019-05-03T18:38:21","guid":{"rendered":"http:\/\/localhost\/bilisimkurdu\/?p=464"},"modified":"2019-05-03T21:38:21","modified_gmt":"2019-05-03T18:38:21","slug":"cannot-save-modelsmodel1-edmx-could-not-load-file-or-assembly","status":"publish","type":"post","link":"http:\/\/localhost\/bilisimkurdu\/cannot-save-modelsmodel1-edmx-could-not-load-file-or-assembly\/","title":{"rendered":"Cannot save’…Models\\Model1.edmx’: Could not load file or assembly …"},"content":{"rendered":"\n
Merhaba Muhterem Ziyaret\u00e7iler,<\/p>\n\n\n\n
Bu yaz\u0131mda Visual Studio ile \u00e7al\u0131\u015f\u0131rken zaman zaman ald\u0131\u011f\u0131m\u0131z bir hata \u00fczerine olacak.<\/p>\n\n\n\n
Model klas\u00f6r\u00fcne olu\u015fturulan EntitiyFramework dosyas\u0131 a\u00e7\u0131l\u0131rken “Cannot save’\u2026Models\\Model1.edmx’: Could not load file or assembly \u2026” al\u0131yorsan\u0131z;<\/p>\n\n\n\n\n\n\n\n
ComponentModelCache temizli\u011fi<\/strong><\/em><\/p>\n\n\n\n Visual Studio program\u0131n\u0131 kapal\u0131 halde a\u015fa\u011f\u0131da uygun olan versiyona g\u00f6re dizin yoluna gelerek i\u00e7indeki b\u00fct\u00fcn dosyalar\u0131 siliyoruz.<\/p>\n\n\n\n Visual Studio 2017 i\u00e7in;<\/p>\n\n\n\n Visual Studio 2015 i\u00e7in;<\/p>\n\n\n\n Visual Studio 2013 i\u00e7in; <\/p>\n\n\n\n Visual Studio 2012 i\u00e7in; <\/p>\n\n\n\n Visual Studio 2010 i\u00e7in; <\/p>\n\n\n\n Veya otomatik temizlemek isterseniz a\u015fa\u011f\u0131daki adresten Visual Studio eklentisini indirip kurabilirsiniz.<\/p>\n\n\n\n https:\/\/marketplace.visualstudio.com\/items?itemName=MadsKristensen.ClearMEFComponentCache<\/a><\/p>\n\n\n\n EntitiyFramework olu\u015fturulurken faydan\u0131lan Data Provider (Connector) onar\u0131m\u0131 veya tekrardan kurulumu<\/strong><\/em><\/p>\n\n\n\n Misal olarak MySQL provider MySQL .net Provider<\/a> ve MySQL for Visual Studio<\/a><\/p>\n\n\n\n%USERPROFILE%\\AppData\\Local\\Microsoft\\VisualStudio\\15.0\\ComponentModelCache<\/code><\/pre>\n\n\n\n
%USERPROFILE%\\AppData\\Local\\Microsoft\\VisualStudio\\14.0\\ComponentModelCache\n\/\/veya\n%USERPROFILE%\\AppData\\Local\\Microsoft\\VisualStudio\\14.0_installID\\ComponentModelCache<\/code><\/pre>\n\n\n\n
%USERPROFILE%\\AppData\\Local\\Microsoft\\VisualStudio\\12.0\\ComponentModelCache\n\/\/veya\n%USERPROFILE%\\AppData\\Local\\Microsoft\\VisualStudio\\12.0_installID\\ComponentModelCache<\/code><\/pre>\n\n\n\n
%USERPROFILE%\\AppData\\Local\\Microsoft\\VisualStudio\\11.0\\ComponentModelCache\n\/\/veya\n%USERPROFILE%\\AppData\\Local\\Microsoft\\VisualStudio\\11.0\\ComponentModelCache<\/code><\/pre>\n\n\n\n
%USERPROFILE%\\AppData\\Local\\Microsoft\\VisualStudio\\10.0\\ComponentModelCache\n\/\/veya\n%USERPROFILE%\\AppData\\Local\\Microsoft\\VisualStudio\\10.0_installID\\ComponentModelCache<\/code><\/pre>\n\n\n\n