Replaced use of T4 templates with PS-based templates.

TextTransform.exe is not available with Express versions of Visual Studio.
This commit is contained in:
Arnavion
2013-12-27 12:05:07 -08:00
parent 61ceaef57e
commit c7bf4b0474
10 changed files with 28 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
<#@ include file="..\..\version.include.tt" #>#define APPNAM "HexChat"
#define APPVER "<#= string.Join(".", versionParts) #>"
#define APPNAM "HexChat"
#define APPVER "<#= [string]::Join('.', $versionParts) #>"
; These are defined by our installer project at build time
;#define APPARCH "x64"
;#define PROJECTDIR "C:\...\hexchat\win32\installer\"

View File

@@ -64,7 +64,7 @@
<Command>
<![CDATA[
SET SOLUTIONDIR=$(SolutionDir)..\
$(TextTransformPath) -out "%SOLUTIONDIR%win32\installer\hexchat.iss" "%SOLUTIONDIR%win32\installer\hexchat.iss.tt"
powershell "$(SolutionDir)..\version-template.ps1" "$(SolutionDir)..\win32\installer\hexchat.iss.tt" "$(SolutionDir)..\win32\installer\hexchat.iss"
del "$(OutDir)hexchat.iss"
type hexchat.iss >> "$(OutDir)hexchat.iss"
$(IsccPath) /dPROJECTDIR="$(ProjectDir)" /dAPPARCH="$(Platform)" "$(OutDir)hexchat.iss"