I've had a look at what's being added to the project file, and its a list of
config strings from a global setting file. It contains various urls for the
target build.

<#@ include file="globals.ttinclude" #>

I'm assuming those string are then referenced in the project (I'm told this
project needs the include file to target particular publishing urls).

I'll check out silky' suggestion to see if that helps.

cheers,
Stephen

On Thu, Jun 24, 2010 at 1:49 PM, David Kean <[email protected]>wrote:

>  Apart from unloading the project, I don’t believe you can do this.
>
>
>
> Why does the T4 build the project file? To add source files? If so, can you
> make it take a filter, such as <Compiler Include="*.cs" />?
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Stephen Price
> *Sent:* Wednesday, June 23, 2010 10:44 PM
> *To:* ozDotNet
> *Subject:* Generated project files
>
>
>
> Hi all,
>
>
>
> One of our project files is being generated from a tt file, and each time I
> do a build the project file is replaced. This triggers the IDE to reload the
> project file while its doing a build.
>
> Anyone know a way to have it automatically ignore or load the project file
> and not ask me? (just for this one project file).
>
>
>
> Please note this was not my idea, nor do I like it. It's caught me out
> twice now, wondering why files I've added to the project suddenly are not in
> the project when I build. Not to mention the reloading (see nag) of the
> project file during a build.
>
>
>
> Kind of hoping there's a property setting somewhere or maybe a build
> order/dependency thing.
>
>
>
> cheers,
>
> Stephen
>
>
>
>
>

Reply via email to