Skip to content

Commit 22edad7

Browse files
committed
Add 2016 support, all unit tests passing.
1 parent 22b20dc commit 22edad7

File tree

18 files changed

+11130
-120
lines changed

18 files changed

+11130
-120
lines changed

FileHelpers/FileHelpers.xml

Lines changed: 10689 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TextFileSplitter.sln

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TextFileSplitter2014", "Tex
2121
EndProject
2222
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "TextFileSplitterInstallx86", "TextFileSplitterInstallx86\TextFileSplitterInstallx86.wixproj", "{7995D5C2-ED1A-42E4-8CCD-CA0276A50311}"
2323
EndProject
24-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTestTextFileSplitter", "UnitTestTextFileSplitter2012\UnitTestTextFileSplitter.csproj", "{6910816A-8EB5-4E8F-84CF-FA15FEBDB467}"
24+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTestTextFileSplitter", "UnitTestTextFileSplitter\UnitTestTextFileSplitter.csproj", "{6910816A-8EB5-4E8F-84CF-FA15FEBDB467}"
2525
ProjectSection(ProjectDependencies) = postProject
26-
{51B00B6A-F94A-4C7E-860A-487C9893FC9A} = {51B00B6A-F94A-4C7E-860A-487C9893FC9A}
2726
{EB8633FF-CEED-40EE-8D1A-CA1BF5678C42} = {EB8633FF-CEED-40EE-8D1A-CA1BF5678C42}
2827
EndProjectSection
2928
EndProject
29+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TextFileSplitter2016", "TextFileSplitter2016\TextFileSplitter2016.csproj", "{3F6DB102-213E-4B0A-83D8-3E309197B8B8}"
30+
EndProject
3031
Global
3132
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3233
Debug|Any CPU = Debug|Any CPU
@@ -169,7 +170,6 @@ Global
169170
{6910816A-8EB5-4E8F-84CF-FA15FEBDB467}.Release|Any CPU.ActiveCfg = Release|Any CPU
170171
{6910816A-8EB5-4E8F-84CF-FA15FEBDB467}.Release|Any CPU.Build.0 = Release|Any CPU
171172
{6910816A-8EB5-4E8F-84CF-FA15FEBDB467}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
172-
{6910816A-8EB5-4E8F-84CF-FA15FEBDB467}.Release|Mixed Platforms.Build.0 = Release|Any CPU
173173
{6910816A-8EB5-4E8F-84CF-FA15FEBDB467}.Release|x64.ActiveCfg = Release|Any CPU
174174
{6910816A-8EB5-4E8F-84CF-FA15FEBDB467}.Release|x86.ActiveCfg = Release|Any CPU
175175
{6910816A-8EB5-4E8F-84CF-FA15FEBDB467}.UnitTest|Any CPU.ActiveCfg = Debug|Any CPU
@@ -178,6 +178,30 @@ Global
178178
{6910816A-8EB5-4E8F-84CF-FA15FEBDB467}.UnitTest|Mixed Platforms.Build.0 = Release|Any CPU
179179
{6910816A-8EB5-4E8F-84CF-FA15FEBDB467}.UnitTest|x64.ActiveCfg = Release|Any CPU
180180
{6910816A-8EB5-4E8F-84CF-FA15FEBDB467}.UnitTest|x86.ActiveCfg = Release|Any CPU
181+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
182+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
183+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
184+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
185+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Debug|x64.ActiveCfg = Debug|Any CPU
186+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Debug|x64.Build.0 = Debug|Any CPU
187+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Debug|x86.ActiveCfg = Debug|Any CPU
188+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Debug|x86.Build.0 = Debug|Any CPU
189+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
190+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Release|Any CPU.Build.0 = Release|Any CPU
191+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
192+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Release|Mixed Platforms.Build.0 = Release|Any CPU
193+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Release|x64.ActiveCfg = Release|Any CPU
194+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Release|x64.Build.0 = Release|Any CPU
195+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Release|x86.ActiveCfg = Release|Any CPU
196+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.Release|x86.Build.0 = Release|Any CPU
197+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.UnitTest|Any CPU.ActiveCfg = Release|Any CPU
198+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.UnitTest|Any CPU.Build.0 = Release|Any CPU
199+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.UnitTest|Mixed Platforms.ActiveCfg = Release|Any CPU
200+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.UnitTest|Mixed Platforms.Build.0 = Release|Any CPU
201+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.UnitTest|x64.ActiveCfg = Release|Any CPU
202+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.UnitTest|x64.Build.0 = Release|Any CPU
203+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.UnitTest|x86.ActiveCfg = Release|Any CPU
204+
{3F6DB102-213E-4B0A-83D8-3E309197B8B8}.UnitTest|x86.Build.0 = Release|Any CPU
181205
EndGlobalSection
182206
GlobalSection(SolutionProperties) = preSolution
183207
HideSolutionNode = FALSE

