My CRM Dev VM

NOTE: I will occasionally update this post.

I’ve had a number of conversations with customers recently about what I recommend they install on their CRM dev environement.  In general, I always recommend that individuals do work in an isolated environment to shield themselves from conflicting with work from other devs.  For CRM, this usually means running a single box install of Dynamics CRM 2011 in a VM.  You can either Build your own VM or download preconfigured VMs (you need to create a PartnerSource or CustomerSource account for the latter).  Note that the “build your own” link refers to a prerelease version of Dynamics CRM 2011.  However, I’ve run through the steps with the released version and it still works as described.  Whether you build your own VM or use a preconfigured one, the first thing you are going to want to do is get the latest updates from Windows/Microsoft Update.  I strongly encourage you to opt in for Microsoft Update so you get the latest updates for all the non-Windows Microsoft software as well (Office, SQL Server, Visual Studio, Dynamics CRM 2011, etc.).  The next thing you’ll want to install is the latest update rollups for CRM 2011.  As of this blog post, the latest is Update Rollup 5 for Microsoft Dynamics CRM 2011 (KB 2567454).  The CRM Installers do give you the option to check for these updates and apply them as part of the install.  However, as of writing this, UR5 is on http://bit.ly/vmRaar, but hasn’t made it to the Microsoft Update servers.  The next thing you’ll want to install is the latest Microsoft Dynamics CRM 2011 Software Development Kit (SDK).  The SDK team keeps improving the SDK, adding more samples, documentation, tools, and features.  Therefore, you’ll definitely want to keep an eye out on The Microsoft Dynamics CRM Team Blog for SDK release announcements.  The downside to this, of course, is that if you don’t keep up you loose out on the goodies.  As of this post, the latest version is 5.0.7.  There are a bunch of hidden gem tools in the SDK.  Most of the customers I have spoken with don’t know about them.  Although I will be blogging about many of these in detail in the future, I’ll reiterate what I said my last post.  After you’ve installed the SDK, go immediately to the [InstallDir]tools and [install]templates directories. There two folders in particular that are golden nuggets of dev productivity: templatesxrm.pagescriptprojecttemplate and toolsdevelopertoolkit. Both of these add enhancements in the form of VS templates and other helpers that you won’t want to miss.  I’ve done dev without these tools and with these tools.  In my opinion, you’ll see night/day productivity improvement for building/deploying/testing web resources (including Silverlight), plugins, activities, and workflows in your dev environment.  The CRM Explorer that gets added to Visual Studio has some nice productivity enhancements as well.  Be sure to read through the docs in each folder.  There are a number of other tools/SDKs I recommend people install.  Not all will be relevant to every situation, but they are good to have installed.  The first set can be installed using the Web Platform Installer:

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 )

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