Last active
December 5, 2018 04:43
-
-
Save vtml/f7b7f4932b7330a2456913f4a4d38420 to your computer and use it in GitHub Desktop.
Referencing T4 Code Generation Templates
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | |
<!-- | |
In the default configuration of the global file, the values for a configuration in the global file supersede the values | |
in the project configuration. This behavior can be changed by specifying a condition on the property as follows: | |
<SitecoreWebUrl Condition=" '$(SitecoreWebUrl)' == '' "></SitecoreWebUrl> | |
By adding the above condition, the value specified in the global configuration file will only be applied if the | |
value specified in the project is blank. | |
It should be noted that values in the project .user file will override values in the global file. | |
Changes to this file will not be picked up by visual studio until the TDS project(s) or solution is reloaded. | |
A TdsGlobal.config.user file may also be created in the same folder as this file. the .user file will override property | |
values specified in other files. | |
--> | |
<!-- Custom Build Extensions Properties - examples given--> | |
<CustomGitDeltaDeploy>True</CustomGitDeltaDeploy> | |
<LastDeploymentGitCommitID></LastDeploymentGitCommitID> | |
<LastDeploymentGitTagName>7.1.101.433</LastDeploymentGitTagName> | |
<CullProjectFiles>True</CullProjectFiles> | |
<OutputPath>.\bin\Release\</OutputPath> | |
<LightningDeployMode>True</LightningDeployMode> | |
<!-- Default Delta Deploy - example of passing the date to the default delta deploy feature. (This is only for the default delta deploy feature. It is not used for the custom git delta deploy. --> | |
<!--<IncludeItemsChangedAfter>2016-03-21</IncludeItemsChangedAfter>--> | |
<!-- Default Delta Deploy - example of passing in a relative date (1 week ago) to the default delta deploy feature. --> | |
<!--<IncludeItemsChangedAfter>$([System.DateTime]::Now.AddDays(-7))</IncludeItemsChangedAfter>--> | |
<!-- Packaging properties --> | |
<!-- | |
<PackageAuthor></PackageAuthor> | |
<PackagePublisher></PackagePublisher> | |
<PackageVersion></PackageVersion> | |
<PackageReadme></PackageReadme> | |
<SitecoreAssemblyPath></SitecoreAssemblyPath> | |
<GeneratePackage></GeneratePackage> | |
<SeperateFilesAndItems></SeperateFilesAndItems> | |
<PackageExcludeCode></PackageExcludeCode> | |
<AddDateTimeToPackageName></AddDateTimeToPackageName> | |
--> | |
<!-- Deployment Properties --> | |
<!-- | |
<SitecoreWebUrl></SitecoreWebUrl> | |
<SitecoreDeployFolder></SitecoreDeployFolder> | |
<RecursiveDeployAction></RecursiveDeployAction> | |
<InstallSitecoreConnector></InstallSitecoreConnector> | |
<SitecoreAccessGuid></SitecoreAccessGuid> | |
<DisableFileDeployment></DisableFileDeployment> | |
--> | |
<!-- NuGet package properties --> | |
<!-- | |
<NuGetGenerateNuGetPackage></NuGetGenerateNuGetPackage> | |
<NuGetExePath></NuGetExePath> | |
<NuGetSummary></NuGetSummary> | |
<NuGetDescription></NuGetDescription> | |
<NuGetTitle></NuGetTitle> | |
<NuGetVersion></NuGetVersion> | |
<NuGetPackageId></NuGetPackageId> | |
<NuGetAuthors></NuGetAuthors> | |
<NuGetProjectUrl></NuGetProjectUrl> | |
<NuGetTags></NuGetTags> | |
<NuGetRequireLicenseAcceptance></NuGetRequireLicenseAcceptance> | |
<NuGetReleaseNotes></NuGetReleaseNotes> | |
<NuGetLanguage></NuGetLanguage> | |
<NuGetOwners></NuGetOwners> | |
<NuGetCopyright></NuGetCopyright> | |
<NuGetLicenseUrl></NuGetLicenseUrl> | |
<NuGetIconUrl></NuGetIconUrl> | |
<NuGetDependencies></NuGetDependencies> | |
--> | |
<!-- Validation Properties --> | |
<!-- | |
<EnableValidations></EnableValidations> | |
<ValidationSettingsFilePath></ValidationSettingsFilePath> | |
--> | |
</PropertyGroup> | |
<ItemGroup> | |
<CodeGenTemplate Include="$(SolutionDir)packages\Isobar.Foundation.Glass.TDS.1.4.1\tools\T4\generalextensions.tt" /> | |
<CodeGenTemplate Include="$(SolutionDir)packages\Isobar.Foundation.Glass.TDS.1.4.1\tools\T4\glassheader.tt" /> | |
<CodeGenTemplate Include="$(SolutionDir)packages\Isobar.Foundation.Glass.TDS.1.4.1\tools\T4\glassitem.tt" /> | |
<CodeGenTemplate Include="$(SolutionDir)packages\Isobar.Foundation.Glass.TDS.1.4.1\tools\T4\glassv3header.tt" /> | |
<CodeGenTemplate Include="$(SolutionDir)packages\Isobar.Foundation.Glass.TDS.1.4.1\tools\T4\glassv3header-NoGlassBase.tt" /> | |
<CodeGenTemplate Include="$(SolutionDir)packages\Isobar.Foundation.Glass.TDS.1.4.1\tools\T4\glassv3item.tt" /> | |
<CodeGenTemplate Include="$(SolutionDir)packages\Isobar.Foundation.Glass.TDS.1.4.1\tools\T4\helpers.tt" /> | |
<CodeGenTemplate Include="$(SolutionDir)packages\Isobar.Foundation.Glass.TDS.1.4.1\tools\T4\inflector.tt" /> | |
<CodeGenTemplate Include="$(SolutionDir)packages\Isobar.Foundation.Glass.TDS.1.4.1\tools\T4\itempaths.tt" /> | |
<CodeGenTemplate Include="$(SolutionDir)packages\Isobar.Foundation.Glass.TDS.1.4.1\tools\T4\mddocheader.tt" /> | |
<CodeGenTemplate Include="$(SolutionDir)packages\Isobar.Foundation.Glass.TDS.1.4.1\tools\T4\mddocitem.tt" /> | |
<CodeGenTemplate Include="$(SolutionDir)packages\Isobar.Foundation.Glass.TDS.1.4.1\tools\T4\stringextensions.tt" /> | |
<CodeGenTemplate Include="$(SolutionDir)packages\Isobar.Foundation.Glass.TDS.1.4.1\tools\T4\velirheader.tt" /> | |
<CodeGenTemplate Include="$(SolutionDir)packages\Isobar.Foundation.Glass.TDS.1.4.1\tools\T4\veliritem.tt" /> | |
</ItemGroup> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment