-
Notifications
You must be signed in to change notification settings - Fork 23
Unhandled error: Sequence contains no elements #40
Comments
I just read the read me and see that this tool doesn't work with dotnet core 3.0. This is sad because I was hoping to get down the the mythical 9 MB that that hanselman got in his blog https://www.hanselman.com/blog/BrainstormingCreatingASmallSingleSelfcontainedExecutableOutOfANETCoreApplication.aspx The best I can get with the publish trimmed etc is 29 MB |
Trimming will not work, packing should work. So you can trim with 3.0 and then pack with this tool |
Thanks for the info. I got it going by changing my project file to:
Then running:
Do you know why your tool can produce a 13 mb binary but the official one is 30 mb? |
I suspect that this is because of /p:RootAllApplicationAssemblies=false which is set by this tool when running with an "aggressive" flag. This is somewhat risky and could break your app, so probably that is the reason it has been disabled. |
Thank you . This thread helped me too. |
Had the same issue. Fixed it by removing this from .csproj: <PublishSingleFile>true</PublishSingleFile> |
I got this error trying to run dotnet-warp on a linux-arm hello world project
the following is my project file
The text was updated successfully, but these errors were encountered: