Skip to content

Commit 2de3ff5

Browse files
author
Vladyslav Danylov
committed
[PAA-1241] Updated solution to VS2015.
1 parent 9219e96 commit 2de3ff5

49 files changed

Lines changed: 3924 additions & 690 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
44 KB
Binary file not shown.
28 KB
Binary file not shown.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
4+
//
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
//
9+
[assembly: AssemblyTitle("")]
10+
[assembly: AssemblyDescription("")]
11+
[assembly: AssemblyConfiguration("")]
12+
[assembly: AssemblyCompany("")]
13+
[assembly: AssemblyProduct("")]
14+
[assembly: AssemblyCopyright("")]
15+
[assembly: AssemblyTrademark("")]
16+
[assembly: AssemblyCulture("")]
17+
18+
//
19+
// Version information for an assembly consists of the following four values:
20+
//
21+
// Major Version
22+
// Minor Version
23+
// Build Number
24+
// Revision
25+
//
26+
// You can specify all the values or you can default the Revision and Build Numbers
27+
// by using the '*' as shown below:
28+
29+
[assembly: AssemblyVersion("1.0.*")]
30+
31+
//
32+
// In order to sign your assembly you must specify a key to use. Refer to the
33+
// Microsoft .NET Framework documentation for more information on assembly signing.
34+
//
35+
// Use the attributes below to control which key is used for signing.
36+
//
37+
// Notes:
38+
// (*) If no key is specified, the assembly is not signed.
39+
// (*) KeyName refers to a key that has been installed in the Crypto Service
40+
// Provider (CSP) on your machine. KeyFile refers to a file which contains
41+
// a key.
42+
// (*) If the KeyFile and the KeyName values are both specified, the
43+
// following processing occurs:
44+
// (1) If the KeyName can be found in the CSP, that key is used.
45+
// (2) If the KeyName does not exist and the KeyFile does exist, the key
46+
// in the KeyFile is installed into the CSP and used.
47+
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
48+
// When specifying the KeyFile, the location of the KeyFile should be
49+
// relative to the project output directory which is
50+
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
51+
// located in the project directory, you would specify the AssemblyKeyFile
52+
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
53+
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
54+
// documentation for more information on this.
55+
//
56+
[assembly: AssemblyDelaySign(false)]
57+
[assembly: AssemblyKeyFile("")]
58+
[assembly: AssemblyKeyName("")]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.1.0.
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
<project name="Solution Build Example" default="build">
2+
<property name="configuration" value="Release"/>
3+
<property name="DatabaseName" value="DataFreshSample" />
4+
<property name="output.dir" value="D:\BuildOutput\dataFresh" />
5+
<target name="build" description="Build all targets.">
6+
<call target="ClearFolders"/>
7+
<call target="Generate.Version.Files"/>
8+
<call target="Build.Solution"/>
9+
<call target="Database.Create"/>
10+
<call target="NUnit"/>
11+
<call target="Deploy"/>
12+
</target>
13+
<target name="ClearFolders" description="">
14+
<delete dir="${CCNetWorkingDirectory}\Results" failonerror="false" />
15+
<mkdir dir="${CCNetWorkingDirectory}\Results" failonerror="false" />
16+
</target>
17+
<target name="Generate.Version.Files">
18+
<asminfo output="${CCNetWorkingDirectory}\DataFresh\AssemblyInfo.cs" language="CSharp">
19+
<imports>
20+
<import namespace="System" />
21+
<import namespace="System.Reflection" />
22+
<import namespace="System.Runtime.InteropServices" />
23+
<import namespace="DataFresh" />
24+
</imports>
25+
<attributes>
26+
<attribute type="AssemblyVersionAttribute" value="${CCNetLabel}" />
27+
<attribute type="AssemblyTitleAttribute" value="dataFresh" />
28+
</attributes>
29+
</asminfo>
30+
<asminfo output="${CCNetWorkingDirectory}\DataFreshUtil\AssemblyInfo.cs" language="CSharp">
31+
<imports>
32+
<import namespace="System" />
33+
<import namespace="System.Reflection" />
34+
<import namespace="System.Runtime.InteropServices" />
35+
<import namespace="DataFresh" />
36+
</imports>
37+
<attributes>
38+
<attribute type="AssemblyVersionAttribute" value="${CCNetLabel}" />
39+
<attribute type="AssemblyTitleAttribute" value="dataFresh Console Utility" />
40+
</attributes>
41+
</asminfo>
42+
</target>
43+
44+
<target name="Build.Solution">
45+
<solution configuration="${configuration}" solutionfile="${CCNetWorkingDirectory}/EntropyZero DataFresh Solution.sln">
46+
<assemblyfolders>
47+
<include name="${CCNetWorkingDirectory}/**" />
48+
</assemblyfolders>
49+
</solution>
50+
</target>
51+
52+
<target name="NUnit">
53+
<echo message="NUnit Testing"/>
54+
<nunit2>
55+
<formatter type="Xml" usefile="true" extension=".xml" outputdir="${CCNetWorkingDirectory}\Results" />
56+
<test>
57+
<assemblies>
58+
<include name="${CCNetWorkingDirectory}\Testing.DataFresh\bin\**\Testing.DataFresh.dll" />
59+
</assemblies>
60+
</test>
61+
</nunit2>
62+
<echo message="NUnit Testing Completed"/>
63+
</target>
64+
65+
<target name="Database.Create">
66+
<loadtasks assembly="D:\Build\Common\nantcontrib-0.85-rc3\bin\NAnt.Contrib.Tasks.dll" />
67+
68+
<sql
69+
connstring="Provider=SQLOLEDB;Data Source=(local); Initial Catalog=master; Integrated Security=SSPI"
70+
transaction="true"
71+
print="true"
72+
delimiter=";"
73+
delimstyle="Normal">
74+
75+
if exists (Select * from sysdatabases where name = '${DatabaseName}')
76+
BEGIN
77+
78+
ALTER DATABASE [${DatabaseName}]
79+
SET SINGLE_USER
80+
WITH ROLLBACK IMMEDIATE
81+
82+
DROP DATABASE [${DatabaseName}]
83+
END;
84+
85+
</sql>
86+
87+
<sql
88+
connstring="Provider=SQLOLEDB;Data Source=(local); Initial Catalog=master; Integrated Security=SSPI"
89+
transaction="true"
90+
print="true"
91+
delimiter=";"
92+
delimstyle="Normal">
93+
94+
CREATE DATABASE [${DatabaseName}]
95+
ON (
96+
NAME = N'${DatabaseName}_Data'
97+
, FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL\Data\${DatabaseName}_Data.MDF'
98+
, FILEGROWTH = 10%)
99+
LOG ON (
100+
NAME = N'${DatabaseName}_Log'
101+
, FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL\Data\${DatabaseName}_log.LDF'
102+
, FILEGROWTH = 10%)
103+
COLLATE SQL_Latin1_General_CP1_CI_AS;
104+
105+
</sql>
106+
107+
<echo message="About to populate database" />
108+
<exec program="osql" output="${CCNetWorkingDirectory}/temp.txt" append="false" failonerror="false">
109+
<arg line="-S (local) -d ${DatabaseName} -E -n -b -m 10 -r 1 -i &quot;${CCNetWorkingDirectory}\Testing.DataFresh\Database Files\Database.sql&quot;" />
110+
</exec>
111+
112+
</target>
113+
114+
<target name="Deploy">
115+
116+
<delete dir="${output.dir}\Package" failonerror="false" />
117+
<mkdir dir="${output.dir}\Package" failonerror="false" />
118+
119+
<copy todir="${output.dir}\Package" overwrite="true">
120+
<fileset basedir="${CCNetWorkingDirectory}\DataFreshUtil\bin\${configuration}">
121+
<include name="*.dll" />
122+
<include name="*.exe" />
123+
</fileset>
124+
</copy>
125+
126+
<attrib normal="true">
127+
<fileset basedir="${output.dir}\Package">
128+
<include name="**" />
129+
</fileset>
130+
</attrib>
131+
132+
<zip zipfile="${output.dir}\dataFresh-${CCNetLabel}.zip">
133+
<fileset basedir="${output.dir}\Package">
134+
<include name="**.*" />
135+
</fileset>
136+
</zip>
137+
138+
</target>
139+
140+
</project>
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
<VisualStudioProject>
2+
<CSHARP
3+
ProjectType = "Local"
4+
ProductVersion = "7.10.6030"
5+
SchemaVersion = "2.0"
6+
ProjectGuid = "{0BAA8852-1597-43BB-AF78-BABA707D4D86}"
7+
>
8+
<Build>
9+
<Settings
10+
ApplicationIcon = ""
11+
AssemblyKeyContainerName = ""
12+
AssemblyName = "DataFresh.Common"
13+
AssemblyOriginatorKeyFile = ""
14+
DefaultClientScript = "JScript"
15+
DefaultHTMLPageLayout = "Grid"
16+
DefaultTargetSchema = "IE50"
17+
DelaySign = "false"
18+
OutputType = "Library"
19+
PreBuildEvent = ""
20+
PostBuildEvent = ""
21+
RootNamespace = "DataFresh.Common"
22+
RunPostBuildEvent = "OnBuildSuccess"
23+
StartupObject = ""
24+
>
25+
<Config
26+
Name = "Debug"
27+
AllowUnsafeBlocks = "false"
28+
BaseAddress = "285212672"
29+
CheckForOverflowUnderflow = "false"
30+
ConfigurationOverrideFile = ""
31+
DefineConstants = "DEBUG;TRACE"
32+
DocumentationFile = ""
33+
DebugSymbols = "true"
34+
FileAlignment = "4096"
35+
IncrementalBuild = "false"
36+
NoStdLib = "false"
37+
NoWarn = ""
38+
Optimize = "false"
39+
OutputPath = "bin\Debug\"
40+
RegisterForComInterop = "false"
41+
RemoveIntegerChecks = "false"
42+
TreatWarningsAsErrors = "false"
43+
WarningLevel = "4"
44+
/>
45+
<Config
46+
Name = "Release"
47+
AllowUnsafeBlocks = "false"
48+
BaseAddress = "285212672"
49+
CheckForOverflowUnderflow = "false"
50+
ConfigurationOverrideFile = ""
51+
DefineConstants = "TRACE"
52+
DocumentationFile = ""
53+
DebugSymbols = "false"
54+
FileAlignment = "4096"
55+
IncrementalBuild = "false"
56+
NoStdLib = "false"
57+
NoWarn = ""
58+
Optimize = "true"
59+
OutputPath = "bin\Release\"
60+
RegisterForComInterop = "false"
61+
RemoveIntegerChecks = "false"
62+
TreatWarningsAsErrors = "false"
63+
WarningLevel = "4"
64+
/>
65+
</Settings>
66+
<References>
67+
<Reference
68+
Name = "System"
69+
AssemblyName = "System"
70+
HintPath = "..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll"
71+
/>
72+
<Reference
73+
Name = "System.Data"
74+
AssemblyName = "System.Data"
75+
HintPath = "..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll"
76+
/>
77+
<Reference
78+
Name = "System.XML"
79+
AssemblyName = "System.Xml"
80+
HintPath = "..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll"
81+
/>
82+
</References>
83+
</Build>
84+
<Files>
85+
<Include>
86+
<File
87+
RelPath = "AssemblyInfo.cs"
88+
SubType = "Code"
89+
BuildAction = "Compile"
90+
/>
91+
<File
92+
RelPath = "Assemblies\deltaRunner.dll"
93+
BuildAction = "Content"
94+
/>
95+
<File
96+
RelPath = "Assemblies\nunit.framework.dll"
97+
BuildAction = "Content"
98+
/>
99+
<File
100+
RelPath = "Build\buildPrefix.txt"
101+
BuildAction = "Content"
102+
/>
103+
<File
104+
RelPath = "Build\default.build"
105+
BuildAction = "None"
106+
/>
107+
<File
108+
RelPath = "Database\PlaceHolder.txt"
109+
BuildAction = "Content"
110+
/>
111+
<File
112+
RelPath = "Executables\PlaceHolder.txt"
113+
BuildAction = "Content"
114+
/>
115+
</Include>
116+
</Files>
117+
</CSHARP>
118+
</VisualStudioProject>
119+

Backup/DataFresh.Common/Database/PlaceHolder.txt

Whitespace-only changes.

Backup/DataFresh.Common/Executables/PlaceHolder.txt

Whitespace-only changes.

Backup/DataFresh/AssemblyInfo.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
using System.Reflection;
2+
[assembly: AssemblyVersion("1.0.0.0")]
3+
[assembly: AssemblyTitleAttribute("dataFresh")]
4+
[assembly: DataFresh.AssemblyResourceEncrpytion(false)]

0 commit comments

Comments
 (0)