Views:

Applies to Product - Dynamics 365 Commerce


What’s happening?
After upgrading the CSU version and building all the extensions project, a build error occurs when attempting to build the CSharpProxyExtension.
 

Reason:
The build error may be caused by missing dependencies, which are not found in the expected directory. Additionally, there may be issues with the database connection or credentials provided for the extensions.
 

Resolution:

  1. Verify if the Extensions file exists in the specified build directory:  {drive letter}:\\{SDK Folder}\CommerceRuntime\bin\Debug\netstandard2.0.
  2. Check if all DLLs that the assembly depends upon are present in the same folder.
  3. Ensure that the Retail server extension’s target framework is set correctly. If errors persist, consider setting it to the required framework version.
  4. If applicable, search for the .CoreProxyGenerator.props file in the local environment, open it, and inspect line 142 for dependencies.
  5. Run the command to generate the CSharpProxyExtension using the appropriate MSBuild properties, ensuring that paths and file existence are validated before execution.