Skip to content

Rust app - Failed to add package identity #270

@jkavalec

Description

@jkavalec

I tried a basic Rust app from Sampes - it builds with no issues, I can package it too, for installable build, however there is an issue - when I want to run this in debug mode I run into an error:

>winapp create-debug-identity .\target\debug\rust-app.exe

❌ Failed to add package identity: Failed to register sparse package: PowerShell command failed with exit code 1

[ERROR] - Task failed with return code 1, message: ❌ Failed to add package identity: Failed to register sparse package: PowerShell command failed with exit code 1

There is no info about how this issue could be solved, any idea what is wrong?

I have .net sdk 10 (latest) on Arm, similar issue happens with dotnet example:

>dotnet run

C:\Users\jaros\learning\rust\winapp\samples\dotnet-app\dotnet-app.csproj(20,5): error MSB3073: The command "winapp create-debug-identity "C:\Users\jaros\learning\rust\winapp\samples\dotnet-app\bin\Debug\net10.0-windows10.0.26100.0\dotnet-app.exe"" exited with code 1.

The build failed. Fix the build errors and run again.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions