mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Broken build after migration: error MSB4184: The expression "[System.IO.Path]::GetFullPath('')" #991
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mu88 on GitHub (Nov 1, 2025).
v0.0.18win-x64Steps to Reproduce:
feature/new-apidotnet builddotnet publish ./FotoManager/FotoManager.csproj -p:PublishProfile=win-x64The build fails with
D:\Development\PackageCaches\NuGet\electronnet.core\0.0.18\build\ElectronNET.LateImport.targets(431,7): error MSB4184: The expression "[System.IO.Path]::GetFullPath('')" cannot be evaluated. The path is empty. (Parameter 'path')When using the old API via
ElectronNET.API, I can successfully build my app.@FlorianRappl commented on GitHub (Nov 2, 2025):
Fixed in 0.1.0.
@FlorianRappl commented on GitHub (Nov 19, 2025):
@mu88 while this was monkey patched in 0.1.0 and 0.2.0 for 0.3.0 the error will come back.
See https://github.com/ElectronNET/Electron.NET/pull/942#issuecomment-3552022687 for details on how to resolve that on your side.