Skip to content

Broken build after migration: error MSB4184: The expression "[System.IO.Path]::GetFullPath('')" #900

@mu88

Description

@mu88
  • Version: v0.0.18
  • Target: win-x64

Steps to Reproduce:

  1. Clone the repository https://github.com/mu88/BlazorFotoManager
  2. Switch to the feature branch feature/new-api
  3. Build the app via dotnet build
  4. Publish the app via dotnet publish ./FotoManager/FotoManager.csproj -p:PublishProfile=win-x64

The 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')

Image

When using the old API via ElectronNET.API, I can successfully build my app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions