Initial Checkin
63
.gitattributes
vendored
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
###############################################################################
|
||||||
|
# Set default behavior to automatically normalize line endings.
|
||||||
|
###############################################################################
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Set default behavior for command prompt diff.
|
||||||
|
#
|
||||||
|
# This is need for earlier builds of msysgit that does not have it on by
|
||||||
|
# default for csharp files.
|
||||||
|
# Note: This is only used by command line
|
||||||
|
###############################################################################
|
||||||
|
#*.cs diff=csharp
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Set the merge driver for project and solution files
|
||||||
|
#
|
||||||
|
# Merging from the command prompt will add diff markers to the files if there
|
||||||
|
# are conflicts (Merging from VS is not affected by the settings below, in VS
|
||||||
|
# the diff markers are never inserted). Diff markers may cause the following
|
||||||
|
# file extensions to fail to load in VS. An alternative would be to treat
|
||||||
|
# these files as binary and thus will always conflict and require user
|
||||||
|
# intervention with every merge. To do so, just uncomment the entries below
|
||||||
|
###############################################################################
|
||||||
|
#*.sln merge=binary
|
||||||
|
#*.csproj merge=binary
|
||||||
|
#*.vbproj merge=binary
|
||||||
|
#*.vcxproj merge=binary
|
||||||
|
#*.vcproj merge=binary
|
||||||
|
#*.dbproj merge=binary
|
||||||
|
#*.fsproj merge=binary
|
||||||
|
#*.lsproj merge=binary
|
||||||
|
#*.wixproj merge=binary
|
||||||
|
#*.modelproj merge=binary
|
||||||
|
#*.sqlproj merge=binary
|
||||||
|
#*.wwaproj merge=binary
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# behavior for image files
|
||||||
|
#
|
||||||
|
# image files are treated as binary by default.
|
||||||
|
###############################################################################
|
||||||
|
#*.jpg binary
|
||||||
|
#*.png binary
|
||||||
|
#*.gif binary
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# diff behavior for common document formats
|
||||||
|
#
|
||||||
|
# Convert binary document formats to text before diffing them. This feature
|
||||||
|
# is only available from the command line. Turn it on by uncommenting the
|
||||||
|
# entries below.
|
||||||
|
###############################################################################
|
||||||
|
#*.doc diff=astextplain
|
||||||
|
#*.DOC diff=astextplain
|
||||||
|
#*.docx diff=astextplain
|
||||||
|
#*.DOCX diff=astextplain
|
||||||
|
#*.dot diff=astextplain
|
||||||
|
#*.DOT diff=astextplain
|
||||||
|
#*.pdf diff=astextplain
|
||||||
|
#*.PDF diff=astextplain
|
||||||
|
#*.rtf diff=astextplain
|
||||||
|
#*.RTF diff=astextplain
|
||||||
156
.gitignore
vendored
Normal file
@@ -0,0 +1,156 @@
|
|||||||
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
|
## files generated by popular Visual Studio add-ons.
|
||||||
|
|
||||||
|
# User-specific files
|
||||||
|
*.suo
|
||||||
|
*.user
|
||||||
|
*.sln.docstates
|
||||||
|
|
||||||
|
# Build results
|
||||||
|
|
||||||
|
[Dd]ebug/
|
||||||
|
[Rr]elease/
|
||||||
|
x64/
|
||||||
|
build/
|
||||||
|
[Bb]in/
|
||||||
|
[Oo]bj/
|
||||||
|
|
||||||
|
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
|
||||||
|
!packages/*/build/
|
||||||
|
|
||||||
|
# MSTest test Results
|
||||||
|
[Tt]est[Rr]esult*/
|
||||||
|
[Bb]uild[Ll]og.*
|
||||||
|
|
||||||
|
*_i.c
|
||||||
|
*_p.c
|
||||||
|
*.ilk
|
||||||
|
*.meta
|
||||||
|
*.obj
|
||||||
|
*.pch
|
||||||
|
*.pdb
|
||||||
|
*.pgc
|
||||||
|
*.pgd
|
||||||
|
*.rsp
|
||||||
|
*.sbr
|
||||||
|
*.tlb
|
||||||
|
*.tli
|
||||||
|
*.tlh
|
||||||
|
*.tmp
|
||||||
|
*.tmp_proj
|
||||||
|
*.log
|
||||||
|
*.vspscc
|
||||||
|
*.vssscc
|
||||||
|
.builds
|
||||||
|
*.pidb
|
||||||
|
*.log
|
||||||
|
*.scc
|
||||||
|
|
||||||
|
# Visual C++ cache files
|
||||||
|
ipch/
|
||||||
|
*.aps
|
||||||
|
*.ncb
|
||||||
|
*.opensdf
|
||||||
|
*.sdf
|
||||||
|
*.cachefile
|
||||||
|
|
||||||
|
# Visual Studio profiler
|
||||||
|
*.psess
|
||||||
|
*.vsp
|
||||||
|
*.vspx
|
||||||
|
|
||||||
|
# Guidance Automation Toolkit
|
||||||
|
*.gpState
|
||||||
|
|
||||||
|
# ReSharper is a .NET coding add-in
|
||||||
|
_ReSharper*/
|
||||||
|
*.[Rr]e[Ss]harper
|
||||||
|
|
||||||
|
# TeamCity is a build add-in
|
||||||
|
_TeamCity*
|
||||||
|
|
||||||
|
# DotCover is a Code Coverage Tool
|
||||||
|
*.dotCover
|
||||||
|
|
||||||
|
# NCrunch
|
||||||
|
*.ncrunch*
|
||||||
|
.*crunch*.local.xml
|
||||||
|
|
||||||
|
# Installshield output folder
|
||||||
|
[Ee]xpress/
|
||||||
|
|
||||||
|
# DocProject is a documentation generator add-in
|
||||||
|
DocProject/buildhelp/
|
||||||
|
DocProject/Help/*.HxT
|
||||||
|
DocProject/Help/*.HxC
|
||||||
|
DocProject/Help/*.hhc
|
||||||
|
DocProject/Help/*.hhk
|
||||||
|
DocProject/Help/*.hhp
|
||||||
|
DocProject/Help/Html2
|
||||||
|
DocProject/Help/html
|
||||||
|
|
||||||
|
# Click-Once directory
|
||||||
|
publish/
|
||||||
|
|
||||||
|
# Publish Web Output
|
||||||
|
*.Publish.xml
|
||||||
|
|
||||||
|
# NuGet Packages Directory
|
||||||
|
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
|
||||||
|
#packages/
|
||||||
|
|
||||||
|
# Windows Azure Build Output
|
||||||
|
csx
|
||||||
|
*.build.csdef
|
||||||
|
|
||||||
|
# Windows Store app package directory
|
||||||
|
AppPackages/
|
||||||
|
|
||||||
|
# Others
|
||||||
|
sql/
|
||||||
|
*.Cache
|
||||||
|
ClientBin/
|
||||||
|
[Ss]tyle[Cc]op.*
|
||||||
|
~$*
|
||||||
|
*~
|
||||||
|
*.dbmdl
|
||||||
|
*.[Pp]ublish.xml
|
||||||
|
*.pfx
|
||||||
|
*.publishsettings
|
||||||
|
|
||||||
|
# RIA/Silverlight projects
|
||||||
|
Generated_Code/
|
||||||
|
|
||||||
|
# Backup & report files from converting an old project file to a newer
|
||||||
|
# Visual Studio version. Backup files are not needed, because we have git ;-)
|
||||||
|
_UpgradeReport_Files/
|
||||||
|
Backup*/
|
||||||
|
UpgradeLog*.XML
|
||||||
|
UpgradeLog*.htm
|
||||||
|
|
||||||
|
# SQL Server files
|
||||||
|
App_Data/*.mdf
|
||||||
|
App_Data/*.ldf
|
||||||
|
|
||||||
|
|
||||||
|
#LightSwitch generated files
|
||||||
|
GeneratedArtifacts/
|
||||||
|
_Pvt_Extensions/
|
||||||
|
ModelManifest.xml
|
||||||
|
|
||||||
|
# =========================
|
||||||
|
# Windows detritus
|
||||||
|
# =========================
|
||||||
|
|
||||||
|
# Windows image file caches
|
||||||
|
Thumbs.db
|
||||||
|
ehthumbs.db
|
||||||
|
|
||||||
|
# Folder config file
|
||||||
|
Desktop.ini
|
||||||
|
|
||||||
|
# Recycle Bin used on file shares
|
||||||
|
$RECYCLE.BIN/
|
||||||
|
|
||||||
|
# Mac desktop service store files
|
||||||
|
.DS_Store
|
||||||
4
.nuget/packages.config
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="NUnit.Runners" version="2.6.3" />
|
||||||
|
</packages>
|
||||||
6
TimberWinR.ServiceHost/App.config
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
88
TimberWinR.ServiceHost/Program.cs
Normal file
@@ -0,0 +1,88 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Topshelf;
|
||||||
|
|
||||||
|
namespace TimberWinR.ServiceHost
|
||||||
|
{
|
||||||
|
internal class Program
|
||||||
|
{
|
||||||
|
private static void Main(string[] args)
|
||||||
|
{
|
||||||
|
HostFactory.Run(hostConfigurator =>
|
||||||
|
{
|
||||||
|
hostConfigurator.Service<TimberWinRService>(serviceConfigurator =>
|
||||||
|
{
|
||||||
|
serviceConfigurator.ConstructUsing(() => new TimberWinRService());
|
||||||
|
serviceConfigurator.WhenStarted(myService => myService.Start());
|
||||||
|
serviceConfigurator.WhenStopped(myService => myService.Stop());
|
||||||
|
});
|
||||||
|
|
||||||
|
hostConfigurator.RunAsLocalSystem();
|
||||||
|
|
||||||
|
hostConfigurator.SetDisplayName("TimberWinR");
|
||||||
|
hostConfigurator.SetDescription("TimberWinR using Topshelf");
|
||||||
|
hostConfigurator.SetServiceName("TimberWinR");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
internal class TimberWinRService
|
||||||
|
{
|
||||||
|
readonly CancellationTokenSource _cancellationTokenSource;
|
||||||
|
readonly CancellationToken _cancellationToken;
|
||||||
|
readonly Task _task;
|
||||||
|
|
||||||
|
public TimberWinRService()
|
||||||
|
{
|
||||||
|
_cancellationTokenSource = new CancellationTokenSource();
|
||||||
|
_cancellationToken = _cancellationTokenSource.Token;
|
||||||
|
_task = new Task(RunService, _cancellationToken);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Start()
|
||||||
|
{
|
||||||
|
_task.Start();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Stop()
|
||||||
|
{
|
||||||
|
_cancellationTokenSource.Cancel();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The Main body of the Service Worker Thread
|
||||||
|
/// </summary>
|
||||||
|
private void RunService()
|
||||||
|
{
|
||||||
|
while (!_cancellationTokenSource.IsCancellationRequested)
|
||||||
|
{
|
||||||
|
Console.WriteLine("I am working");
|
||||||
|
|
||||||
|
Console.WriteLine(" Step 1");
|
||||||
|
System.Threading.Thread.Sleep(1000);
|
||||||
|
|
||||||
|
Console.WriteLine(" Step 2");
|
||||||
|
System.Threading.Thread.Sleep(1000);
|
||||||
|
|
||||||
|
Console.WriteLine(" Step 3");
|
||||||
|
System.Threading.Thread.Sleep(1000);
|
||||||
|
|
||||||
|
Console.WriteLine(" Step 4");
|
||||||
|
System.Threading.Thread.Sleep(1000);
|
||||||
|
|
||||||
|
Console.WriteLine(" Step 5");
|
||||||
|
System.Threading.Thread.Sleep(1000);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
36
TimberWinR.ServiceHost/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// General Information about an assembly is controlled through the following
|
||||||
|
// set of attributes. Change these attribute values to modify the information
|
||||||
|
// associated with an assembly.
|
||||||
|
[assembly: AssemblyTitle("TimberWinR.ServiceHost")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("TimberWinR.ServiceHost")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2014")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// Setting ComVisible to false makes the types in this assembly not visible
|
||||||
|
// to COM components. If you need to access a type in this assembly from
|
||||||
|
// COM, set the ComVisible attribute to true on that type.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
|
[assembly: Guid("901ea25a-faf6-4870-9a43-e20b964ee3d2")]
|
||||||
|
|
||||||
|
// Version information for an assembly consists of the following four values:
|
||||||
|
//
|
||||||
|
// Major Version
|
||||||
|
// Minor Version
|
||||||
|
// Build Number
|
||||||
|
// Revision
|
||||||
|
//
|
||||||
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
|
// by using the '*' as shown below:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
62
TimberWinR.ServiceHost/TimberWinR.ServiceHost.csproj
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{2C0B4C56-0D63-4B89-852B-F9BFF4431F00}</ProjectGuid>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>TimberWinR.ServiceHost</RootNamespace>
|
||||||
|
<AssemblyName>TimberWinR.ServiceHost</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="Topshelf">
|
||||||
|
<HintPath>..\packages\Topshelf.3.1.3\lib\net40-full\Topshelf.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
<None Include="packages.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
<Target Name="BeforeBuild">
|
||||||
|
</Target>
|
||||||
|
<Target Name="AfterBuild">
|
||||||
|
</Target>
|
||||||
|
-->
|
||||||
|
</Project>
|
||||||
4
TimberWinR.ServiceHost/packages.config
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="Topshelf" version="3.1.3" targetFramework="net45" />
|
||||||
|
</packages>
|
||||||
33
TimberWinR.sln
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 2013
|
||||||
|
VisualStudioVersion = 12.0.30501.0
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TimberWinR", "TimberWinR\TimberWinR.csproj", "{4EF96A08-21DB-4178-BE44-70DAE594632C}"
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{2C4AC7DB-018D-4CCA-9579-06AC5AD2C9D9}"
|
||||||
|
ProjectSection(SolutionItems) = preProject
|
||||||
|
.nuget\packages.config = .nuget\packages.config
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TimberWinR.ServiceHost", "TimberWinR.ServiceHost\TimberWinR.ServiceHost.csproj", "{2C0B4C56-0D63-4B89-852B-F9BFF4431F00}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{4EF96A08-21DB-4178-BE44-70DAE594632C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{4EF96A08-21DB-4178-BE44-70DAE594632C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{4EF96A08-21DB-4178-BE44-70DAE594632C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{4EF96A08-21DB-4178-BE44-70DAE594632C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{2C0B4C56-0D63-4B89-852B-F9BFF4431F00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{2C0B4C56-0D63-4B89-852B-F9BFF4431F00}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{2C0B4C56-0D63-4B89-852B-F9BFF4431F00}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{2C0B4C56-0D63-4B89-852B-F9BFF4431F00}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
12
TimberWinR/Class1.cs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace TimberWinR.Service
|
||||||
|
{
|
||||||
|
public class Manager
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
11
TimberWinR/Configuration.cs
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace TimberWinR
|
||||||
|
{
|
||||||
|
class Configuration
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
36
TimberWinR/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// General Information about an assembly is controlled through the following
|
||||||
|
// set of attributes. Change these attribute values to modify the information
|
||||||
|
// associated with an assembly.
|
||||||
|
[assembly: AssemblyTitle("TimberWinR")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("TimberWinR")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2014")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// Setting ComVisible to false makes the types in this assembly not visible
|
||||||
|
// to COM components. If you need to access a type in this assembly from
|
||||||
|
// COM, set the ComVisible attribute to true on that type.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
|
[assembly: Guid("b27e2311-c12b-4f71-83b2-82630b43103e")]
|
||||||
|
|
||||||
|
// Version information for an assembly consists of the following four values:
|
||||||
|
//
|
||||||
|
// Major Version
|
||||||
|
// Minor Version
|
||||||
|
// Build Number
|
||||||
|
// Revision
|
||||||
|
//
|
||||||
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
|
// by using the '*' as shown below:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
76
TimberWinR/TimberWinR.csproj
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{4EF96A08-21DB-4178-BE44-70DAE594632C}</ProjectGuid>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>TimberWinR</RootNamespace>
|
||||||
|
<AssemblyName>TimberWinR</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="Interop.MSUtil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
||||||
|
<HintPath>lib\com-logparser\Interop.MSUtil.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="NLog">
|
||||||
|
<HintPath>..\packages\NLog.3.1.0.0\lib\net45\NLog.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="nunit.framework">
|
||||||
|
<HintPath>..\packages\NUnit.2.6.3\lib\nunit.framework.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="Topshelf, Version=3.1.122.0, Culture=neutral, PublicKeyToken=b800c4cfcdeea87b, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\packages\Topshelf.3.1.3\lib\net40-full\Topshelf.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Class1.cs" />
|
||||||
|
<Compile Include="Configuration.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="lib\com-logparser\Interop.MSUtil.dll" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="packages.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
<Target Name="BeforeBuild">
|
||||||
|
</Target>
|
||||||
|
<Target Name="AfterBuild">
|
||||||
|
</Target>
|
||||||
|
-->
|
||||||
|
</Project>
|
||||||
BIN
TimberWinR/lib/com-logparser/Interop.MSUtil.dll
Normal file
5
TimberWinR/packages.config
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="NLog" version="3.1.0.0" targetFramework="net40" />
|
||||||
|
<package id="NUnit" version="2.6.3" targetFramework="net40" />
|
||||||
|
</packages>
|
||||||
BIN
packages/NLog.3.1.0.0/NLog.3.1.0.0.nupkg
vendored
Normal file
BIN
packages/NLog.3.1.0.0/lib/net35/NLog.dll
vendored
Normal file
15057
packages/NLog.3.1.0.0/lib/net35/NLog.xml
vendored
Normal file
BIN
packages/NLog.3.1.0.0/lib/net40/NLog.dll
vendored
Normal file
14997
packages/NLog.3.1.0.0/lib/net40/NLog.xml
vendored
Normal file
BIN
packages/NLog.3.1.0.0/lib/net45/NLog.dll
vendored
Normal file
15022
packages/NLog.3.1.0.0/lib/net45/NLog.xml
vendored
Normal file
BIN
packages/NLog.3.1.0.0/lib/sl4/NLog.dll
vendored
Normal file
10254
packages/NLog.3.1.0.0/lib/sl4/NLog.xml
vendored
Normal file
BIN
packages/NLog.3.1.0.0/lib/sl5/NLog.dll
vendored
Normal file
10254
packages/NLog.3.1.0.0/lib/sl5/NLog.xml
vendored
Normal file
BIN
packages/NUnit.2.6.3/NUnit.2.6.3.nupkg
vendored
Normal file
BIN
packages/NUnit.2.6.3/lib/nunit.framework.dll
vendored
Normal file
10960
packages/NUnit.2.6.3/lib/nunit.framework.xml
vendored
Normal file
15
packages/NUnit.2.6.3/license.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
Copyright © 2002-2013 Charlie Poole
|
||||||
|
Copyright © 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov
|
||||||
|
Copyright © 2000-2002 Philip A. Craig
|
||||||
|
|
||||||
|
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
|
||||||
|
|
||||||
|
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
|
||||||
|
|
||||||
|
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment (see the following) in the product documentation is required.
|
||||||
|
|
||||||
|
Portions Copyright © 2002-2013 Charlie Poole or Copyright © 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov or Copyright © 2000-2002 Philip A. Craig
|
||||||
|
|
||||||
|
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
|
||||||
|
|
||||||
|
3. This notice may not be removed or altered from any source distribution.
|
||||||
BIN
packages/NUnit.Runners.2.6.3/NUnit.Runners.2.6.3.nupkg
vendored
Normal file
15
packages/NUnit.Runners.2.6.3/license.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
Copyright © 2002-2013 Charlie Poole
|
||||||
|
Copyright © 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov
|
||||||
|
Copyright © 2000-2002 Philip A. Craig
|
||||||
|
|
||||||
|
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
|
||||||
|
|
||||||
|
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
|
||||||
|
|
||||||
|
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment (see the following) in the product documentation is required.
|
||||||
|
|
||||||
|
Portions Copyright © 2002-2013 Charlie Poole or Copyright © 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov or Copyright © 2000-2002 Philip A. Craig
|
||||||
|
|
||||||
|
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
|
||||||
|
|
||||||
|
3. This notice may not be removed or altered from any source distribution.
|
||||||
4
packages/NUnit.Runners.2.6.3/tools/agent.conf
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<AgentConfig>
|
||||||
|
<Port>8080</Port>
|
||||||
|
<PathToAssemblies>.</PathToAssemblies>
|
||||||
|
</AgentConfig>
|
||||||
18
packages/NUnit.Runners.2.6.3/tools/agent.log.conf
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<log4net>
|
||||||
|
<!-- A1 is set to be a ConsoleAppender -->
|
||||||
|
<appender name="A1" type="log4net.Appender.ConsoleAppender">
|
||||||
|
|
||||||
|
<!-- A1 uses PatternLayout -->
|
||||||
|
<layout type="log4net.Layout.PatternLayout">
|
||||||
|
<!-- Print the date in ISO 8601 format -->
|
||||||
|
<conversionPattern value="%-5level %logger - %message%newline" />
|
||||||
|
</layout>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<!-- Set root logger level to DEBUG and its only appender to A1 -->
|
||||||
|
<root>
|
||||||
|
<level value="Info" />
|
||||||
|
<appender-ref ref="A1" />
|
||||||
|
</root>
|
||||||
|
|
||||||
|
</log4net>
|
||||||
18
packages/NUnit.Runners.2.6.3/tools/launcher.log.conf
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<log4net>
|
||||||
|
<!-- A1 is set to be a ConsoleAppender -->
|
||||||
|
<appender name="A1" type="log4net.Appender.ConsoleAppender">
|
||||||
|
|
||||||
|
<!-- A1 uses PatternLayout -->
|
||||||
|
<layout type="log4net.Layout.PatternLayout">
|
||||||
|
<!-- Print the date in ISO 8601 format -->
|
||||||
|
<conversionPattern value="%-5level %logger - %message%newline" />
|
||||||
|
</layout>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<!-- Set root logger level to DEBUG and its only appender to A1 -->
|
||||||
|
<root>
|
||||||
|
<level value="Info" />
|
||||||
|
<appender-ref ref="A1" />
|
||||||
|
</root>
|
||||||
|
|
||||||
|
</log4net>
|
||||||
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Circles/Failure.jpg
vendored
Normal file
|
After Width: | Height: | Size: 761 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Circles/Ignored.jpg
vendored
Normal file
|
After Width: | Height: | Size: 688 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Circles/Inconclusive.jpg
vendored
Normal file
|
After Width: | Height: | Size: 734 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Circles/Skipped.jpg
vendored
Normal file
|
After Width: | Height: | Size: 689 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Circles/Success.jpg
vendored
Normal file
|
After Width: | Height: | Size: 731 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Classic/Failure.jpg
vendored
Normal file
|
After Width: | Height: | Size: 808 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Classic/Ignored.jpg
vendored
Normal file
|
After Width: | Height: | Size: 789 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Classic/Inconclusive.jpg
vendored
Normal file
|
After Width: | Height: | Size: 784 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Classic/Skipped.jpg
vendored
Normal file
|
After Width: | Height: | Size: 689 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Classic/Success.jpg
vendored
Normal file
|
After Width: | Height: | Size: 768 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Default/Failure.png
vendored
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Default/Ignored.png
vendored
Normal file
|
After Width: | Height: | Size: 592 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Default/Inconclusive.png
vendored
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Default/Skipped.png
vendored
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Default/Success.png
vendored
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Visual Studio/Failure.png
vendored
Normal file
|
After Width: | Height: | Size: 747 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Visual Studio/Ignored.png
vendored
Normal file
|
After Width: | Height: | Size: 773 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Visual Studio/Inconclusive.png
vendored
Normal file
|
After Width: | Height: | Size: 782 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Visual Studio/SeriousWarning.png
vendored
Normal file
|
After Width: | Height: | Size: 687 B |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Visual Studio/Skipped.png
vendored
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/Images/Tree/Visual Studio/Success.png
vendored
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
packages/NUnit.Runners.2.6.3/tools/lib/log4net.dll
vendored
Normal file
BIN
packages/NUnit.Runners.2.6.3/tools/lib/nunit-console-runner.dll
vendored
Normal file
BIN
packages/NUnit.Runners.2.6.3/tools/lib/nunit-gui-runner.dll
vendored
Normal file
BIN
packages/NUnit.Runners.2.6.3/tools/lib/nunit.core.dll
vendored
Normal file
BIN
packages/NUnit.Runners.2.6.3/tools/lib/nunit.core.interfaces.dll
vendored
Normal file
BIN
packages/NUnit.Runners.2.6.3/tools/lib/nunit.uiexception.dll
vendored
Normal file
BIN
packages/NUnit.Runners.2.6.3/tools/lib/nunit.uikit.dll
vendored
Normal file
BIN
packages/NUnit.Runners.2.6.3/tools/lib/nunit.util.dll
vendored
Normal file
BIN
packages/NUnit.Runners.2.6.3/tools/nunit-agent-x86.exe
vendored
Normal file
37
packages/NUnit.Runners.2.6.3/tools/nunit-agent-x86.exe.config
vendored
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<!--
|
||||||
|
The .NET 2.0 build of nunit-agent only
|
||||||
|
runs under .NET 2.0 or higher. The setting
|
||||||
|
useLegacyV2RuntimeActivationPolicy only applies
|
||||||
|
under .NET 4.0 and permits use of mixed mode
|
||||||
|
assemblies, which would otherwise not load
|
||||||
|
correctly.
|
||||||
|
-->
|
||||||
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
|
<!--
|
||||||
|
Nunit-agent is normally run by the console or gui
|
||||||
|
runners and not independently. In normal usage,
|
||||||
|
the runner specifies which runtime should be used.
|
||||||
|
|
||||||
|
Do NOT add any supportedRuntime elements here,
|
||||||
|
since they may prevent the runner from controlling
|
||||||
|
the runtime that is used!
|
||||||
|
-->
|
||||||
|
</startup>
|
||||||
|
|
||||||
|
<runtime>
|
||||||
|
<!-- Ensure that test exceptions don't crash NUnit -->
|
||||||
|
<legacyUnhandledExceptionPolicy enabled="1" />
|
||||||
|
|
||||||
|
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
||||||
|
<loadFromRemoteSources enabled="true" />
|
||||||
|
|
||||||
|
<!-- Look for addins in the addins directory for now -->
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<probing privatePath="lib;addins"/>
|
||||||
|
</assemblyBinding>
|
||||||
|
|
||||||
|
</runtime>
|
||||||
|
|
||||||
|
</configuration>
|
||||||
BIN
packages/NUnit.Runners.2.6.3/tools/nunit-agent.exe
vendored
Normal file
37
packages/NUnit.Runners.2.6.3/tools/nunit-agent.exe.config
vendored
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<!--
|
||||||
|
The .NET 2.0 build of nunit-agent only
|
||||||
|
runs under .NET 2.0 or higher. The setting
|
||||||
|
useLegacyV2RuntimeActivationPolicy only applies
|
||||||
|
under .NET 4.0 and permits use of mixed mode
|
||||||
|
assemblies, which would otherwise not load
|
||||||
|
correctly.
|
||||||
|
-->
|
||||||
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
|
<!--
|
||||||
|
Nunit-agent is normally run by the console or gui
|
||||||
|
runners and not independently. In normal usage,
|
||||||
|
the runner specifies which runtime should be used.
|
||||||
|
|
||||||
|
Do NOT add any supportedRuntime elements here,
|
||||||
|
since they may prevent the runner from controlling
|
||||||
|
the runtime that is used!
|
||||||
|
-->
|
||||||
|
</startup>
|
||||||
|
|
||||||
|
<runtime>
|
||||||
|
<!-- Ensure that test exceptions don't crash NUnit -->
|
||||||
|
<legacyUnhandledExceptionPolicy enabled="1" />
|
||||||
|
|
||||||
|
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
||||||
|
<loadFromRemoteSources enabled="true" />
|
||||||
|
|
||||||
|
<!-- Look for addins in the addins directory for now -->
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<probing privatePath="lib;addins"/>
|
||||||
|
</assemblyBinding>
|
||||||
|
|
||||||
|
</runtime>
|
||||||
|
|
||||||
|
</configuration>
|
||||||
BIN
packages/NUnit.Runners.2.6.3/tools/nunit-console-x86.exe
vendored
Normal file
24
packages/NUnit.Runners.2.6.3/tools/nunit-console-x86.exe.config
vendored
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<!--
|
||||||
|
The .NET 2.0 build of the console runner only
|
||||||
|
runs under .NET 2.0 or higher. The setting
|
||||||
|
useLegacyV2RuntimeActivationPolicy only applies
|
||||||
|
under .NET 4.0 and permits use of mixed mode
|
||||||
|
assemblies, which would otherwise not load
|
||||||
|
correctly.
|
||||||
|
-->
|
||||||
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
|
<!-- Comment out the next line to force use of .NET 4.0 -->
|
||||||
|
</startup>
|
||||||
|
<runtime>
|
||||||
|
<!-- Ensure that test exceptions don't crash NUnit -->
|
||||||
|
<legacyUnhandledExceptionPolicy enabled="1"/>
|
||||||
|
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
||||||
|
<loadFromRemoteSources enabled="true"/>
|
||||||
|
<!-- Look for addins in the addins directory for now -->
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<probing privatePath="lib;addins"/>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
||||||
BIN
packages/NUnit.Runners.2.6.3/tools/nunit-console.exe
vendored
Normal file
24
packages/NUnit.Runners.2.6.3/tools/nunit-console.exe.config
vendored
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<!--
|
||||||
|
The .NET 2.0 build of the console runner only
|
||||||
|
runs under .NET 2.0 or higher. The setting
|
||||||
|
useLegacyV2RuntimeActivationPolicy only applies
|
||||||
|
under .NET 4.0 and permits use of mixed mode
|
||||||
|
assemblies, which would otherwise not load
|
||||||
|
correctly.
|
||||||
|
-->
|
||||||
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
|
<!-- Comment out the next line to force use of .NET 4.0 -->
|
||||||
|
</startup>
|
||||||
|
<runtime>
|
||||||
|
<!-- Ensure that test exceptions don't crash NUnit -->
|
||||||
|
<legacyUnhandledExceptionPolicy enabled="1"/>
|
||||||
|
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
||||||
|
<loadFromRemoteSources enabled="true"/>
|
||||||
|
<!-- Look for addins in the addins directory for now -->
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<probing privatePath="lib;addins"/>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
||||||
BIN
packages/NUnit.Runners.2.6.3/tools/nunit-editor.exe
vendored
Normal file
BIN
packages/NUnit.Runners.2.6.3/tools/nunit-x86.exe
vendored
Normal file
23
packages/NUnit.Runners.2.6.3/tools/nunit-x86.exe.config
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<!--
|
||||||
|
The GUI only runs under .NET 2.0 or higher. The
|
||||||
|
useLegacyV2RuntimeActivationPolicy setting only
|
||||||
|
applies under .NET 4.0 and permits use of mixed
|
||||||
|
mode assemblies, which would otherwise not load
|
||||||
|
correctly.
|
||||||
|
-->
|
||||||
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
|
<!-- Comment out the next line to force use of .NET 4.0 -->
|
||||||
|
</startup>
|
||||||
|
<runtime>
|
||||||
|
<!-- Ensure that test exceptions don't crash NUnit -->
|
||||||
|
<legacyUnhandledExceptionPolicy enabled="1"/>
|
||||||
|
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
||||||
|
<loadFromRemoteSources enabled="true"/>
|
||||||
|
<!-- Look for addins in the addins directory for now -->
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<probing privatePath="lib;addins"/>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
||||||
BIN
packages/NUnit.Runners.2.6.3/tools/nunit.exe
vendored
Normal file
23
packages/NUnit.Runners.2.6.3/tools/nunit.exe.config
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<!--
|
||||||
|
The GUI only runs under .NET 2.0 or higher. The
|
||||||
|
useLegacyV2RuntimeActivationPolicy setting only
|
||||||
|
applies under .NET 4.0 and permits use of mixed
|
||||||
|
mode assemblies, which would otherwise not load
|
||||||
|
correctly.
|
||||||
|
-->
|
||||||
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
|
<!-- Comment out the next line to force use of .NET 4.0 -->
|
||||||
|
</startup>
|
||||||
|
<runtime>
|
||||||
|
<!-- Ensure that test exceptions don't crash NUnit -->
|
||||||
|
<legacyUnhandledExceptionPolicy enabled="1"/>
|
||||||
|
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
||||||
|
<loadFromRemoteSources enabled="true"/>
|
||||||
|
<!-- Look for addins in the addins directory for now -->
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<probing privatePath="lib;addins"/>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
||||||
BIN
packages/NUnit.Runners.2.6.3/tools/nunit.framework.dll
vendored
Normal file
BIN
packages/NUnit.Runners.2.6.3/tools/pnunit-agent.exe
vendored
Normal file
77
packages/NUnit.Runners.2.6.3/tools/pnunit-agent.exe.config
vendored
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
|
||||||
|
<!-- Set the level for tracing NUnit itself -->
|
||||||
|
<!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
|
||||||
|
<system.diagnostics>
|
||||||
|
<switches>
|
||||||
|
<add name="NTrace" value="0" />
|
||||||
|
</switches>
|
||||||
|
</system.diagnostics>
|
||||||
|
|
||||||
|
<runtime>
|
||||||
|
<!-- We need this so test exceptions don't crash NUnit -->
|
||||||
|
<legacyUnhandledExceptionPolicy enabled="1" />
|
||||||
|
|
||||||
|
<!-- Look for addins in the addins directory for now -->
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<probing privatePath="framework;lib;addins"/>
|
||||||
|
</assemblyBinding>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The following <assemblyBinding> section allows running nunit under
|
||||||
|
.NET 1.0 by redirecting assemblies. The appliesTo attribute
|
||||||
|
causes the section to be ignored except under .NET 1.0
|
||||||
|
on a machine with only the .NET version 1.0 runtime installed.
|
||||||
|
If application and its tests were built for .NET 1.1 you will
|
||||||
|
also need to redirect system assemblies in the test config file,
|
||||||
|
which controls loading of the tests.
|
||||||
|
-->
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
|
||||||
|
appliesTo="v1.0.3705">
|
||||||
|
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System"
|
||||||
|
publicKeyToken="b77a5c561934e089"
|
||||||
|
culture="neutral"/>
|
||||||
|
<bindingRedirect oldVersion="1.0.5000.0"
|
||||||
|
newVersion="1.0.3300.0"/>
|
||||||
|
</dependentAssembly>
|
||||||
|
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Data"
|
||||||
|
publicKeyToken="b77a5c561934e089"
|
||||||
|
culture="neutral"/>
|
||||||
|
<bindingRedirect oldVersion="1.0.5000.0"
|
||||||
|
newVersion="1.0.3300.0"/>
|
||||||
|
</dependentAssembly>
|
||||||
|
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Drawing"
|
||||||
|
publicKeyToken="b03f5f7f11d50a3a"
|
||||||
|
culture="neutral"/>
|
||||||
|
<bindingRedirect oldVersion="1.0.5000.0"
|
||||||
|
newVersion="1.0.3300.0"/>
|
||||||
|
</dependentAssembly>
|
||||||
|
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Windows.Forms"
|
||||||
|
publicKeyToken="b77a5c561934e089"
|
||||||
|
culture="neutral"/>
|
||||||
|
<bindingRedirect oldVersion="1.0.5000.0"
|
||||||
|
newVersion="1.0.3300.0"/>
|
||||||
|
</dependentAssembly>
|
||||||
|
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Xml"
|
||||||
|
publicKeyToken="b77a5c561934e089"
|
||||||
|
culture="neutral"/>
|
||||||
|
<bindingRedirect oldVersion="1.0.5000.0"
|
||||||
|
newVersion="1.0.3300.0"/>
|
||||||
|
</dependentAssembly>
|
||||||
|
|
||||||
|
</assemblyBinding>
|
||||||
|
|
||||||
|
</runtime>
|
||||||
|
|
||||||
|
</configuration>
|
||||||
BIN
packages/NUnit.Runners.2.6.3/tools/pnunit-launcher.exe
vendored
Normal file
77
packages/NUnit.Runners.2.6.3/tools/pnunit-launcher.exe.config
vendored
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
|
||||||
|
<!-- Set the level for tracing NUnit itself -->
|
||||||
|
<!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
|
||||||
|
<system.diagnostics>
|
||||||
|
<switches>
|
||||||
|
<add name="NTrace" value="0" />
|
||||||
|
</switches>
|
||||||
|
</system.diagnostics>
|
||||||
|
|
||||||
|
<runtime>
|
||||||
|
<!-- We need this so test exceptions don't crash NUnit -->
|
||||||
|
<legacyUnhandledExceptionPolicy enabled="1" />
|
||||||
|
|
||||||
|
<!-- Look for addins in the addins directory for now -->
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<probing privatePath="framework;lib;addins"/>
|
||||||
|
</assemblyBinding>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The following <assemblyBinding> section allows running nunit under
|
||||||
|
.NET 1.0 by redirecting assemblies. The appliesTo attribute
|
||||||
|
causes the section to be ignored except under .NET 1.0
|
||||||
|
on a machine with only the .NET version 1.0 runtime installed.
|
||||||
|
If application and its tests were built for .NET 1.1 you will
|
||||||
|
also need to redirect system assemblies in the test config file,
|
||||||
|
which controls loading of the tests.
|
||||||
|
-->
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
|
||||||
|
appliesTo="v1.0.3705">
|
||||||
|
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System"
|
||||||
|
publicKeyToken="b77a5c561934e089"
|
||||||
|
culture="neutral"/>
|
||||||
|
<bindingRedirect oldVersion="1.0.5000.0"
|
||||||
|
newVersion="1.0.3300.0"/>
|
||||||
|
</dependentAssembly>
|
||||||
|
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Data"
|
||||||
|
publicKeyToken="b77a5c561934e089"
|
||||||
|
culture="neutral"/>
|
||||||
|
<bindingRedirect oldVersion="1.0.5000.0"
|
||||||
|
newVersion="1.0.3300.0"/>
|
||||||
|
</dependentAssembly>
|
||||||
|
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Drawing"
|
||||||
|
publicKeyToken="b03f5f7f11d50a3a"
|
||||||
|
culture="neutral"/>
|
||||||
|
<bindingRedirect oldVersion="1.0.5000.0"
|
||||||
|
newVersion="1.0.3300.0"/>
|
||||||
|
</dependentAssembly>
|
||||||
|
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Windows.Forms"
|
||||||
|
publicKeyToken="b77a5c561934e089"
|
||||||
|
culture="neutral"/>
|
||||||
|
<bindingRedirect oldVersion="1.0.5000.0"
|
||||||
|
newVersion="1.0.3300.0"/>
|
||||||
|
</dependentAssembly>
|
||||||
|
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Xml"
|
||||||
|
publicKeyToken="b77a5c561934e089"
|
||||||
|
culture="neutral"/>
|
||||||
|
<bindingRedirect oldVersion="1.0.5000.0"
|
||||||
|
newVersion="1.0.3300.0"/>
|
||||||
|
</dependentAssembly>
|
||||||
|
|
||||||
|
</assemblyBinding>
|
||||||
|
|
||||||
|
</runtime>
|
||||||
|
|
||||||
|
</configuration>
|
||||||
BIN
packages/NUnit.Runners.2.6.3/tools/pnunit.framework.dll
vendored
Normal file
BIN
packages/NUnit.Runners.2.6.3/tools/pnunit.tests.dll
vendored
Normal file
3
packages/NUnit.Runners.2.6.3/tools/runpnunit.bat
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
start pnunit-agent 8080 .
|
||||||
|
start pnunit-agent 8081 .
|
||||||
|
pnunit-launcher test.conf
|
||||||
82
packages/NUnit.Runners.2.6.3/tools/test.conf
vendored
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
<TestGroup>
|
||||||
|
|
||||||
|
<Variables>
|
||||||
|
<Variable name="$agent_host" value="localhost" />
|
||||||
|
</Variables>
|
||||||
|
|
||||||
|
<ParallelTests>
|
||||||
|
|
||||||
|
<!-- This is really just one test -->
|
||||||
|
<ParallelTest>
|
||||||
|
<Name>Testing</Name>
|
||||||
|
<Tests>
|
||||||
|
<TestConf>
|
||||||
|
<Name>Testing</Name>
|
||||||
|
<Assembly>pnunit.tests.dll</Assembly>
|
||||||
|
<TestToRun>TestLibraries.Testing.EqualTo19</TestToRun>
|
||||||
|
<Machine>$agent_host:8080</Machine>
|
||||||
|
</TestConf>
|
||||||
|
</Tests>
|
||||||
|
</ParallelTest>
|
||||||
|
|
||||||
|
<!-- Parallel Test on a single agent - no barriers -->
|
||||||
|
<ParallelTest>
|
||||||
|
<Name>Parallel_Tests</Name>
|
||||||
|
<Tests>
|
||||||
|
<TestConf>
|
||||||
|
<Name>ParallelTest_A_Test</Name>
|
||||||
|
<Assembly>pnunit.tests.dll</Assembly>
|
||||||
|
<TestToRun>TestLibraries.ParallelExample.ParallelTest_A</TestToRun>
|
||||||
|
<Machine>$agent_host:8080</Machine>
|
||||||
|
<TestParams>
|
||||||
|
<!-- sleep time in seconds -->
|
||||||
|
<string>2</string>
|
||||||
|
</TestParams>
|
||||||
|
</TestConf>
|
||||||
|
<TestConf>
|
||||||
|
<Name>ParallelTest_B_Test</Name>
|
||||||
|
<Assembly>pnunit.tests.dll</Assembly>
|
||||||
|
<TestToRun>TestLibraries.ParallelExample.ParallelTest_B</TestToRun>
|
||||||
|
<Machine>$agent_host:8080</Machine>
|
||||||
|
<TestParams>
|
||||||
|
<string>1</string>
|
||||||
|
<!-- sleep time in seconds -->
|
||||||
|
</TestParams>
|
||||||
|
</TestConf>
|
||||||
|
</Tests>
|
||||||
|
</ParallelTest>
|
||||||
|
|
||||||
|
<!-- Parallel Test using two agents - with wait barriers -->
|
||||||
|
<ParallelTest>
|
||||||
|
<Name>Parallel_Barriers</Name>
|
||||||
|
<Tests>
|
||||||
|
<TestConf>
|
||||||
|
<Name>Parallel_Barriers_TestA</Name>
|
||||||
|
<Assembly>pnunit.tests.dll</Assembly>
|
||||||
|
<TestToRun>TestLibraries.ParallelExampleWithBarriers.ParallelTestWithBarriersA</TestToRun>
|
||||||
|
<Machine>$agent_host:8080</Machine>
|
||||||
|
<TestParams>
|
||||||
|
</TestParams>
|
||||||
|
<WaitBarriers>
|
||||||
|
<string>START_BARRIER</string>
|
||||||
|
<string>WAIT_BARRIER</string>
|
||||||
|
</WaitBarriers>
|
||||||
|
</TestConf>
|
||||||
|
<TestConf>
|
||||||
|
<Name>Parallel_Barriers_TestB</Name>
|
||||||
|
<Assembly>pnunit.tests.dll</Assembly>
|
||||||
|
<TestToRun>TestLibraries.ParallelExampleWithBarriers.ParallelTestWithBarriersB</TestToRun>
|
||||||
|
<Machine>$agent_host:8081</Machine>
|
||||||
|
<TestParams>
|
||||||
|
</TestParams>
|
||||||
|
<WaitBarriers>
|
||||||
|
<string>START_BARRIER</string>
|
||||||
|
<string>WAIT_BARRIER</string>
|
||||||
|
</WaitBarriers>
|
||||||
|
</TestConf>
|
||||||
|
</Tests>
|
||||||
|
</ParallelTest>
|
||||||
|
|
||||||
|
</ParallelTests>
|
||||||
|
|
||||||
|
</TestGroup>
|
||||||
BIN
packages/Topshelf.3.1.3/Topshelf.3.1.3.nupkg
vendored
Normal file
BIN
packages/Topshelf.3.1.3/lib/net35/Topshelf.dll
vendored
Normal file
BIN
packages/Topshelf.3.1.3/lib/net40-full/Topshelf.dll
vendored
Normal file
5
packages/repositories.config
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<repositories>
|
||||||
|
<repository path="..\TimberWinR.ServiceHost\packages.config" />
|
||||||
|
<repository path="..\TimberWinR\packages.config" />
|
||||||
|
</repositories>
|
||||||