Windows publish failing with white space on the user profile path. #592

Open
opened 2026-01-29 16:43:38 +00:00 by claunia · 0 comments
Owner

Originally created by @VPKSoft on GitHub (Nov 16, 2020).

Originally assigned to: @GregorBiswanger on GitHub.

ElectronNET.API: 9.31.2
ElectronNET.CLI Version: 9.31.2.0

Node.js version: v12.18.3

  • Target:
    Windows x64.

The release build fails with the following message on a Windows computer with a white space on the user profile folder:
image

Steps to Reproduce:

  1. Have a user profile with a white space character (%USERPROFILE%) in Windows
  2. Run electronize build /target win in your project folder.
Originally created by @VPKSoft on GitHub (Nov 16, 2020). Originally assigned to: @GregorBiswanger on GitHub. <!-- Which version of Electron.NET CLI and API are you using? --> ElectronNET.API: 9.31.2 ElectronNET.CLI Version: 9.31.2.0 <!-- Which version of .NET Core and Node.js are you using (if applicable)? --> Node.js version: v12.18.3 <!-- What target are you building for? --> * **Target**: Windows x64. <!-- Enter your issue details below this comment. --> The release build fails with the following message on a Windows computer with a white space on the user profile folder: ![image](https://user-images.githubusercontent.com/40712699/99268055-5cc53700-282d-11eb-802b-5ad4c7fdd188.png) <!-- If you want, you can donate to increase issue priority (https://donorbox.org/electron-net) --> Steps to Reproduce: 1. Have a user profile with a white space character (`%USERPROFILE%`) in Windows 2. Run `electronize build /target win` in your project folder.
claunia added the bug label 2026-01-29 16:43:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#592