简体   繁体   English

在vs 2015上开发ms crm 2011插件

[英]Developing ms crm 2011 plugin on vs 2015

How can I develop a custom plugin for MS CRM 2011 using MS Visual Studio 2015? 如何使用MS Visual Studio 2015为MS CRM 2011开发自定义插件? The problem is that plugin development requires CRM SDK to be installed on VS, but it is impossible to install CRM SDK 2011 on VS 2015 (it errors with 'you should install visual studio first'), as I can understand it looks for VS 2010. 问题是插件开发需要在VS上安装CRM SDK,但是不可能在VS 2015上安装CRM SDK 2011(“您应该先安装Visual Studio”这是错误的),因为我知道它在寻找VS 2010 。

Also, I haven't found a way to install CRM SDK 2015 on VS 2015, as I figured out Microsoft separated out these two things. 另外,我还没有找到在VS 2015上安装CRM SDK 2015的方法,因为我发现微软将这两件事分开了。

I don't want to buy VS 2010 additionally, and I can't change company politics of using MS CRM 2011. 我不想额外购买VS 2010,也无法改变使用MS CRM 2011的公司政策。

Download Microsoft Dynamics CRM 2011 Software Development Kit (SDK) . 下载Microsoft Dynamics CRM 2011软件开发工具包(SDK)

Then run the executable, all it does is extract files to a folder directory (not sure where the Visual Studio link comes in here). 然后运行可执行文件,它所做的只是将文件提取到文件夹目录中(不知道Visual Studio链接在何处出现)。

You can find the CRM assemblies in the SDK\\Bin folder, you can then add the references directly to your project. 您可以在SDK \\ Bin文件夹中找到CRM程序集,然后可以将引用直接添加到您的项目中。

Alternatively you could try Nuget to simply get the references. 另外,您可以尝试使用Nuget来简单地获取引用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM