locked
Dynamics 2013 SDK v6.02 supplied crmsvcutil.exe incompatible with code samples RRS feed

  • Question

  • The version of crmsvcutil.exe ("6.0.0000.0809") supplied with Dynamics 2013 SDK v6.02 generates code that is incompatible with the walkthrough examples supplied. The walkthrough Xrm.cs file needs to be generated by version "5.0.9688.583" of crmsvcutil.exe. How do I submit a bug to Microsoft so they can fix this issue?

    Specifically these are the errors given in Visual studio: 

    Error 1 The best overloaded method match for 'Xrm.XrmServiceContext.XrmServiceContext(Microsoft.Xrm.Sdk.IOrganizationService)' has some invalid arguments WebForm_CodeBehindDataSource.aspx.cs 11 14 WebAppWalkthrough

    Error 2 Argument 1: cannot convert from 'string' to 'Microsoft.Xrm.Sdk.IOrganizationService' WebForm_CodeBehindDataSource.aspx.cs 11 36 WebAppWalkthrough

    Saturday, December 7, 2013 12:12 PM

Answers

  • Needed the /codeCustomization:"Microsoft.Xrm.Client.CodeGeneration.CodeCustomization,Microsoft.Xrm.Client.CodeGeneration"  param. Works fine with this!
    • Marked as answer by SammoWolfsun Saturday, December 7, 2013 12:54 PM
    Saturday, December 7, 2013 12:54 PM