-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
dotnet publish ends after hours with buffer overflow when publishing dotnet maui app. #81271
Comments
@jfversluis do you have any insights here? |
That's very interesting. Never heard it before. Does this happen ONLY with those three packages? Or if you uninstall one of them does that seem to resolve the issue? I have experience with the MVVM and Toolkit ones and I never heard of this before, so maybe if we just uninstall the Graph one, does it start working then? Or if not that one, can we reinstall the Graph one and then uninstall one of the others and try to narrow it down to 1 package? Also I guess a binlog file would help to see what the build is actually doing. Almost seems like it ends up in an infinite loop somehow. |
Hi @vsfeedback. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Hi Gerald, Worked: Did not work: |
@jonathanpeppers @dellis1972 could you maybe have a look what might be going on here? Thanks! |
The error is failing inside the AOT compiler:
So, I think we move this to dotnet/runtime where @AsPaper does it work around the problem if you put You could, of course, also set |
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
/cc @steveisok you might know who would be best to look at this one. |
/cc @vargaz |
Can somebody reproduce this locally ? |
same issue when I add Microsoft.Graph (5.11.0) to my project. Tried with |
@vargaz, there's a very easy repo. You can just build this Microsoft.Graph sample repo in release mode. microsoftgraph/msgraph-sample-maui#68
|
Duplicate of: |
This issue has been moved from a ticket on Developer Community.
Dotnet maui publishing takes forever and ends with errors if the 3 packages CommunityToolkit.Maui, CommunityToolkit.Mvvm, Microsoft.Graph are included in the project.
To reproduce:
keytool -genkey -v -keystore key.keystore -alias rempel -keyalg RSA -keysize 2048 -validity 10000
dotnet publish -f:net7.0-android -c:Release /p:AndroidSigningKeyPass="PASSWORD" /p:AndroidSigningStorePass="PASSWORD"
If I use
the publishing works, but as expected it ends with a huge file.
It may be wrong to include packages that are not or hardly used. But in my project I need small parts of all the packages and get the same error.
dotnet --info:
Original Comments
Feedback Bot on 1/5/2023, 07:29 PM:
(private comment, text removed)
YanFang Wang (CSI Interfusion Inc) [MSFT] on 1/6/2023, 04:06 AM:
(private comment, text removed)
Andreas Sprick-Schütte on 1/6/2023, 04:20 AM:
(private comment, text removed)
Feedback Bot on 1/9/2023, 07:25 AM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: