Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Entitiy Framework Mapping issue

rickjgirling's Avatar

rickjgirling

Dec 23, 2013 @ 05:40 PM

Hi, im getting a mapping issue with the entity framework that I don't get in my local copy, its still trying to map an int to a string, this mapping used to exist in the past build but no longer exists now. I tried downloading the build locally however my model files do not exist and I'm even missing the directory where my ViewModels exist "\ViewModels", also missing the .edmx xml file that contains the mappings... Any ideas why I cant get a clean build?

Thanks,

Rick.

  1. Support Staff 1 Posted by rune on Dec 23, 2013 @ 05:47 PM

    rune's Avatar

    Hi Rick,

    Are you sure that the files are included in your repository, and that they're probably referenced from your project files? Some files may need to be marked with the Build Action attribute set to for instance Content to ensure that they're copied to the build output folder.

    The reason is that AppHarbor invokes MsBuild with an OutDir parameter, so the solution and contained projects will need to define this.

    Best,
    Rune

  2. 2 Posted by rickjgirling on Dec 24, 2013 @ 04:22 PM

    rickjgirling's Avatar

    Thanks Rune,

    Was a EF issue, something just wasn't getting updated, I dropped the field/column and commented out all reference to it and redeployed and it now runs good.

    Rick.

  3. Support Staff 3 Posted by rune on Dec 24, 2013 @ 06:02 PM

    rune's Avatar

    Hi Rick,

    Ok great, glad to hear it all worked out!

    Best,
    Rune

  4. rune closed this discussion on Dec 24, 2013 @ 06:02 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac