Wednesday, 21 August 2013

MissingMethodException When I Deploy MVC4 Application using TFS build

MissingMethodException When I Deploy MVC4 Application using TFS build

I have MVC4 application which is working perfectly when i published this
manually by copying all files from local to server. I have created TFS
build definition to automate the build process for this application. TFS
build is coping all files correctly but when i am running application i am
getting below exception.
Method not found: 'Void
Newtonsoft.Json.Serialization.DefaultContractResolver.set_IgnoreSerializableAttribute(Boolean)'.
I checked Newtonsoft.Json.dll presence. It's available in the bin folder.
This dll is comes with Nuget package. I am not getting exact problem.
Please help to resolve this issue. Is there anything i need to do in build
definitions for explicit packages? Why IIS is not finding method even the
dll is available in bin folder?
Thanks in Advance!

No comments:

Post a Comment