-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-Infrastructure-monoin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is mergedos-iosApple iOSApple iOS
Milestone
Description
Description
Attempt to build an ipa file (Release) fails.
error : ILStrip failed for C:/Users/xxx/.nuget/packages/microsoft.azure.
cosmos/3.38.1/runtimes/win-x64/native/Microsoft.Azure.Cosmos.ServiceInterop.dll: The image is not a managed assembly
Oddly, it's a windows-only DLL. Worked in Xamarin.Forms. Works on Android. Works on iOS Debug/Simulator
See:
Azure/azure-cosmos-dotnet-v3#3171
Steps to Reproduce
build an ipa file (Release) of the MAUI template with a reference to the Cosmos nuget. I used 3.38.1.
Link to public reproduction project repository
No response
Version with bug
8.0.10 SR3
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
The Cosmos group said this DLL is not needed and will work fine if missing, so I just need to get past the build.
Relevant log output
No response
Metadata
Metadata
Assignees
Labels
area-Infrastructure-monoin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is mergedos-iosApple iOSApple iOS