TextFileSplitter2008/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 36 deletions
This file was deleted.

TextFileSplitter2008/TextFileSplitter2008.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@
9191
<Compile Include="..\TextFileSplitter2012\MessageStrings.cs">
9292
<Link>MessageStrings.cs</Link>
9393
</Compile>
94+
<Compile Include="..\TextFileSplitter2012\Properties\AssemblyInfo.cs">
95+
<Link>Properties\AssemblyInfo.cs</Link>
96+
</Compile>
9497
<Compile Include="..\TextFileSplitter2012\Properties\Resources.Designer.cs">
9598
<Link>Properties\Resources.Designer.cs</Link>
9699
<DependentUpon>Resources.resx</DependentUpon>
@@ -126,7 +129,6 @@
126129
<Compile Include="..\TextFileSplitter2012\Utilities.cs">
127130
<Link>Utilities.cs</Link>
128131
</Compile>
129-
<Compile Include="Properties\AssemblyInfo.cs" />
130132
</ItemGroup>
131133
<ItemGroup>
132134
<None Include="TextFileSplitter2008.snk" />

TextFileSplitter2012/Properties/AssemblyInfo.cs

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,27 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8+
#if SQL2016
9+
[assembly: AssemblyTitle("TextFileSplitter2016")]
10+
[assembly: AssemblyProduct("TextFileSplitter2016")]
11+
#endif
12+
#if SQL2014
13+
[assembly: AssemblyTitle("TextFileSplitter2014")]
14+
[assembly: AssemblyProduct("TextFileSplitter2014")]
15+
#endif
16+
#if SQL2012
817
[assembly: AssemblyTitle("TextFileSplitter2012")]
9-
[assembly: AssemblyDescription("")]
10-
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
1218
[assembly: AssemblyProduct("TextFileSplitter2012")]
13-
[assembly: AssemblyCopyright("Copyright © 2013")]
19+
#endif
20+
#if SQL2008
21+
[assembly: AssemblyTitle("TextFileSplitter2008")]
22+
[assembly: AssemblyProduct("TextFileSplitter2008")]
23+
#endif
24+
25+
[assembly: AssemblyDescription("SSIS Component to split a text file into many outputs")]
26+
[assembly: AssemblyConfiguration("")]
27+
[assembly: AssemblyCompany("None")]
28+
[assembly: AssemblyCopyright("Copyright © Keith Martin 2017")]
1429
[assembly: AssemblyTrademark("")]
1530
[assembly: AssemblyCulture("")]
1631

TextFileSplitter2014/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 37 deletions
This file was deleted.

