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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:19:07+00:00 2026-05-12T06:19:07+00:00

So I decided to roll up my sleeves and try out the T4 code

  • 0

So I decided to roll up my sleeves and try out the T4 code generation built into VS2008.

I was going to work off of this article:
http://www.olegsych.com/2008/09/t4-tutorial-creatating-your-first-code-generator/

So, I get to this part: “Click Project->Add New Item in the main menu and select Code Generation->File template in the dialog.” and discover that the Code Generation category is missing on my machine. (Tried in both a VB and C# project).

Is there perhaps a seperate download to get T4 on your machine?

Update #1

So, I downloaded the T4 Toolbox from CodePlex: http://t4toolbox.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=27563

And things seem sorted out now. I was under the impression that the download was required for VS2005 but not for VS2008. Oh well, looks like its a fresh release anyways so is likely worthwhile to download.

Update #2

It now seems I don’t have all the template types shown in the article. I only have File, Template, Generator, Unit Test
“Generator” is not listed in the article, and there are 3 in the article that I don’t have. Strange….

  • 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-12T06:19:07+00:00Added an answer on May 12, 2026 at 6:19 am

    Do you happen to use Visual Basic? T4 Toolbox only provides 4 project item templates for VB – File, Template, Generator and Unit Test. The other templates you may have seen in the tutorial screenshots are implemented in C# and generate C# code. It seemed inappropriate to make them available in Visual Basic projects.

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

Sidebar

Related Questions

I decided to try http://www.screwturn.eu/ wiki as a code snippet storage utility. So far
I decided to try out LINQ for the first time to try and solve
I decided to install APC to speed up the site that I work for.
I decided to learn C++ (I program in C at work), and I have
We have decided to work with the Insert Framework Here We'll most likely update
I decided to make a system for a client using Castle ActiveRecord , everything
I decided to use log4net as a logger for a new webservice project. Everything
We decided to use the minimumRequiredVersion in our clickOnce application manifest, and now when
I decided to teach myself assembly language. I have realized that my program will
Ive decided that I really dont like microsoft and their ways. Please could you

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.