Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

electronize build failing in Azure DevOps #851

Open
ayeshap20 opened this issue May 9, 2024 · 0 comments
Open

electronize build failing in Azure DevOps #851

ayeshap20 opened this issue May 9, 2024 · 0 comments
Labels

Comments

@ayeshap20
Copy link

ElectronNET.CLI Version: 23.6.2.0
ElectronNet.API Version 23.6.2

  • Version:

.NET Core Version 6
Node.js Version 20.11.1

  • Target:
    Windows, Linux

I'm trying to create a windows installer for my app in CI but I'm running into a build error in my official release-signed pipeline:

CSC : error CS8002: Referenced assembly 'ElectronNET.API, Version=23.6.2.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.

I have disabled strong name signing but this error occurs in the build step (before signing). The command that I am using to generate the installer is: electronize build /target win /dotnet-configuration release.
I am able to build locally but I see that the ElectronNet.API dlls do not have any certification. I cannot use ElectronNet.API in production unless the binaries are signed. I'm looking for a workaround for this issue but if there's none available, I would like to request the dlls to be signed.

@ayeshap20 ayeshap20 added the bug label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant