Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8584891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:52:46+00:00 2026-06-11T21:52:46+00:00

I was attempting to create a new project in VS2012 with an Administrative MVC4

  • 0

I was attempting to create a new project in VS2012 with an Administrative MVC4 project, Website MVC4 project, and a Common Entity Framework dll project.

I used an existing database an database and generated my entities from it. I updated the names of some of the relation properties and saved. I then added references to the Entity Framework project to both of my MVC4 projects, copied the Entity Framework connection string from App.config fileto each of the Web.config files, and made sure I was referencing the same System.Data.Entity assembly in all 3 projects.

I tried to add an MVC Controller using Entity Framework and received an error. The error stated that my entities did not have properties with certain names. It just so happened the names it was griping about were the ones that I renamed in the Entity Designer. So I ran Clean Solution, rebuilt, and attempted to add the controller again…Same error.

Since it was complaining that it didn’t have properties with certain names, I used ILSpy to inspect the assembly that was generated. Sure enough, it did not carry over the names I assigned to the properties in entity designer. Below is a photo of the Designer interface showing that I renamed the classes (yes I saved it), the error message I was getting when attempting to add the MVC controller, and the ILSpy output showing that the properties were not properly renamed in the output assembly.

Screen shot of entity designer, error, and ILSpy output

Is this a bug? Am I doing something wrong?


Update: It seems the .tt files are not automatically firing and regenerating the entities when I make changes to the .edmx design. Not sure what I need to do to get them to run automatically when I save the edmx?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T21:52:48+00:00Added an answer on June 11, 2026 at 9:52 pm

    There is reported bug which causes this issue when EDMX is not in the root of project directory. When you place EDMX into sub folder you must manually run custom tool to regenerate classes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am attempting to create a new Database Project in VS2010 via the New
I'm attempting to create a new project in TFS 2008. The process errors out
I'm attempting to create a new iPad project for an app I'm working on,
Im attempting to create a new operator :? on lists, which operates the same
So, horray - I'm attempting to create a new custom Payment Gateway. It's designed
I'm having a bit of confusion in attempting to retroactively create a new base
I am new to Java and NetBeans , and I am attempting to create
I'm fairly new to Ruby on Rails, and I'm attempting to create some fancy
I'm new to Flex, Flash, and ActionScript. I'm attempting to create a video player
I'm attempting to create my first real C# application - a small pet project

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.