You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var corLib = MetadataReference.CreateFromAssemblyInternal(typeof(object).GetTypeInfo().Assembly);
references.Add(corLib);
I found codes in class CodeAnalysis.Scripting.Script.It looks to provide a default assembly metadata reference.However, It cause a error in Android because the assembly is in the .apk file.
The mistake was like
Could not find a part of the path "/data/app/…………/mscorlib.dll"
I found issues #23537 , #24442.I think it is the same problem
I've tried using other methods to read the assemblies I need, but I can't get around here.
I think there should be a way to provide the metadata reference by myelf.
The text was updated successfully, but these errors were encountered:
I found codes in class CodeAnalysis.Scripting.Script.It looks to provide a default assembly metadata reference.However, It cause a error in Android because the assembly is in the .apk file.
The mistake was like
I found issues #23537 , #24442.I think it is the same problem
I've tried using other methods to read the assemblies I need, but I can't get around here.
I think there should be a way to provide the metadata reference by myelf.
The text was updated successfully, but these errors were encountered: