-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
dotnet/runtime
#31670Description
From @balbarak on Wed, 22 Jan 2020 00:22:27 GMT
Steps to Reproduce
Direct Steps:
-
Unzip
3-Build.zip -
Run make
MONO_PATH=. /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/arm64-darwin-mono-sgen --debug -O=gsharedvt -O=-float32 --aot=mtriple=arm64-ios,data-outfile=Microsoft.Extensions.DependencyModel.aotdata.arm64,static,asmonly,direct-icalls,interp,full,soft-debug,dwarfdebug,no-direct-calls,outfile=Microsoft.Extensions.DependencyModel.dll.s Microsoft.Extensions.DependencyModel.dll
Mono Ahead of Time compiler - compiling assembly /Users/donblas/Desktop/3-Build/Microsoft.Extensions.DependencyModel.dll
AOTID 9521AEA2-F876-F399-7F1B-4E2607B30474
* Assertion at /Users/builder/jenkins/workspace/archive-mono/2019-08/ios/release/mono/mini/mini-generic-sharing.c:1228, condition `is_ok (error)' not met, function:get_wrapper_shared_vtype, VAR 0 (T1) cannot be expanded with type 0x11
Original Steps:
Enable the Mono interpreterfromiOS Buildoptions- Add
Microsoft.Extensions.DependencyInjectionpackage in Xamarin.Forms library project - Build the porject
Expected Behavior
it should build successfully
Actual Behavior
Project is not built
Environment
Visual Studio for mac v8.4.2 (build 59)
Build Logs
MTOUCH: Error MT3001: Could not AOT the assembly '/**/**/Microsoft.Extensions.DependencyModel.dll' (MT3001)
Example Project (If Possible)
Copied from original issue dotnet/macios#7734