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 7608367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:53:44+00:00 2026-05-31T00:53:44+00:00

Specifically, I’ve installed the extensions: EF 4.x DbContext Generator for C# EF 4.x DbContext

  • 0

Specifically, I’ve installed the extensions:

  • EF 4.x DbContext Generator for C#
  • EF 4.x DbContext Generator for C# Web Sites

I am trying to find the location these were installed, because I would like to modify them for my own needs.

I have looked in the following locations:

  • [UserDir]\Documents\Visual Studio 2010\My Exported Templates
  • [VSDir]\Common7\IDE\ItemTemplates\CSharp\Code\1033

But they are not in either location.

More Background

What I have done is modify the T4 template that generates the POCO’s to pull info about the Max Length of text fields, have it generate a constructor for all objects (the default only generates an explicit constructor if there are complex types/relations that need to be instantiated), and add a partial method call to the Constructor for further initialization in a partial class.

The code that I have added is going to be needed in basically every project I do, so I would like to have my own code generation template for my POCO’s, instead of having to modify the default one each time.

So, I’m looking for where those templates are so I can modify them, to create new ones with my changes inserted.

  • 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-05-31T00:53:45+00:00Added an answer on May 31, 2026 at 12:53 am

    MSDN:
    During installation, Extension Manager uncompresses the .vsix file and puts its contents in %LocalAppData%\Microsoft\VisualStudio\10.0\Extensions\Company\Product\Version. Company, Product, and Version are specified in the extension.vsixmanifest file, and correspond to the namespace, project name, and version number that are set in the project properties.

    But strange, I also cannot find. I tried to install DbContextCSharp.vsix and find the content file (CSharpDbContext.Context.tt) of the installer. [You can unzip the installer by changing vsix to zip extension]

    One thing I can suggest is, unzip the installer > update with your logic > change the extension back > re-install to visual studio.

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

Sidebar

Related Questions

Specifically, say I have a string like ABC-123-NNN. I would like the paragraph to
Specifically, I would like to share a set of utility methods between NSTreeNode and
Specifically, I want to write a powershell script to find every file with extensions.lib
Specifically for Twisted, I would like to be able to determine whether the server
Specifically, I would like to know how the view model is to be bound
Specifically, I have a model that has a field like this pub_date = models.DateField(date
Specifically, I'd like to write the Windows Media Player frames, such as the WM/MediaClassPrimaryID
Specifically, I want to use Point-to-point Message Queue but because I am still using
Specifically, I'm wondering which of these I should write: { shared_ptr<GuiContextMenu> subMenu = items[j].subMenu.lock();
Specifically, what I'd like to do is raise new events from my apps and

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.