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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:33:56+00:00 2026-06-18T12:33:56+00:00

I am using T4MVC to generate templated files for MVC and I have noticed

  • 0

I am using T4MVC to generate templated files for MVC and I have noticed that it is increasing my build time drastically. If I take a look at the Output window, it firsts builds the referenced projects quite fast (around 5 seconds) and then when it comes to building the MVC web application, it takes very long.. nothing is shown within the Output window until it finishes, which takes around 45 seconds.

I have just installed the T4MVC from Nuget, does it compile automatically on build? Does it take so long? Any ideas on what I can do to reduce compile time and use T4MVC as it is a great tool for maintainability?

  • 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-18T12:33:58+00:00Added an answer on June 18, 2026 at 12:33 pm

    That should not be happening. T4MVC does its generation at design time. i.e. each time you save the .tt file or choose ‘Run Custom Tool’, it regenerate sources.

    But when you build, it’s essentially out of the picture, and the sources that it generated are built with the rest, and should not be adding any measurable time.

    So I suspect something else might be going on here. Questions:

    • Do you also see this when building from the cmd line using msbuild?
    • Do you see this on a clean new MVC project where you just added T4MVC?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using T4MVC in our ASP.NET MVC project. I have a statement like
I have an MVC controller that has a single constructor, I am using structure
I'm using .NET 3.5, MVC 2 and T4MVC 2.6.42... I have the following action:
We have an existing MVC application that we're building using TeamCity and things were
I am using T4MVC in my ASP.NET MVC 3 project. I have the following
Using import datetime in python, is it possible to take a formatted time/date string
I have recently become a T4MVC fanatic and now I seem incapable of using
I'm writing specflow tests using Watin, for an Asp.Net MVC application which uses T4MVC.
I have an ASP.NET MVC 3 web application. I recently installed T4MVC templates by
I am using T4MVC and the Chirpy plugin in an ASP.Net MVC 3 website

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.