diff --git a/PdfScribe.sln b/PdfScribe.sln
index 6e9276c..63a7b4d 100644
--- a/PdfScribe.sln
+++ b/PdfScribe.sln
@@ -1,10 +1,8 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2013
-VisualStudioVersion = 12.0.31101.0
+# Visual Studio 15
+VisualStudioVersion = 15.0.27130.2027
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PdfScribeUnitTests", "PdfScribeUnitTests\PdfScribeUnitTests.csproj", "{D387573C-D122-461C-B525-1545DBDB4FBA}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PdfScribeCore", "PdfScribeCore\PdfScribeCore.csproj", "{1EAD8E9A-A123-4C37-B31E-AEE1354DF003}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PdfScribe", "PdfScribe\PdfScribe.csproj", "{09BB3AA3-96D3-4BA1-BCB3-4E17067F42B2}"
@@ -13,6 +11,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PdfScribeInstallCustomActio
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "PdfScribeInstall", "PdfScribeInstall\PdfScribeInstall.wixproj", "{3C255536-A7F1-4913-9C7F-966DFFEE01BC}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PdfScribeTests", "PdfScribeTests\PdfScribeTests.csproj", "{8562A5BC-A70E-40DD-A7E7-5611D332A983}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -23,16 +23,6 @@ Global
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {D387573C-D122-461C-B525-1545DBDB4FBA}.Debug|Any CPU.ActiveCfg = Debug|x86
- {D387573C-D122-461C-B525-1545DBDB4FBA}.Debug|Any CPU.Build.0 = Debug|x86
- {D387573C-D122-461C-B525-1545DBDB4FBA}.Debug|x64.ActiveCfg = Debug|x86
- {D387573C-D122-461C-B525-1545DBDB4FBA}.Debug|x64.Build.0 = Debug|x86
- {D387573C-D122-461C-B525-1545DBDB4FBA}.Debug|x86.ActiveCfg = Debug|x86
- {D387573C-D122-461C-B525-1545DBDB4FBA}.Debug|x86.Build.0 = Debug|x86
- {D387573C-D122-461C-B525-1545DBDB4FBA}.Release|Any CPU.ActiveCfg = Release|x64
- {D387573C-D122-461C-B525-1545DBDB4FBA}.Release|x64.ActiveCfg = Release|x86
- {D387573C-D122-461C-B525-1545DBDB4FBA}.Release|x86.ActiveCfg = Release|x86
- {D387573C-D122-461C-B525-1545DBDB4FBA}.Release|x86.Build.0 = Release|x86
{1EAD8E9A-A123-4C37-B31E-AEE1354DF003}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1EAD8E9A-A123-4C37-B31E-AEE1354DF003}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1EAD8E9A-A123-4C37-B31E-AEE1354DF003}.Debug|x64.ActiveCfg = Debug|x64
@@ -80,8 +70,23 @@ Global
{3C255536-A7F1-4913-9C7F-966DFFEE01BC}.Release|x64.Build.0 = Release|x64
{3C255536-A7F1-4913-9C7F-966DFFEE01BC}.Release|x86.ActiveCfg = Release|x86
{3C255536-A7F1-4913-9C7F-966DFFEE01BC}.Release|x86.Build.0 = Release|x86
+ {8562A5BC-A70E-40DD-A7E7-5611D332A983}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8562A5BC-A70E-40DD-A7E7-5611D332A983}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8562A5BC-A70E-40DD-A7E7-5611D332A983}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {8562A5BC-A70E-40DD-A7E7-5611D332A983}.Debug|x64.Build.0 = Debug|Any CPU
+ {8562A5BC-A70E-40DD-A7E7-5611D332A983}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {8562A5BC-A70E-40DD-A7E7-5611D332A983}.Debug|x86.Build.0 = Debug|Any CPU
+ {8562A5BC-A70E-40DD-A7E7-5611D332A983}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8562A5BC-A70E-40DD-A7E7-5611D332A983}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8562A5BC-A70E-40DD-A7E7-5611D332A983}.Release|x64.ActiveCfg = Release|Any CPU
+ {8562A5BC-A70E-40DD-A7E7-5611D332A983}.Release|x64.Build.0 = Release|Any CPU
+ {8562A5BC-A70E-40DD-A7E7-5611D332A983}.Release|x86.ActiveCfg = Release|Any CPU
+ {8562A5BC-A70E-40DD-A7E7-5611D332A983}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {3B5FB176-0EF6-421E-BF33-18A488C9C089}
+ EndGlobalSection
EndGlobal
diff --git a/PdfScribeTests/PdfScribeTests.csproj b/PdfScribeTests/PdfScribeTests.csproj
new file mode 100644
index 0000000..d565c4b
--- /dev/null
+++ b/PdfScribeTests/PdfScribeTests.csproj
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+ Debug
+ AnyCPU
+ {8562A5BC-A70E-40DD-A7E7-5611D332A983}
+ Library
+ Properties
+ PdfScribeTests
+ PdfScribeTests
+ v4.6.1
+ 512
+
+
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+ ..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll
+
+
+ ..\packages\xunit.assert.2.3.1\lib\netstandard1.1\xunit.assert.dll
+
+
+ ..\packages\xunit.extensibility.core.2.3.1\lib\netstandard1.1\xunit.core.dll
+
+
+ ..\packages\xunit.extensibility.execution.2.3.1\lib\net452\xunit.execution.desktop.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {1ead8e9a-a123-4c37-b31e-aee1354df003}
+ PdfScribeCore
+
+
+
+
+
+ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/PdfScribeTests/Properties/AssemblyInfo.cs b/PdfScribeTests/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..6f527cd
--- /dev/null
+++ b/PdfScribeTests/Properties/AssemblyInfo.cs
@@ -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("PdfScribeTests")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("PdfScribeTests")]
+[assembly: AssemblyCopyright("Copyright © 2018")]
+[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("8562a5bc-a70e-40dd-a7e7-5611d332a983")]
+
+// 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")]
diff --git a/PdfScribeTests/Tests.cs b/PdfScribeTests/Tests.cs
new file mode 100644
index 0000000..5a17430
--- /dev/null
+++ b/PdfScribeTests/Tests.cs
@@ -0,0 +1,69 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+using Xunit;
+
+using PdfScribeCore;
+
+namespace PdfScribeTests
+{
+ public class Tests
+ {
+ #region PdfScribeCore Tests
+ //[Test]
+ public void Test_DeletePdfScribePort()
+ {
+ var scribeInstaller = new PdfScribeInstaller();
+ scribeInstaller.DeletePdfScribePort();
+ }
+
+ //[Test]
+ public void Test_RemovePdfScribeDriver()
+ {
+ var scribeInstaller = new PdfScribeInstaller();
+ scribeInstaller.RemovePDFScribePrinterDriver();
+ }
+
+ //[Test]
+ public void Test_AddPdfScribePort()
+ {
+
+ var scribeInstaller = new PdfScribeInstaller();
+ scribeInstaller.AddPdfScribePort_Test();
+ }
+
+ //[Test]
+ public void Test_IsPrinterDriverInstalled()
+ {
+ var scribeInstaller = new PdfScribeInstaller();
+ scribeInstaller.IsPrinterDriverInstalled_Test("PDF Scribe Virtual Printer");
+ }
+
+ //[Test]
+ public void Test_InstallPdfScribePrinter()
+ {
+ var scribeInstaller = new PdfScribeInstaller();
+ scribeInstaller.InstallPdfScribePrinter(@"C:\Code\PdfScribe\Lib\", String.Empty, String.Empty);
+ }
+
+ //[Test]
+ public void Test_UninstallPdfScribePrinter()
+ {
+ var scribeInstaller = new PdfScribeInstaller();
+ scribeInstaller.UninstallPdfScribePrinter();
+ }
+
+ //[Test]
+ public void Test_RemovePdfScribePortMonitor()
+ {
+ var scribeInstaller = new PdfScribeInstaller();
+ scribeInstaller.RemovePdfScribePortMonitor();
+ }
+
+ #endregion
+
+ }
+}
diff --git a/PdfScribeTests/packages.config b/PdfScribeTests/packages.config
new file mode 100644
index 0000000..662797c
--- /dev/null
+++ b/PdfScribeTests/packages.config
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file