tag:blogger.com,1999:blog-5472436831307966815.post1626728720986934847..comments2024-03-20T00:30:07.883-06:00Comments on Daniel Cai's Blog: MSCRM 2011 Developer Toolkit WalkthroughDaniel Caihttp://www.blogger.com/profile/05461949321689249420noreply@blogger.comBlogger55125tag:blogger.com,1999:blog-5472436831307966815.post-63422536141014227412014-05-13T21:44:20.530-06:002014-05-13T21:44:20.530-06:00@Larry, thanks for sharing your experience. I defi...@Larry, thanks for sharing your experience. I definitely agree with you about the development experience in terms of the deployment process. For the deployment issue, I previously raised it as <a href="https://connect.microsoft.com/dynamicssuggestions/feedback/details/682412/crm-dev-kit-deploy-command-for-individual-web-resource-item-in-crmpackage-project" rel="nofollow">a request on Connect</a> (just realized that request has been there for almost three years now). It might help if you add one more vote to the suggestion. <br /><br />Thanks!Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-52661781225067303862014-05-13T20:27:12.596-06:002014-05-13T20:27:12.596-06:00A word of warning about the Developer Toolkit. I ...A word of warning about the Developer Toolkit. I had a need to manage just my web resources with this tool. I created a solution as described, and then removed the Plugins and Workflows projects. I then proceeded to add JavaScript files to the CrmPackage project and use Deploy to publish the changes to CRM. This seemed to work at first, until I needed to update a JavaScript file and redeploy.<br />After I redeploy, I found that the CRM Solution is has not had customizations published. As a result, none of the changes to the JavaScript files are have been applied to the CRM forms that use the JavaScript. This toolkit is therefore not of any use in this situation.<br />It appears that, unless you have a plugin and/or workflow DLL in the visual studio solution, the customizations in the CRM solution are not published.<br />I know that this seems like a somewhat poor use the Developer toolkit, and that there are better tools for doing this, I would think it should have worked.<br />My motivation was that I had originally created the solution with workflows and plugins and the crmpackage. After many customizations, including 100 plugins and workflows, it was taking 5-15 minutes to deploy. Also, the deploy resulted in every single plugin and every single workflow being reregistered. For instances where I needed to make a small change to a single JavaScript file, it seemed like a risky and wasteful effort to redeploy the solution. So I broke my solution into 3 parts, one plugins, one workflows, and one for web resources. That's how I arrived at where this post begins. In the future, I will be moving the VS2012/13 and using the Web Resource Linker to manage javascript.Larry McCoyhttps://www.blogger.com/profile/09818307547257836765noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-33496879714116847642013-05-21T01:27:12.071-06:002013-05-21T01:27:12.071-06:00...NB, this is the VS2k12 version...NB, this is the VS2k12 versionAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-28404184347503904982013-05-21T01:22:19.794-06:002013-05-21T01:22:19.794-06:00We have the same problem. Adding successive steps ...We have the same problem. Adding successive steps does not update the ctor of the plugin. It does not add the event registration, which kind of defeats the point of having a toolkit.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-87963834907622946792013-01-03T22:36:26.018-07:002013-01-03T22:36:26.018-07:00Hi Milan, that's good to know, thanks for the ...Hi Milan, that's good to know, thanks for the update. It is appreciated. <br /><br />Have a nice day!<br />DanielDaniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-65050470982057909152013-01-03T22:34:55.860-07:002013-01-03T22:34:55.860-07:00Hi Daniel,
I solved this issue.
I should have to s...Hi Daniel,<br />I solved this issue.<br />I should have to sign key for Workflow solution too.<br />Thanks.Milan Hinguhttps://www.blogger.com/profile/12545868324560576938noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-31451520348424082882013-01-03T11:56:25.903-07:002013-01-03T11:56:25.903-07:00@Milan, this blog post was not originally develope...@Milan, this blog post was not originally developed in a step-by-step fashion, I just tried to highlight some key things when using the toolkit. So when you say you have followed all steps, I believe you are referring to the screenshots in which case, you could still miss something. I would once again check whether the project has been signed. <br /><br />Hope this helps. <br />DanielDaniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-19150183977792927782013-01-02T02:49:01.895-07:002013-01-02T02:49:01.895-07:00Hi,
I deleted ll and done again.
And i got these e...Hi,<br />I deleted ll and done again.<br />And i got these error<br />"Public Assembly must have public key".<br /><br />I stuck at this.<br />What is the solution for this??Milan Hinguhttps://www.blogger.com/profile/12545868324560576938noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-91629700007203039772013-01-02T02:26:33.618-07:002013-01-02T02:26:33.618-07:00Yes Daniel .. I followed all the steps again.Yes Daniel .. I followed all the steps again.Milan Hinguhttps://www.blogger.com/profile/12545868324560576938noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-15127326954534129832013-01-02T02:20:16.609-07:002013-01-02T02:20:16.609-07:00@Milan, did you sign the assembly? This can be don...@Milan, did you sign the assembly? This can be done through the project's Properties window where you can find a page called Signing, you can define how to sign the project there. Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-2741435681140350352013-01-02T02:16:51.679-07:002013-01-02T02:16:51.679-07:00Great Post Daniel.
However i created a plugin and ...Great Post Daniel.<br />However i created a plugin and deployed successfully.<br />But then don't know what happened but its now getting errors like <br />"Public Assembly must have public key and Plug-in assembly does not contain the required types"<br />and <br />"assembly content cannot be updated"<br /><br />How to overcome from these errors.<br />First i have deleted this Visual studio solution and also deleted plugin assembly from crm.<br />and then follow this steps to create new plugin.. but again i stuck at these 2 errors.<br /><br />Please help.Milan Hinguhttps://www.blogger.com/profile/12545868324560576938noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-2818204128943214002012-11-05T06:00:18.445-07:002012-11-05T06:00:18.445-07:00Awesome post daniel, but its getting error ,then i...Awesome post daniel, but its getting error ,then i tried again it is working now, thank you.Here is more information on CRM ,check this .<a href="http://www.raybiztech.com/Microsoft-Dynamics-CRM.html" rel="nofollow">Microsoft Dynamics CRM</a> Anonymoushttps://www.blogger.com/profile/14954502085952687993noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-89631653773349696982012-10-30T10:16:45.550-06:002012-10-30T10:16:45.550-06:00@Marcelo, sounds good, thanks for the update. @Marcelo, sounds good, thanks for the update. Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-83356871054762966222012-10-30T09:09:46.949-06:002012-10-30T09:09:46.949-06:00Hi Daniel,
I resolved it. In order to make it app...Hi Daniel,<br /><br />I resolved it. In order to make it appear, it is necessary to right click the CrmPackage and select Deploy.<br />It will makes the created plugins to appear in the left side tree.<br /><br />Best Regards,<br /><br />Marcelo CaladoMarcelo Caladohttps://www.blogger.com/profile/12729028162242454767noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-50594956350463683392012-10-29T13:34:55.839-06:002012-10-29T13:34:55.839-06:00in the step 4 which is "Add, Edit, Delete Plu...in the step 4 which is "Add, Edit, Delete Plugin" I'm not seeing these two contexts menu items:<br />- *XrmSolution.Plugins<br />- *XrmSolution.Workflow<br /><br />All the other previous steps have been done correctly. Because every picture you posted of every single step is exactly the same we have, except for this one at the fourth step.<br /><br />We do have 5 plugins registered in CRM, but we used another tool for that (plugin registration tool).<br />Can you help us telling us what we are missing?<br />Thanks for your incredible post and help, we really appreciate that.Marcelo Caladohttps://www.blogger.com/profile/12729028162242454767noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-42554752520016140712012-10-24T09:12:59.320-06:002012-10-24T09:12:59.320-06:00@Marcelo, you will only see plugin step if you hav...@Marcelo, you will only see plugin step if you have previously registered one. Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-9510978631528178792012-10-24T09:08:44.548-06:002012-10-24T09:08:44.548-06:00It's an awesome article, congratulations Danie...It's an awesome article, congratulations Daniel. Unfortunately I'm experiencing the same problem Veronica17 had at January, 2012 6:17 AM for the Plugin in step 5, she said that resolved but didn't posted the solution, do you know something about it? Any tip or help is welcome, if you need any additional information from me please let me know.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-40373510643197424872012-10-12T02:21:19.093-06:002012-10-12T02:21:19.093-06:00Great post Daniel, I think this post is the best d...Great post Daniel, I think this post is the best documentation currently available for this tool. Thanks.<br /><br /><br /><br /><br /><br /><br />-------------------------------------<br /><a href="http://cheapnba58.com" rel="nofollow">cheap nba jerseys</a>Squallhttps://www.blogger.com/profile/11406976422255368851noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-51745056018293751452012-08-02T02:03:33.209-06:002012-08-02T02:03:33.209-06:00Hi,
Regarding debugging plugin, i faced the same ...Hi, <br />Regarding debugging plugin, i faced the same issue. But then i found that the assembly has been deployed by the toolkit in sandboxed mode. <br />Right click the assembly and set the mode to isolated and check. i was able to debug.Siva Lakshminarayananhttps://www.blogger.com/profile/07643303643365253417noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-81278271350659384552012-07-02T13:48:19.683-06:002012-07-02T13:48:19.683-06:00The error message is too generic to tell what the ...The error message is too generic to tell what the problem is. You might want to turn on CRM trace log to see what the problem is. I suspect it is a permission issue, make sure you have at least System Customizer role. But again, it might be something else, since the error message doesn't tell anything.Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-54970717120892445952012-07-02T13:21:14.194-06:002012-07-02T13:21:14.194-06:00Hi I have tried all the steps but when I get to de...Hi I have tried all the steps but when I get to deploy i Get<br />Error 1 Error connecting to CRM Server. The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs. D:\Program Files (x86)\MSBuild\Microsoft\CRM\Microsoft.CrmDeveloperTools.CrmClient.targetsAnonymoushttps://www.blogger.com/profile/15778822590509466232noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-84934849100852479822012-04-28T18:23:49.631-06:002012-04-28T18:23:49.631-06:00@herculigan, I have not run into this problem. Thi...@herculigan, I have not run into this problem. This could be a bug of the tool, if it happens. You might want to post the problem to Microsoft connect site at <a href="http://connect.microsoft.com/dynamicssuggestions" rel="nofollow">http://connect.microsoft.com/dynamicssuggestions</a>Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-87512700078794418572012-04-28T18:01:53.582-06:002012-04-28T18:01:53.582-06:00Thanks Safiulla.Thanks Safiulla.Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-12260360849181541452012-04-28T18:01:14.537-06:002012-04-28T18:01:14.537-06:00@rocks, not sure if I misread anything, I don'...@rocks, not sure if I misread anything, I don't believe this should happen. The toolkit won't affect Visual Studio's debugging capability.Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-15942885738283110302012-04-27T01:17:19.170-06:002012-04-27T01:17:19.170-06:00This is a wonderful and clean post... well done.This is a wonderful and clean post... well done.Mohamed Ali Safiullahttps://www.blogger.com/profile/04612143925504484365noreply@blogger.com