We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

System.MissingMethodException: Method not found: 'Boolean System.Type.op_Equality(System.Type, System.Type)'.

Thread ID:

Created:

Updated:

Platform:

Replies:

129824 Apr 5,2017 06:23 AM Apr 14,2017 12:03 PM ASP.NET Core 9
loading
Tags: DatePicker
Jair Piedrahita
Asked On April 5, 2017 06:23 AM

Hi, 

I am getting an error while trying to add a syncfusion control (datepicker) in a view. 

The code I have is as follows: 
<div>
    <ej-date-picker id="datepicker" value="@DateTime.Now"></ej-date-picker>
</div>

I am including necesary namespaces in _ViewImports.cshtml
@using Syncfusion.JavaScript
@addTagHelper "*, Syncfusion.EJ"

I followed the "Getting Started" instructions and everything compiles correctly, but at runtime it throws the following exception: 

MissingMethodException: Method not found: 'Boolean System.Type.op_Equality(System.Type, System.Type)'.
  • System.ComponentModel.DefaultValueAttribute..ctor(Type type, string value)

  • System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)

  • System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, IRuntimeMethodInfo ctor, ref IntPtr blob, IntPtr blobEnd, out int namedArgs)

  • System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, int decoratedMetadataToken, int pcaCount, RuntimeType attributeFilterType, bool mustBeInheritable, IList derivedAttributes, bool isDecoratedTargetSecurityTransparent)

  • System.Reflection.CustomAttribute.GetCustomAttributes(RuntimePropertyInfo property, RuntimeType caType)

  • System.Attribute.InternalGetCustomAttributes(PropertyInfo element, Type type, bool inherit)

  • Syncfusion.JavaScript.Shared.Serializer.SerializeObject.GetAttribute(PropertyInfo property, string type)

  • Syncfusion.JavaScript.Shared.Serializer.SerializeObject.BuildJsonDictionary(object obj)

  • Syncfusion.JavaScript.Shared.Serializer.SerializeObject.SerializeToJson(object inputObject)

  • Syncfusion.JavaScript.EJTagHelper.RenderControl(TagHelperContext context, TagHelperOutput output)

  • Syncfusion.JavaScript.EJTagHelper.Process(TagHelperContext context, TagHelperOutput output)

  • Microsoft.AspNetCore.Razor.TagHelpers.TagHelper.ProcessAsync(TagHelperContext context, TagHelperOutput output)

  • Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner+<RunAsync>d__0.MoveNext()

  • System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)


I have tried creating a new project and followed same steps and it works, but somehow it doesn't work in my actual project where I intend to incorporate syncfusion controls. 

Please help in avoiding this issue, or how to check the real cause. 

Thanks
Jair

Francis Paul Antony Raj [Syncfusion]
Replied On April 6, 2017 08:45 AM

Hi Jair, 
 
Thanks for contacting Syncfusion Support. 
 
The reported issue might be occurred due to lingering of old assembly in your application. So, please ensure latest assemblies are deployed and no duplicate old assemblies are referred. 
 
To resolve this kind of issues, please try out the below suggestion: 
 
·       Clear bin and obj folders exists in the application directory. 
·       Restart the Visual Studio, then clean the solution and rebuild the application. 
 
 
If still you have any issue, please share the below details. 
·       Whether you are using VS2015 or VS2017 to create the ASP.NET Core application. 
·       If you have VS2015, share your project. json file and share the screenshot of references that has been referred in Solution Explorer tab. 
·       If you have VS2017, share your .csproj file. This will be helpful for us to analyze and provide a solution at the earliest. 
 
Regards, 
Francis Paul A. 


Jair Piedrahita
Replied On April 7, 2017 02:26 AM

Hi Francis, 

Thank you for your response. I did as suguested, but still getting same error. However, I noticed that during compilation, Visual Studio is showing some information message: 
Project Bancavalor (.NETCoreApp,Version=v1.0) will be compiled because project is not safe for incremental compilation. Use --build-profile flag for more information.
1>  Compiling Bancavalor for .NETCoreApp,Version=v1.0
1>  Compilation succeeded.
1>      0 Warning(s)
1>      0 Error(s)
1>  Time elapsed 00:00:20.5845150
1>   (The compilation time can be improved. Run "dotnet build --build-profile" for more information)
========== Recompilar todo: 1 correctos, 0 incorrectos, 0 omitidos ==========
According to what you said, the problem might be here, neverless the rest of the application is working fine. Please help in avoiding this issue. 
I am attaching the requested information. I am working in Visual Studio 2015. 

Thanks 

Jair Piedrahita
Replied On April 7, 2017 02:28 AM

Is not allowing to attach. So I can send by mail to support@syncfusion.com, or is there any other address?. 

Francis Paul Antony Raj [Syncfusion]
Replied On April 7, 2017 02:57 AM

Hi Jair, 
 
Can you please remove the directory ‘bin’ and ‘obj’ from the application and then try to attach the sample in the incident? If still you have any issue, please upload the project in Google Drive and share the link to us. Once you have shared the link, we will check and respond to you as soon as possible. 
 
Regards, 
Francis Paul A. 


Jair Piedrahita
Replied On April 7, 2017 04:23 AM

Hi Francis, 

I have updated the project in google drive. Kindly check an please try to help me know what is the issue :/  The URL is https://drive.google.com/drive/folders/0B-U8s9G9H-E8ZE9OTV9Md0tOUEk. 
I am trying to use a datepicker control in ~/Home/Controls view. The rest of the application, as I said before, is working fine. 

Thanks a lot for your help. 

Jair

Preethi Nesakkan Gnanadurai [Syncfusion]
Replied On April 7, 2017 04:52 AM

From: Jair Piedrahita [mailto:jairp8@gmail.com]
Sent: Friday, April 7, 2017 2:30 AM
To: Syncfusion Support <support@syncfusion.com>
Subject: Re: Syncfusion support community forum 129824, System.MissingMethodException: Method not found: 'Boolean System.Type.op_Equality(System.Type, System.Type)'., has been updated.
 

Attaching requested information.  

 
---
Jair 

Project


Francis Paul Antony Raj [Syncfusion]
Replied On April 12, 2017 09:26 AM

Hi Jair, 
 
We have created a separate incident for this query under your account. Can you please login into our Direct Trac support system for further updates on this query. Our Direct Trac support system can be accessed from the following link: 
 
Regards, 
Francis Paul A. 


Jair Piedrahita
Replied On April 13, 2017 02:17 AM

OK Francis, Thanks a lot! 

Sasikala Nagarajan [Syncfusion]
Replied On April 14, 2017 12:03 PM

Hi
Thanks for the update, Please let us know if you need any further assistance,
Regards,
Sasikala Nagarajan

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;