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

  • Home
  • SEARCH
  • 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 6779423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:23:00+00:00 2026-05-26T16:23:00+00:00

I have a t4 template, that loops over an xml file in the project

  • 0

I have a t4 template, that loops over an xml file in the project and genrate the code.
Is it possible to make the T4 to run when a certain file has bee saved, or when I build the project?
VS 2010

Thanks

  • 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-26T16:23:01+00:00Added an answer on May 26, 2026 at 4:23 pm
    1. Add the XML file to your project
    2. Right Mouse button on your xml file in your project solution explorer and view properties
    3. Excluded from Build should say No
    4. Item Type should say Custom Build Tool
    5. Setup Custom Build Tool Command line and Outputs.

    Now whenever the xml file changes (ie newer that its output) it will trigger a build. Rebuilding the project will also trigger a build.

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

Sidebar

Related Questions

Absolute beginner question: I have a template file index.html that looks like this: ...
I have code that looks like this: template<class T> class list { public: class
I have some code that looks like: template<unsigned int A, unsigned int B> int
I have an xml that looks like this: <Config> <A></A> <Template><B/><C/></Template> </Config> and I
I have a Smarty template file in which I'm looping over hierarchical data represented
I have a jquery template that I'm looping over x number of times to
I have template that looks like this: 100 template<size_t A0, size_t A1, size_t A2,
Basically I have a small template that looks like: <xsl:template name=templt> <xsl:param name=filter />
I want to have a template class that looks something like what I have
I have a data.frame in R that looks like this: score rms template aln_id

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.