There was a critical bug in AgileFx for VS 2010, which caused the code generation to fail. This was a bug in the setup package, which incorrectly set the CodeBase in the registry.
More Information:
The root cause is an issue in Visual Studio Packaging Tools itself. Instead of the CodeBase pointing to the installed location on the user’s machine, it contained an absolute path on the developers machine.
http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/4bb91fe2-3262-4236-8008-47820b16dbb8
The fix is simple. Replace the absolute paths (starting with file://….) in the pkgdef file with $PackageFolder$.
eg: the entry in AgileModeler.DslPackage.pkgdef look should be:“CodeBase”=”$PackageFolder$\AgileFx.AgileModeler.DslPackage.dll”
A note for those who deploy Dsl Packages through MSI. Remember that the registry keys are replaced only when you open Visual Studio. Right after the installation program exits, you will not find the new keys through Regedit.