How to set up Dynamics CRM 2011 development environment
Recently I have been starting to learn Microsoft Dynamics CRM 2011 about implement plugin and workflow with SDK. The first thing I face is how to set up a development environment for Visual Studio. If you are using Visual Studio 2012 or lower version, it is very easy to setup SDK integrated with it. But actually, I am using Visual Studio 2013.
First thing is to download Dynamics CRM 2011 SDK in here: https://www.microsoft.com/en-us/download/details.aspx?id=24004. And then I should install SDK to VS2013. The installers are in Tools\DeveloperToolkit in SDK package only including two installers, ‘CrmDeveloperTools_Installer.msi’ and ‘CrmDeveloperToolsVS12_Installer.msi’. When I tried to run CrmDeveloperToolsVS12_Installer.msi that supports VS2012 in my local computer, one error tip was showed to tell me that current installer doesn’t support VS2013……. It is really shit. But whatever some reasons Microsoft has to think about, I believe that there should be someone who was already solved the problem. Finally I got the answer from http://community.dynamics.com/crm/b/tsgrdcrmblog/archive/2014/08/23/microsoft-dynamics-crm-2013-toolkit-with-visual-studio-2013. But from the author's topic, I knew that he wanted to install Dynamics CRM 2013 SDK to VS2013 and mine is Dynamics CRM 2011 SDK. There is a little difference from my expectation. But I decided to try it on Dynamics CRM 2011 SDK.
1. Navigate to folder in which file‘CrmDeveloperTools_Installer.msi’in cmd
2. Because I cann’t install this msi file and according the information that I am aware of, there is no better way to extract msi except using msiexec. So I executed the command:
C:\CRM-SDK\sdk\tools\DeveloperToolkit\CrmDeveloperTools_Installer.msi /qb TARGETDIR=C:\CRM-SDK\Toolkit
3. Navigate to the folder which I extracted the files. Open the Visual Studio folder and find file “Microsoft.CrmDeveloperTools.vsix”
4. Modify the extension of Microsoft.CrmDeveloperTools.vsix with .zip in order to extract it.
5. Extract it and find file “extension.vsixmanifest” in the folder. Open it and replace InstalledByMsi="true" with InstalledByMsi="false". Then find all instance all instances of - Version=”[11.0,12.0)” with: Version=”[11.0,12.0]”
6. Save it and repackage it. Run this file Microsoft.CrmDeveloperTools.vsix. It should be working.
7. Copy the files in CRM MSBUILD folder from \CRM MSBUILD folder to Program Files (x86)\MSBUILD\Microsoft\CRM. If Program Files (x86)\MSBUILD\Microsoft\CRM doesn’t exist. One should be created.
8. Create a registry file with the following details in
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0\Setup\VS]
"ProductDir"="C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\"
"MSMDir"="C:\\Program Files (x86)\\Common Files\\Merge Modules\\"
"VS7EnvironmentLocation"="C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\IDE\\devenv.exe"
"EnvironmentPath"="C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\IDE\\devenv.exe"
"EnvironmentDirectory"="C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\IDE\\"
"VS7CommonDir"="C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\"
"VS7CommonBinDir"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0\Setup\VS\BuildNumber]
"1033"="12.0" [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0\Setup\VS\Pro]
"ProductDir"="C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\" [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0\Setup\VS\VSTD]
"ProductDir"="C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\"
and don’t forget check all folder paths in the registry file and change them accordingly.
So far, SDK is installed to VS2013 completely. What I should do next is to copy xml schemas files to Program Files (x86)\Microsoft Visual Studio 12.0\Xml\Schemas\.
1. Navigator to folder Schemas in SDK package.
2. Copy all xsd files into Program Files (x86)\Microsoft Visual Studio 12.0\Xml\Schemas\
When you edit xml which is from Dynamics CRM solution in VS2013, the intellsense will work to give your convenience.
How to set up Dynamics CRM 2011 development environment的更多相关文章
- Error message “Assembly must be registered in isolation” when registering Plugins in Microsoft Dynamics CRM 2011 2013 解决办法
Error message “Assembly must be registered in isolation” when registering Plugins in Microsoft Dynam ...
- Step by step Dynamics CRM 2011升级到Dynamics CRM 2013
原创地址:http://www.cnblogs.com/jfzhu/p/4018153.html 转载请注明出处 (一)检查Customizations 从2011升级到2013有一些legacy f ...
- How to control PrincipalObjectAccess table growth in Microsoft Dynamics CRM 2011
https://support.microsoft.com/en-us/kb/2664150 How to control PrincipalObjectAccess table growth in ...
- Dynamics CRM 2011 权限管理(转)
http://www.cnblogs.com/LeoTang/p/3344265.html Dynamics CRM 2011 权限管理 CRM系统基于角色的权限主要通过部门.角色.用户.团队来 进行 ...
- Microsoft Dynamics CRM 2011的组织服务中的RetrieveMultiple方法(转)
本篇文章,介绍Microsoft Dynamics CRM 2011的组织服务中的RetrieveMultiple方法. RetreiveMultiple方法,用于获取实体的多个实例,该方法的签名如下 ...
- Dynamices CRM JS 类库 神器 XrmServiceToolkit - A Microsoft Dynamics CRM 2011 & CRM 2013 JavaScript Library
XrmServiceToolkit - A Microsoft Dynamics CRM 2011 & CRM 2013 JavaScript Library http://xrmservic ...
- Microsoft Dynamics CRM 2011 相关-摘自网络
Microsoft Dynamics CRM Server 2011硬件需求: 组件 *最低要求 *推荐配置 处理器 x64 体系结构或兼容的双核 1.5 GHz 处理器 四核 x64 体系结构 2 ...
- Dynamics CRM 2011编程系列(60):JS编程之CRUD辅助类(JQuery版)
今天给大家分享一个JQuery版的REST辅助类,在一年前我分享过一个只能在IE环境下运行的REST辅助类:<JS编程之实体CRUD辅助类 >.为什么要推出JQuery版的CRUD辅助类呢 ...
- Microsoft Dynamics CRM 2011 当您在 大型数据集上执行 RetrieveMultiple 查询很慢的解决方法
症状 当您在 Microsoft Dynamics CRM 2011 年大型数据集上执行 RetrieveMultiple 查询时,您会比较慢. 原因 发生此问题是因为大型数据集缓存 Retrieve ...
随机推荐
- HDU1068 二分匹配 独立集
前边和后边性别不同!!!不然NP了 Girls and Boys Problem Description the second year of the university somebody star ...
- ZOJ2212 Argus 优先队列 结构体
#include <iostream> #include <string> #include <queue> using namespace std; struct ...
- Java面向对象 继承(下)
Java面向对象 继承(下) 知识概要: (1)抽象类 1.1 抽象类概述 1.2 抽象类的特点 ...
- asp.net mvc CodeFirst模式数据库迁移步骤
利用Code First模式构建好基本的类后,项目也开始搭建完毕并成功运行,而且已经将数据库表结构自动生成了. 但是,我有新的类要加入,有字段需要修改,那怎么办呢,删库,跑路 ? 哈哈 利用数据库迁 ...
- Javascript 面向对象编程—继承和封装
前 言 Javascript是一种基于对象(object-based)的语言,你遇到的所有东西几乎都是对象.但是,它又不是一种真正的面向对象编程(OOP)语言,因为它的语法中没有class(类) ...
- iOS之浅谈纯代码控制UIViewController视图控制器跳转界面的几种方法
.最普通的视图控制器UIViewContoller 一个普通的视图控制器一般只有模态跳转的功能(ipad我不了解除外,这里只说iPhone),这个方法是所有视图控制器对象都可以用的,而实现这种功能,有 ...
- 通过nginx的fastcgi_param来设置环境变量
在nginx配置文件中,可以在nginx总体的配置文件nginx.conf中,也可以在单独的网站配置环境中进行设置,如:www.tomener.com.conf 在配置环境server段locatio ...
- AspectCore.Extension.Reflection : .NET Core反射扩展库
在从零实现AOP的过程中,难免会需要大量反射相关的操作,虽然在.net 4.5+/.net core中反射的性能有了大幅的优化,但为了追求极致性能,自己实现了部分反射的替代方案,包括构造器调用.方法调 ...
- C#基础之转换
C#中一共有两种转换方式,隐式转换和显示转换 隐式转换:就是不需要声明就能进行的转换,通俗来说就是小范围内的数据类型转大范围数据类型 显示转换:就是通常说的强制转换,需要在代码中写明要的数据类型.通俗 ...
- win10 删除设备和驱动器中你不要的图标
设备和驱动器可能有很多你不想要的东西,360云盘,百度网盘,微云-- 删除设备和驱动器中的百度云图标,360网盘图标,要去注册表 运行 regedit 点开 HKEY_CURRENT_USER\SOF ...