locked
Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=5.0.0.0 RRS feed

  • Question

  • 6.13 SDK 

    I have written  a plugin and i am  trying to debug [ online plugin crm 2013 ],

    I am getting bellow error 

    Error 

    Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
       at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
       at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
       at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
       at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
       at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
       at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
       at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
       at PluginProfiler.Library.ProfilerUtility.GetProxyTypesAssembly(Assembly pluginAssembly)
       at PluginProfiler.Library.DeserializedProfilerReport..ctor(String serializedReport, Assembly pluginAssembly)
       at PluginProfiler.Library.ProfilerUtility.DeserializeProfilerReportInternal(String assemblyFilePath, String serializedReport)
       at PluginProfiler.Library.ProfilerUtility.DeserializeProfilerReport(String assemblyFilePath, String logFilePath)
       at PluginProfiler.Library.AppDomainProxy.InitializeProxy(String assemblyFilePath, String typeName, String logFilePath)
       at PluginProfiler.Library.AppDomainProxy.InitializeProxy(String assemblyFilePath, String typeName, String logFilePath)
       at PluginProfiler.Library.AppDomainProxy.CreateProxy(Type type, AppDomain domain, OperationConfiguration configuration, IList`1 trustedAssemblies)
       at PluginProfiler.Library.ProfilerExecutionEngine.Execute(ProfilerExecutionConfiguration configuration)
       at PluginProfiler.Library.ProfilerExecutionUtility.Execute(PluginPermissions permissions, ProfilerExecutionConfiguration configuration)
       at PluginProfiler.Library.ProfilerExecutionUtility.Execute(PluginPermissions permissions, OperationConfiguration operation, ProfilerReportingConfiguration reporting, OrganizationServiceProxy administratorProxy, ITracingService tracing)
       at Microsoft.Crm.Tools.PluginRegistration.DebugPluginForm.ExecutePluginButton_Click(Object sender, EventArgs e)

    • Edited by kMAT1 Tuesday, January 7, 2014 7:50 AM
    Tuesday, January 7, 2014 7:40 AM

All replies