locked
EDMX files generated but do not appear in solution explorer RRS feed

  • Question

  • I've started a new ASP.NET web MVC project (using VB). I've created a data model, selecting "ADO Data Entry" and then "EF Designer from database". Created a connection to my local SQL Server database, selected a single table (all fields), and finished. The EDMX file was created with no problem. Checked the design, looks good, and right-clicked "Validate" from the design surface which returns no problems.

    However, none of the other generated files are listed in Solution Explorer (context.tt, context.vb, designer.vb, etc.). Yet, they DO appear in the "Models" folder for the project, so something was generated. 

    Why are those generated files not now in Solution Explorer, and how can I get Solution Explorer to recognized them?

    I am using a newly-installed instance of VS Studio 2017 professional. Database is SQL Server 2012. 

    Thank you in advance for your help.

    Bill

    Monday, August 6, 2018 1:58 AM

Answers

  • I have discovered the answer to my question, quite by accident!

    I needed to go to the VS "Project" menu, and click the option "Show All Files".

    Hope this might help someone else just getting started.

    Bill

    Monday, August 6, 2018 4:31 AM

All replies

  • I have discovered the answer to my question, quite by accident!

    I needed to go to the VS "Project" menu, and click the option "Show All Files".

    Hope this might help someone else just getting started.

    Bill

    Monday, August 6, 2018 4:31 AM
  • Hi Bill,

    It seems that you have solved your issue now, please remember to close your thread by marking your reply as answer, it is beneficial to other community members who face the same issue.

    Thanks for your understanding.

    Best Regards,

    Cherry


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, August 7, 2018 5:25 AM