-
Notifications
You must be signed in to change notification settings - Fork 39
Exception: There are no SquirreAwareApp's in the provided package #81
Comments
You can place your app files into any lib directory. The reason you are getting this message is because you have not marked any executables as SquirrelAware by following the readme and adding the required entry to your application manifest. Please review the Readme, confirm you have completed the steps and re-open an issue if you are still having problems. |
thanks. |
How did you fix this @WuYin-Lyu ? |
I do not understand how you specify the I have added
|
Hi, @ypicard, please review the main |
All right, I have not found where it is specifically said that In the readme, the following is stated:
I am currently working on a c# project. Would you be able to tell me where I am supposed to add this specifically? in the Thank you very much for the help. |
This is exactly what I was looking for... Thank you so much for the detailed answer. |
My problem is that when using a single file self-contained executable, this doesn't work. The executable itself doesn't use my manifest, but the embedded dll does. Any workarounds or other options? |
I can confirm that the manifest is included in the final exe in every variation of published dotnet app. Including self contained and publishsinglefile. If the manifest is not present, please check and share your build instructions and csproj contents. |
Alternatively, for those who do not wish to use an assembly manifest, you can create a file called |
Is there a specific reason why you removed the possibility to simply set the AssemblyMetadataAttribute? |
Yes, there are a few reasons. Searching for the attribute requires a dependency on Mono.Cecil which is not a light weight dependency and has been known to have bugs and cause issues in Squirrel.Windows. It requires us to find and load the .net assembly with Mono.Cecil, which is not possible if the application is .net core because the entry assembly is a native exe and not a .net dll. There is a work-around for self-contained but non-bundled apps where we can try and find the entry dll by replacing .exe with .dll and hoping it exists, but this work-around does not work for apps created with Also, this attribute is not viable for native apps using Squirrel, meaning we need to provide several different approaches for marking a binary as SquirrelAware for .net and for native applications, whereas the sidecar file (your.exe.squirre) and the application manifest ( |
When using Releasify to pack my project. I get an exception: There are no SquirreAwareApp's in the provided package.
Squirrel is looking into "lib" folder for the SquirrelAwareValue. In most framework dependent app, the SquirrelAwareValue will be in "lib%framework%" folder. Is it better to search SquirrelAwareValue in "lib%framework%" folder.
The text was updated successfully, but these errors were encountered: