u/Eric_Terrell

Parcel - fails when there is a space in the folder path

Is this a known issue? If not, how do I report it? It seems obvious.

If I attempt to build an install from a project here:

C:\Users\erict\Documents\software development\Avalonia UI\EBTWeather

I get the following error when I try to build an install. If the project path doesn't have spaces, it works.

Other than this somewhat basic issue, the installer seems great!

Thanks!

-----

[INF]: Validating project

[INF]: Resolving MSBuild properties

[ERR]: Internal error: System.InvalidOperationException: msbuild process exited with code 1.

[ERR]: Output: MSBUILD : error MSB1008: Only one project can be specified.

[ERR]: Full command line: 'C:\Program Files\dotnet\sdk\10.0.101\MSBuild.dll -maxcpucount --verbosity:m -tlp:default=auto C:\Users\erict\Documents\software development\Avalonia UI\EBTWeather\EBTWeather.Avalonia\EBTWeather.Avalonia.csproj -getProperty:BaseIntermediateOutputPath,BaseOutputPath,UseArtifactsOutput,ArtifactsPath -distributedlogger:Microsoft.DotNet.Cli.Commands.MSBuild.MSBuildLogger,C:\Program Files\dotnet\sdk\10.0.101\dotnet.dll*Microsoft.DotNet.Cli.Commands.MSBuild.MSBuildForwardingLogger,C:\Program Files\dotnet\sdk\10.0.101\dotnet.dll'

[ERR]: Switches appended by response files:

[ERR]: Switch: development\Avalonia

[ERR]: For switch syntax, type "MSBuild -help"

[ERR]: Error:

[ERR]: at AvaloniaUI.BuildTools.Utilities.DotNetRunner.<RunDotnet>d__9.MoveNext() + 0x5ff

[ERR]: --- End of stack trace from previous location ---

[ERR]: at AvaloniaUI.BuildTools.MSBuild.MSBuildProjectTools.<GetProjectMetadata>d__0.MoveNext() + 0x9c

[ERR]: --- End of stack trace from previous location ---

[ERR]: at AvaloniaUI.Packagers.Session.PackagingSession.<ResolveMsBuildProperties>d__18.MoveNext() + 0x53

[ERR]: --- End of stack trace from previous location ---

[ERR]: at AvaloniaUI.Packagers.Session.PackagingSession.<PrepareProject>d__11.MoveNext() + 0xf5

[ERR]: --- End of stack trace from previous location ---

[ERR]: at AvaloniaUI.Packagers.Session.PackagingSession.<RunAsync>d__9.MoveNext() + 0x242

reddit.com
u/Eric_Terrell — 8 days ago