We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2b8c65 commit cbbdadcCopy full SHA for cbbdadc
1 file changed
Scripts/PreBuildEventCommandLine.ps1
@@ -5,6 +5,14 @@ param(
5
[String]$OutPath
6
)
7
8
+# Fix wrong path
9
+# Quotation marks are required if a blank is in the path... If there is no blank space in the path, a quote will be add to the end...
10
+# VS prebuild event call: PowerShell.exe -ExecutionPolicy Bypass -NoProfile -File "$(ProjectDir)..\..\Scripts\PreBuildEventCommandLine.ps1" "$(TargetDir)"
11
+if(-not($OutPath.StartsWith('"')))
12
+{
13
+ $OutPath = $OutPath.TrimEnd('"')
14
+}
15
+
16
# Test if files are already there...
17
if((Test-Path -Path "$OutPath\MSTSCLib.dll") -and (Test-Path -Path "$OutPath\AxMSTSCLib.dll"))
18
{
0 commit comments