Some local .nuget paths may contain spaces (ex. C:\Users\First
Last\.nuget). Surrounding it with quotes allows the command path to have
spaces
<Target Name="ResolveDIALibToCopy" BeforeTargets="AssignTargetPaths">
<PropertyGroup>
- <VSWherePath>$([MSBuild]::NormalizePath('$(Pkgvswhere)','tools','vswhere.exe'))</VSWherePath>
+ <VSWherePath>"$([MSBuild]::NormalizePath('$(Pkgvswhere)','tools','vswhere.exe'))"</VSWherePath>
</PropertyGroup>
<Exec
Command="$(VSWherePath) -latest -prerelease -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath"
<ItemGroup>
<ProjectReference Include="../DIALib/DIALib.ilproj" />
</ItemGroup>
-</Project>
\ No newline at end of file
+</Project>