-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Unable to build in Release #13676
Comments
Hi, @Woetroer - would you be able to share the full error logs? I unfortunately am not seeing the screenshot you mention. Thanks! |
Hi @Woetroer. 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 Rachel, I have attached the screenshot. |
@jonathanpeppers thoughts? In the meantime @Woetroer can you attach a binlog? https://github.com/xamarin/xamarin-macios/wiki/Diagnosis |
Hi @Woetroer. 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. |
Yes, a |
@PureWeen @jonathanpeppers I have now attached the zip file with the binlog to the repository |
Is it the correct log? It has no errors inside: You can open these files with the tool at https://msbuildlog.com to view them. |
Hi @Woetroer. 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. |
@jonathanpeppers Yes I used the tool to build the project and generate the log file. After that I zipped it and sent it here. |
@Woetroer in your log the build succeeded. If it was a failure, the log view automatically searches Do you need to try again and do a |
Hi @Woetroer. 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. |
@jonathanpeppers I tried |
We need a Did the problem mysteriously go away? |
No it still gives me the errors when I build in visual studio. I can't seem to build it in release using the ms build log viewer. |
You don't actually have to build it with the If you want to try inside VS you can use: https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.ProjectSystemTools2022 Just make sure you have this enabled:
Find one that contains your error. Thanks! |
Hi @Woetroer. 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. |
@jonathanpeppers After installing project tools and setting the setting to diagnostic I ran the build in release. It finished with no errors. I think the errors somehow went away. If the errors return I will provide the build log but it works for now. Thanks. |
Let us know and we can reopen, thanks! |
Description
When I try to build my application in Release mode I get the errors "Optimizing assemblies for size failed" and "Failed to write" see this screenshot.
I have tried setting publish trimmed to false as suggested by the error without success.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/Woetroer/ToDo/tree/master
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows, I was not able test on other platforms
Affected platform versions
Android 12
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: