Print Page | Close Window

Windows Store Template, EF Code First - no *.ibmmx file.

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2012
Forum Discription: For .NET 4.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3864
Printed Date: 13-Sep-2025 at 12:22pm


Topic: Windows Store Template, EF Code First - no *.ibmmx file.
Posted By: zbig
Subject: Windows Store Template, EF Code First - no *.ibmmx file.
Date Posted: 29-Dec-2012 at 1:42pm
Hi All,

I'm testing Win Store app:
- Windows 8, VS 2012
- Windows Store app template
- DevForce 7.0.3
- EF Code First (6.0)
- DevForce.cf file exists (server side)
- only one simple entity in model with two properties (EntityId, Name)
- entity has [ProvideEntityAspect] attribute
- custom DbContext built
- no custom EntityManager built

I can build the solution ('build', not 'rebuild') with no errors.
When I 'Rebuild' the solution, an error appears:

'Error     1     An error occurred during metadata generation and a metadata file could not be created. Error: The system cannot find the file specified     TestAppWeb'

'TestAppWeb' is the name of the project (server side).

Regardles the build type (build/rebuild), there is no *.ibmmx file finally.

Should that work? If 'yes' - what can be wrong?
Or EF Code First doesn't work with Win Store apps yet?

Thanks in advance.

Zbig











Replies:
Posted By: kimj
Date Posted: 30-Dec-2012 at 10:53am
Code First models aren't yet supported in Windows Store apps.   This should be available in DevForce sometime early next year, once PostSharp 3.0 is released.
 
We don't support EF 6.0 alpha, and have no plans to support any pre-release version.



Print Page | Close Window