Entitiy Framework Mapping issue
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.
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
Support Staff 1 Posted by rune on Dec 23, 2013 @ 05:47 PM
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 instanceContent
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 Posted by rickjgirling on Dec 24, 2013 @ 04:22 PM
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.
Support Staff 3 Posted by rune on Dec 24, 2013 @ 06:02 PM
Hi Rick,
Ok great, glad to hear it all worked out!
Best,
Rune
rune closed this discussion on Dec 24, 2013 @ 06:02 PM.