diff --git a/Source/.nuget/NuGet.targets b/Source/.nuget/NuGet.targets
index 3f8c37b22..ac6ebdd11 100644
--- a/Source/.nuget/NuGet.targets
+++ b/Source/.nuget/NuGet.targets
@@ -58,11 +58,11 @@
-RequireConsent
-NonInteractive
- "$(SolutionDir) "
+ "$(SolutionDir)"
"$(SolutionDir)"
- $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir)
+ $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(SolutionDir)
$(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols
diff --git a/Source/HtmlRenderer.PdfSharp/HtmlRenderer.PdfSharp.csproj b/Source/HtmlRenderer.PdfSharp/HtmlRenderer.PdfSharp.csproj
index 2b5702ad0..a52675c08 100644
--- a/Source/HtmlRenderer.PdfSharp/HtmlRenderer.PdfSharp.csproj
+++ b/Source/HtmlRenderer.PdfSharp/HtmlRenderer.PdfSharp.csproj
@@ -11,7 +11,7 @@
HtmlRenderer.PdfSharp
v4.8
512
- ..\
+ ..\..\Source
true