c# - Exception thrown in Global.asax.cs -


exception thrown @ globalconfiguration.configure(webapiconfig.register); within global.asax.cs is:

"an exception of type 'system.typeinitializationexception' occurred in mscorlib.dll not handled in user code

additional information:

the type initializer 'system.net.http.formatting.mediatypeconstants' threw exception."

the inner exception is:

{"method not found: 'system.string system.string.format(system.iformatprovider, system.string, system.object)'."}

i've reinstalled nuget packages , references. deleted contents of bin folder. cleaned , re-complied. still no joy , hits here. doesn't reach inside of webapiconfig.register. ideas?


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -