-
Notifications
You must be signed in to change notification settings - Fork 516
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] ILStrip fails when building F# projects from Windows #14841
Comments
Seems to be the same issue as dotnet/maui#12296 ; it's not just F# So all localized iOS projects are blocked? (though trying the workaround) The workaround works! |
Yes, that might be the case. We'll fix this for .NET 8 (and potentially a .NET 7 service release, depending on when it's fixed and the actual fix). |
We are blocked by this issue too, aside from the workaround. We have just ported from Xamarin to .net iOS (no forms/maui) and simply could not get release builds on a device to have all their resources left intact by the build process. Rolf's workaround to disable assembly IL stripping works, but this seems like a fairly major issue. Are all projects that use localisation broken on netX.0-ios? |
Any assembly that's not already on the Mac must be copied there, so do that. We detect if an assembly exist on the Mac by checking the file size of the file on Windows: a 0-length file is an output file from an assembly that exist on the Mac, otherwise it doesn't and must be copied. Fixes xamarin#17009. Fixes xamarin#14841. Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1817898.
Any assembly that's not already on the Mac must be copied there, so do that. We detect if an assembly exist on the Mac by checking the file size of the file on Windows: a 0-length file is an output file from an assembly that exist on the Mac, otherwise it doesn't and must be copied. Fixes #17009. Fixes #14841. Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1817898.
… Windows. Any assembly that's not already on the Mac must be copied there, so do that. We detect if an assembly exist on the Mac by checking the file size of the file on Windows: a 0-length file is an output file from an assembly that exist on the Mac, otherwise it doesn't and must be copied. Fixes xamarin#17009. Fixes xamarin#14841. Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1817898. Backport of xamarin#18508.
… Windows. (#18511) Any assembly that's not already on the Mac must be copied there, so do that. We detect if an assembly exist on the Mac by checking the file size of the file on Windows: a 0-length file is an output file from an assembly that exist on the Mac, otherwise it doesn't and must be copied. Fixes #17009. Fixes #14841. Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1817898. Backport of #18508.
Any assembly that's not already on the Mac must be copied there, so do that. We detect if an assembly exist on the Mac by checking the file size of the file on Windows: a 0-length file is an output file from an assembly that exist on the Mac, otherwise it doesn't and must be copied. Fixes xamarin#17009. Fixes xamarin#14841. Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1817898.
Repro project: fsharp.zip
Build:
Binlog: msbuild.binlog.zip
Workaround:
The text was updated successfully, but these errors were encountered: