Skip to content

Commit 50be016

Browse files
committed
Fixed T4 template
1 parent 94cca67 commit 50be016

File tree

7 files changed

+14
-15
lines changed

7 files changed

+14
-15
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,9 @@ ASALocalRun/
336336
# temporary files WinPrint creates for debugging
337337
tests/*_.html
338338

339+
# T4 generated files (for telemety ID)
340+
*.tt.cs
341+
339342
#Wix
340343
*.g.wxs
341344
install/

src/WinPrint.Console/WinPrint.Console.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AssemblyName>winprint</AssemblyName>
1010
<StartupObject>WinPrint.Console.Program</StartupObject>
1111

12-
<Version>2.0.0.2108</Version>
12+
<Version>2.0.0.2114</Version>
1313
<Company>Kindel Systems</Company>
1414
<Product>winprint</Product>
1515
<Authors>Charlie Kindel</Authors>

src/WinPrint.Core/Services/TelemetryService.tt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<#@ import namespace="System.Collections.Generic" #>
66
<#@ import namespace="System.IO" #>
77
<#@ import namespace="System.Diagnostics" #>
8-
<#@ output extension=".cs" #>
8+
<#@ output extension=".tt.cs" #>
99
<#
1010
string id = System.Environment.GetEnvironmentVariable("winprint_telemetryId");
1111
if (id == null)

src/WinPrint.Core/WinPrint.Core.csproj

+7-10
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<PropertyGroup>
55
<TargetFramework>netcoreapp3.1</TargetFramework>
66
<Platforms>AnyCPU;x64;x86</Platforms>
7-
<Version>2.0.0.2160</Version>
7+
<Version>2.0.0.2166</Version>
88
<Company>Kindel Systems</Company>
99
<Product>winprint</Product>
1010
<Authors>Charlie Kindel</Authors>
@@ -32,14 +32,6 @@
3232
</EmbeddedResource>
3333
</ItemGroup>
3434

35-
<ItemGroup>
36-
<None Include="Services\TelemetryService.cs">
37-
<DesignTime>True</DesignTime>
38-
<AutoGen>True</AutoGen>
39-
<DependentUpon>TelemetryService.tt</DependentUpon>
40-
</None>
41-
</ItemGroup>
42-
4335
<ItemGroup>
4436
<PackageReference Include="CommandLineParser" Version="2.7.82" />
4537
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="3.1.2" />
@@ -75,6 +67,11 @@
7567
<AutoGen>True</AutoGen>
7668
<DependentUpon>TelemetryService.tt</DependentUpon>
7769
</Compile>
70+
<Compile Update="Services\TelemetryService.tt.cs">
71+
<DesignTime>True</DesignTime>
72+
<AutoGen>True</AutoGen>
73+
<DependentUpon>TelemetryService.tt</DependentUpon>
74+
</Compile>
7875
</ItemGroup>
7976

8077
<ItemGroup>
@@ -88,7 +85,7 @@
8885
<ItemGroup>
8986
<None Update="Services\TelemetryService.tt">
9087
<Generator>TextTemplatingFileGenerator</Generator>
91-
<LastGenOutput>TelemetryService.cs</LastGenOutput>
88+
<LastGenOutput>TelemetryService.tt.cs</LastGenOutput>
9289
</None>
9390
</ItemGroup>
9491

src/WinPrint.LiteHtml/WinPrint.LiteHtml.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<AssemblyTitle>winprint LiteHtml</AssemblyTitle>
77
<AssemblyName>WinPrint.LiteHtml</AssemblyName>
88

9-
<Version>2.0.0.2162</Version>
9+
<Version>2.0.0.2170</Version>
1010
<Company>Kindel Systems</Company>
1111
<Product>winprint</Product>
1212
<Authors>Charlie Kindel</Authors>

src/WinPrint.WinForms/WinPrint.WinForms.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<AssemblyTitle>winprint GUI</AssemblyTitle>
1313
<AssemblyName>winprintgui</AssemblyName>
1414

15-
<Version>2.0.0.2109</Version>
15+
<Version>2.0.0.2115</Version>
1616
<Company>Kindel Systems</Company>
1717
<Product>winprint</Product>
1818
<Authors>Charlie Kindel</Authors>

src/WinPrint.sln

-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ Global
7575
{CBA949C1-2B89-4DFA-9F9A-BBE0D8097D30}.Release|x86.ActiveCfg = Release|x86
7676
{CBA949C1-2B89-4DFA-9F9A-BBE0D8097D30}.Release|x86.Build.0 = Release|x86
7777
{44555887-C439-470C-944D-8866EC3D7067}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
78-
{44555887-C439-470C-944D-8866EC3D7067}.Debug|Any CPU.Build.0 = Debug|Any CPU
7978
{44555887-C439-470C-944D-8866EC3D7067}.Debug|x86.ActiveCfg = Debug|Any CPU
8079
{44555887-C439-470C-944D-8866EC3D7067}.Debug|x86.Build.0 = Debug|Any CPU
8180
{44555887-C439-470C-944D-8866EC3D7067}.Release|Any CPU.ActiveCfg = Release|Any CPU

0 commit comments

Comments
 (0)