-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #175 from mono/targets-improvements
Targets improvements
- Loading branch information
Showing
14 changed files
with
172 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Rule Name="Build" | ||
OverrideMode="Extend" | ||
Description="Specifies properties that control how the project builds." | ||
DisplayName="Build" | ||
PageTemplate="generic" | ||
xmlns="http://schemas.microsoft.com/build/2009/properties"> | ||
|
||
<Rule.Categories> | ||
<Category Name="T4Templates" | ||
DisplayName="T4 Templates" /> | ||
</Rule.Categories> | ||
|
||
<Rule.DataSource> | ||
<DataSource Persistence="ProjectFile" | ||
SourceOfDefaultValue="AfterContext" | ||
HasConfigurationCondition="False" /> | ||
</Rule.DataSource> | ||
|
||
<BoolProperty Name="TransformOnBuild" | ||
DisplayName="Transform on build" | ||
Description="Transform T4 templates when building the project." | ||
Category="T4Templates" /> | ||
|
||
<StringProperty Name="T4DefaultNamespace" | ||
DisplayName="T4 Default Namespace" | ||
Description="Default namespace for preprocessed T4 templates." | ||
Category="T4Templates" /> | ||
|
||
<BoolProperty Name="TransformOutOfDateOnly" | ||
DisplayName="Transform out-of-date templates only" | ||
Description="When transforming T4 templates, skip ones that are already up to date." | ||
Category="T4Templates" /> | ||
|
||
<BoolProperty Name="UseLegacyT4Preprocessing" | ||
DisplayName="Use legacy T4 preprocessing" | ||
Description="Place the output files of preprocessed templates beside the template files instead of dynamically injecting them into the build." | ||
Category="T4Templates" /> | ||
</Rule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ProjectSchemaDefinitions xmlns="http://schemas.microsoft.com/build/2009/properties"> | ||
|
||
<ContentType | ||
Name="T4Transform" | ||
DisplayName="T4 template" | ||
ItemType="T4Transform"> | ||
<NameValuePair Name="DefaultMetadata_Generator" Value="MSBuild:TransformTemplates" /> | ||
</ContentType> | ||
|
||
<ContentType | ||
Name="T4Preprocess" | ||
DisplayName="T4 runtime template" | ||
ItemType="T4Preprocess"> | ||
<NameValuePair Name="DefaultMetadata_Generator" Value="MSBuild:TransformTemplates" /> | ||
</ContentType> | ||
|
||
<ItemType Name="T4Transform" DisplayName="T4 template"/> | ||
<ItemType Name="T4Preprocess" DisplayName="T4 runtime template"/> | ||
|
||
<FileExtension Name=".tt" ContentType="T4 template" /> | ||
|
||
</ProjectSchemaDefinitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.