Comments
Sort by recent activity
Any udates on this issue ?
I'm having the same problem with a .NET 4.5.1 targetted MVC / WebAPI project, so i'm unable to run this project through SmartAssembly.
The response i get calling a WebAPI method results in: {"Message":"An error has occurred.","ExceptionMessage":"An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)","ExceptionType":"System.BadImageFormatException","StackTrace":" at System.Reflection.MetadataImport._GetDefaultValue(IntPtr scope, Int32 mdToken, Int64& value, Int32& length, Int32& corElementType)
at System.Reflection.MdConstant.GetValue(MetadataImport scope, Int32 token, RuntimeTypeHandle fieldTypeHandle, Boolean raw)
at System.Reflection.RuntimeParameterInfo.GetDefaultValueInternal(Boolean raw)
at System.Reflection.RuntimeParameterInfo.GetDefaultValue(Boolean raw)
at System.Web.Http.Internal.ParameterInfoExtensions.TryGetDefaultValue(ParameterInfo parameterInfo, Object& value)
at System.Web.Http.Controllers.ReflectedHttpParameterDescriptor.get_DefaultValue()
at System.Web.Http.ModelBinding.ModelBinderParameterBinding.ExecuteBindingAsync(ModelMetadataProvider metadataProvider, HttpActionContext actionContext, CancellationToken cancellationToken)
at System.Web.Http.Controllers.HttpActionBinding.<ExecuteBindingAsyncCore>d__0.MoveNext()--- End of stack trace from previous location where exception was thrown ---
Thanks in advance. / comments
Any udates on this issue ?
I'm having the same problem with a .NET 4.5.1 targetted MVC / WebAPI project, so i'm unable to run this project through SmartAssembly.
The response i get calling a WebAPI...