A fatal exception occured in the Best Practices framework [sic]

What to do if xppbp can’t find best practice extensions.

Following an upgrade from v8.2 to v10, the best practice analyser (xppbp.exe) started complaining that the following assembly was missing:

Microsoft.Dynamics.AX.Framework.MaintainabilityRules

I’m not sure if this is due to a new feature or whether the upgrade process caused the issue. Either way, it was simple enough to resolve by creating an assembly redirect (xppbp.exe.config) to make sure the framework probes the BPExtensions sub folder for the library:

<configuration>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
	  <probing privatePath="BPExtensions"/> 
    </assemblyBinding>
  </runtime>
</configuration>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: