2013. 6. 16. 10:58
- Stacktrace : at System.Data.Metadata.Edm.MetadataWorkspace.GetEdmSpaceType(StructuralType objectSpaceType)
- at System.Data.Entity.Internal.InternalContext.UpdateEntitySetMappings()
- at System.Data.Entity.Internal.InternalContext.TryUpdateEntitySetMappingsForType(Type entityType)
- at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
- at System.Data.Entity.Internal.Linq.InternalSet`1.Initialize()
- at System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext()
Solution found. It appears in some cases (randomly) there is a mix up in the code generated by the entity framework. This is apparently a known bug and a fix should be coming in future releases. In the mean time the way around this is to move the efm to a separate class within the solution.
+ 일반적 답변
Entity Framework 빌드 과정에서 edmx 파일을 참조하더라.
edmx 파일을 지우거나 다른 프로젝트로 분리해라.
+ @
edmx 파일을 지우거나 옮겼는데도, 이러한 증상이 계속된다면,
빌드결과가 나오는 bin 폴더를 초기화해보아라.
'[Debuging Note]' 카테고리의 다른 글
Cannot mix different threading models in document. (0) | 2013.12.06 |
---|---|
Facebook Graph Api 왜 Post로 실행 안되는걸까? (0) | 2013.11.15 |
[IIS] .NET MVC 라우팅 미작동. 가상디렉토리에 추가한 싸이트. (1) | 2013.09.12 |
[윈도우] 윈도우서버 2003 원격접속 갑자기 안될 때 (0) | 2013.09.12 |
[.NET] Assembly BInding Logging (0) | 2013.08.20 |