Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Commented Issue: Working Path With Spaces In It [1573]

$
0
0
Nuget is unable to restore packages if the working path has spaces in it, because the build script does not pass a quoted path for the config file.

For example, 'Nuget.exe [...] -configfile \\path to source\\.nuget\nuget.config ' should be 'Nuget.exe [...] -configfile "\\path to source\\.nuget\nuget.config" '

I've attached my msbuild.log showing this error.
Comments: This is an issue in https://aspnetwebstack.codeplex.com/SourceControl/latest#Runtime.msbuild where param to configfile should be specified in quotes. <Target Name="RestorePackages" DependsOnTargets="DownloadNuGet"> <Message Text="Restoring NuGet packages..." Importance="High" /> <Exec Command='"$(NuGetExe)" restore "%(SolutionsToBuild.Identity)" -PackagesDirectory packages -NonInteractive -Verbosity quiet -ConfigFile $(MsBuildThisFileDirectory)\.nuget\NuGet.Config' /> <!-- Pick the right Microsoft.Web.FxCop package to use and copy it to a standard location. --> </Target>

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>