TextFileSplitter2014/TextFileSplitter2014.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@
8484
<Compile Include="..\TextFileSplitter2012\MessageStrings.cs">
8585
<Link>MessageStrings.cs</Link>
8686
</Compile>
87+
<Compile Include="..\TextFileSplitter2012\Properties\AssemblyInfo.cs">
88+
<Link>Properties\AssemblyInfo.cs</Link>
89+
</Compile>
8790
<Compile Include="..\TextFileSplitter2012\Properties\Resources.Designer.cs">
8891
<Link>Properties\Resources.Designer.cs</Link>
8992
<DependentUpon>Resources.resx</DependentUpon>
@@ -119,7 +122,6 @@
119122
<Compile Include="..\TextFileSplitter2012\Utilities.cs">
120123
<Link>Utilities.cs</Link>
121124
</Compile>
122-
<Compile Include="Properties\AssemblyInfo.cs" />
123125
</ItemGroup>
124126
<ItemGroup>
125127
<None Include="TextFileSplitter2014.snk" />
14.7 KB
Binary file not shown.
Lines changed: 171 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{3F6DB102-213E-4B0A-83D8-3E309197B8B8}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>Martin.SQLServer.Dts</RootNamespace>
11+
<AssemblyName>TextFileSplitter2016</AssemblyName>
12+
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<TargetFrameworkProfile />
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<DebugSymbols>true</DebugSymbols>
18+
<DebugType>full</DebugType>
19+
<Optimize>false</Optimize>
20+
<OutputPath>bin\Debug\</OutputPath>
21+
<DefineConstants>TRACE;DEBUG;SQL2016</DefineConstants>
22+
<ErrorReport>prompt</ErrorReport>
23+
<WarningLevel>4</WarningLevel>
24+
</PropertyGroup>
25+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26+
<DebugType>pdbonly</DebugType>
27+
<Optimize>true</Optimize>
28+
<OutputPath>bin\Release\</OutputPath>
29+
<DefineConstants>TRACE</DefineConstants>
30+
<ErrorReport>prompt</ErrorReport>
31+
<WarningLevel>4</WarningLevel>
32+
</PropertyGroup>
33+
<PropertyGroup>
34+
<SignAssembly>true</SignAssembly>
35+
</PropertyGroup>
36+
<PropertyGroup>
37+
<AssemblyOriginatorKeyFile>TextFileSplitter2016.snk</AssemblyOriginatorKeyFile>
38+
</PropertyGroup>
39+
<ItemGroup>
40+
<Reference Include="System" />
41+
<Reference Include="System.Core" />
42+
<Reference Include="System.Drawing" />
43+
<Reference Include="System.Windows.Forms" />
44+
<Reference Include="System.Xml.Linq" />
45+
<Reference Include="System.Data.DataSetExtensions" />
46+
<Reference Include="Microsoft.CSharp" />
47+
<Reference Include="System.Data" />
48+
<Reference Include="System.Net.Http" />
49+
<Reference Include="System.Xml" />
50+
<Reference Include="Microsoft.SqlServer.Dts.Design, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" />
51+
<Reference Include="Microsoft.SqlServer.DTSPipelineWrap, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
52+
</Reference>
53+
<Reference Include="Microsoft.SQLServer.DTSRuntimeWrap, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=x86">
54+
</Reference>
55+
<Reference Include="Microsoft.SQLServer.ManagedDTS, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" />
56+
<Reference Include="Microsoft.SqlServer.PipelineHost, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" />
57+
</ItemGroup>
58+
<ItemGroup>
59+
<Compile Include="..\TextFileSplitter2012\DataFlowComponentUI.cs">
60+
<Link>DataFlowComponentUI.cs</Link>
61+
</Compile>
62+
<Compile Include="..\TextFileSplitter2012\DrawingControl.cs">
63+
<Link>DrawingControl.cs</Link>
64+
</Compile>
65+
<Compile Include="..\TextFileSplitter2012\GlobalSuppressions.cs">
66+
<Link>GlobalSuppressions.cs</Link>
67+
</Compile>
68+
<Compile Include="..\TextFileSplitter2012\ManageColumns.cs">
69+
<Link>ManageColumns.cs</Link>
70+
</Compile>
71+
<Compile Include="..\TextFileSplitter2012\ManageProperties.cs">
72+
<Link>ManageProperties.cs</Link>
73+
</Compile>
74+
<Compile Include="..\TextFileSplitter2012\MasterSelection.cs">
75+
<Link>MasterSelection.cs</Link>
76+
<SubType>Form</SubType>
77+
</Compile>
78+
<Compile Include="..\TextFileSplitter2012\MasterSelection.designer.cs">
79+
<Link>MasterSelection.designer.cs</Link>
80+
<DependentUpon>MasterSelection.cs</DependentUpon>
81+
</Compile>
82+
<Compile Include="..\TextFileSplitter2012\MessageStrings.cs">
83+
<Link>MessageStrings.cs</Link>
84+
</Compile>
85+
<Compile Include="..\TextFileSplitter2012\Properties\AssemblyInfo.cs">
86+
<Link>Properties\AssemblyInfo.cs</Link>
87+
</Compile>
88+
<Compile Include="..\TextFileSplitter2012\Properties\Resources.Designer.cs">
89+
<Link>Properties\Resources.Designer.cs</Link>
90+
<DependentUpon>Resources.resx</DependentUpon>
91+
<AutoGen>True</AutoGen>
92+
<DesignTime>True</DesignTime>
93+
</Compile>
94+
<Compile Include="..\TextFileSplitter2012\SplitOutput.cs">
95+
<Link>SplitOutput.cs</Link>
96+
</Compile>
97+
<Compile Include="..\TextFileSplitter2012\SSISOutput.cs">
98+
<Link>SSISOutput.cs</Link>
99+
</Compile>
100+
<Compile Include="..\TextFileSplitter2012\SSISOutputColumn.cs">
101+
<Link>SSISOutputColumn.cs</Link>
102+
</Compile>
103+
<Compile Include="..\TextFileSplitter2012\SSISProperty.cs">
104+
<Link>SSISProperty.cs</Link>
105+
</Compile>
106+
<Compile Include="..\TextFileSplitter2012\TextFileSplitter.cs">
107+
<Link>TextFileSplitter.cs</Link>
108+
</Compile>
109+
<Compile Include="..\TextFileSplitter2012\TextFileSplitterForm.cs">
110+
<Link>TextFileSplitterForm.cs</Link>
111+
<SubType>Form</SubType>
112+
</Compile>
113+
<Compile Include="..\TextFileSplitter2012\TextFileSplitterForm.designer.cs">
114+
<Link>TextFileSplitterForm.designer.cs</Link>
115+
<DependentUpon>TextFileSplitterForm.cs</DependentUpon>
116+
</Compile>
117+
<Compile Include="..\TextFileSplitter2012\TextFileSplitterUI.cs">
118+
<Link>TextFileSplitterUI.cs</Link>
119+
</Compile>
120+
<Compile Include="..\TextFileSplitter2012\Utilities.cs">
121+
<Link>Utilities.cs</Link>
122+
</Compile>
123+
</ItemGroup>
124+
<ItemGroup>
125+
<EmbeddedResource Include="..\TextFileSplitter2012\MasterSelection.resx">
126+
<Link>MasterSelection.resx</Link>
127+
<DependentUpon>MasterSelection.cs</DependentUpon>
128+
</EmbeddedResource>
129+
<EmbeddedResource Include="..\TextFileSplitter2012\Properties\Resources.resx">
130+
<Link>Properties\Resources.resx</Link>
131+
<Generator>ResXFileCodeGenerator</Generator>
132+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
133+
<SubType>Designer</SubType>
134+
</EmbeddedResource>
135+
<EmbeddedResource Include="..\TextFileSplitter2012\TextFileSplitterForm.resx">
136+
<Link>TextFileSplitterForm.resx</Link>
137+
<DependentUpon>TextFileSplitterForm.cs</DependentUpon>
138+
</EmbeddedResource>
139+
</ItemGroup>
140+
<ItemGroup>
141+
<Content Include="..\TextFileSplitter2012\Attributions.txt">
142+
<Link>Attributions.txt</Link>
143+
</Content>
144+
<EmbeddedResource Include="Resources\TextFileSplitter.ico" />
145+
<Content Include="TextFileSplitter2016.extensions.xml" />
146+
<Content Include="TextFileSplitter2016.xml" />
147+
</ItemGroup>
148+
<ItemGroup>
149+
<None Include="TextFileSplitter2016.snk" />
150+
</ItemGroup>
151+
<ItemGroup>
152+
<ProjectReference Include="..\FileHelpers\FileHelpers.csproj">
153+
<Project>{eb8633ff-ceed-40ee-8d1a-ca1bf5678c42}</Project>
154+
<Name>FileHelpers</Name>
155+
</ProjectReference>
156+
</ItemGroup>
157+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
158+
<PropertyGroup>
159+
<PostBuildEvent>SET SSV=13
160+
ECHO [$(ConfigurationName)]
161+
if [$(ConfigurationName)] == [UnitTest] "%25ProgramFiles(x86)%25\Microsoft Visual Studio\2017\Enterprise\Team Tools\Performance Tools\x64\vsinstr" "$(TargetDir)$(TargetName).dll" -verbose -coverage
162+
if [$(ConfigurationName)] == [UnitTest] "%25ProgramFiles(x86)%25\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\sn" -Ra "$(TargetDir)$(TargetName).dll" "$(TargetDir)\..\..\$(TargetName).snk"
163+
if NOT [$(ConfigurationName)] == [Release] "%25ProgramFiles(x86)%25\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\GACUtil.exe" -u $(TargetName)
164+
if NOT [$(ConfigurationName)] == [Release] COPY "$(TargetDir)$(TargetName).*" "%25ProgramFiles(x86)%25\Microsoft SQL Server\%25SSV%250\DTS\PipelineComponents\" /Y
165+
if NOT [$(ConfigurationName)] == [Release] COPY "$(TargetDir)$(TargetName).*" "%25ProgramFiles%25\Microsoft SQL Server\%25SSV%250\DTS\PipelineComponents\" /Y
166+
if NOT [$(ConfigurationName)] == [Release] "%25ProgramFiles(x86)%25\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\GacUtil.exe" -i "%25ProgramFiles(x86)%25\Microsoft SQL Server\%25SSV%250\DTS\PipelineComponents\$(TargetName).DLL"
167+
if NOT [$(ConfigurationName)] == [Release] COPY "$(ProjectDir)$(TargetName).xml" "%25ProgramFiles(x86)%25\Microsoft SQL Server\%25SSV%250\DTS\UpgradeMappings" /Y
168+
if NOT [$(ConfigurationName)] == [Release] COPY "$(ProjectDir)$(TargetName).extensions.xml" "%25ProgramFiles(x86)%25\Microsoft SQL Server\%25SSV%250\DTS\UpgradeMappings" /Y
169+
</PostBuildEvent>
170+
</PropertyGroup>
171+
</Project>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<Extensions xmlns="http://www.microsoft.com/SqlServer/Dts/Extensions.xsd">
3+
<PipelineComponents>
4+
<PipelineComponent Identifier="TextFileSplitter" Model=".NET">
5+
<CreationName>Martin.SQLServer.Dts.TextFileSplitter, TextFileSplitter2016, Version=1.0.0.0, Culture=neutral, PublicKeyToken=51c551904274ab44</CreationName>
6+
</PipelineComponent>
7+
</PipelineComponents>
8+
</Extensions>

0 commit comments

Comments
 (0)