diff --git a/.gitignore b/.gitignore
index 43a7974..aad023e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -110,6 +110,7 @@ stylecop.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects
+App_Data
# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
diff --git a/Rotativa.Demo/Views/Shared/_LogOnPartial.cshtml b/Rotativa.Demo/Views/Shared/_LogOnPartial.cshtml
index 48d9fb7..23b0d97 100644
--- a/Rotativa.Demo/Views/Shared/_LogOnPartial.cshtml
+++ b/Rotativa.Demo/Views/Shared/_LogOnPartial.cshtml
@@ -1,7 +1,7 @@
@if(Request.IsAuthenticated) {
Welcome @User.Identity.Name!
- [ @Html.ActionLink("Log Off", "LogOff", "Account") ]
+ [ @Html.ActionLink("Log Off", "LogOff", "Account", null, new { @class = "logoff" }) ]
}
else {
- @:[ @Html.ActionLink("Log On", "LogOn", "Account") ]
+ @:[ @Html.ActionLink("Log On", "LogOn", "Account", null, new { @class = "logon" }) ]
}
diff --git a/Rotativa.Tests/IEDriverServer.exe b/Rotativa.Tests/IEDriverServer.exe
deleted file mode 100644
index d2fb6a8..0000000
Binary files a/Rotativa.Tests/IEDriverServer.exe and /dev/null differ
diff --git a/Rotativa.Tests/PdfTester.cs b/Rotativa.Tests/PdfTester.cs
index 5469d73..bb161e0 100644
--- a/Rotativa.Tests/PdfTester.cs
+++ b/Rotativa.Tests/PdfTester.cs
@@ -15,6 +15,7 @@ public class PdfTester
private PdfReader pdfReader;
public bool PdfIsValid { get; set; }
+ public Exception PdfException { get; set; }
public void LoadPdf(byte[] pdfcontent)
{
@@ -25,8 +26,9 @@ public void LoadPdf(byte[] pdfcontent)
var parsed = parser.ExtractTextFromPDFBytes(pdfcontent);
this.PdfIsValid = true;
}
- catch (InvalidPdfException)
+ catch (InvalidPdfException ex)
{
+ this.PdfException = ex;
this.PdfIsValid = false;
}
}
diff --git a/Rotativa.Tests/Rotativa.Tests.csproj b/Rotativa.Tests/Rotativa.Tests.csproj
index af81757..c55e862 100644
--- a/Rotativa.Tests/Rotativa.Tests.csproj
+++ b/Rotativa.Tests/Rotativa.Tests.csproj
@@ -1,5 +1,6 @@
+
Debug
AnyCPU
@@ -14,6 +15,8 @@
512
..\
true
+
+
true
@@ -33,11 +36,11 @@
4
-
- ..\packages\iTextSharp.5.2.0\lib\itextsharp.dll
+
+ ..\packages\iTextSharp.5.5.12\lib\itextsharp.dll
-
- ..\packages\NUnit.2.6.0.12054\lib\nunit.framework.dll
+
+ ..\packages\NUnit.3.8.1\lib\net40\nunit.framework.dll
..\packages\SharpTestsEx.1.1.1\lib\SharpTestsEx.dll
@@ -54,9 +57,8 @@
-
- False
- ..\packages\Selenium.WebDriver.2.44.0\lib\net40\WebDriver.dll
+
+ ..\packages\Selenium.WebDriver.3.5.2\lib\net40\WebDriver.dll
@@ -70,29 +72,18 @@
-
- Always
-
-
-
-
- chromedriver.exe
- PreserveNewest
-
+
-
- DownloadChromeDriver;$(CoreBuildDependsOn)
- $(SolutionDir)packages\Selenium.WebDriver.ChromeDriver.2.13.0.0\
- $(ChromeDriverInstallPath)tools\
- $(ChromeDriverToolsPath)Init.ps1
- $(ChromeDriverInstallPath)content\chromedriver.exe
- %WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe
-
-
-
+
+
+ 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}.
+
+
+
+