简体   繁体   English

如何获取“PluginProfiler.Solution.zip” - 插件注册工具 - Profiler

[英]How to get "PluginProfiler.Solution.zip" - Plugin Registration Tool - Profiler

I face problem that drives me nuts, and I cannot find a solution anywhere.我遇到了让我发疯的问题,而且我无法在任何地方找到解决方案。 Also it seems many people faced this problem, and asked in several "more expert" forums like "community.dynamics.com" ( for example here ) or on sites of MIcrosoft MVPs like Andrew Butenko enter link description here ) and several other places.此外,似乎很多人都遇到过这个问题,并在“community.dynamics.com”( 例如此处)或 MIcrosoft MVP 网站(如 Andrew Butenko在此处输入链接描述)和其他几个地方提问。

The problem is: While developing Plugins for Dataverse, we use a tool called "Plugin Regustration Tool" to bring those plugin to the cloud:问题是:在为 Dataverse 开发插件时,我们使用一个名为“插件注册工具”的工具将这些插件带到云端: 在此处输入图像描述 And inside this tool we usually use a tool called "Profiler" to debug what is happening, as the plugin runs in the background, and you have no chance seeing what is going wrong in the GUI.在这个工具中,我们通常使用一个名为“Profiler”的工具来调试正在发生的事情,因为插件在后台运行,你没有机会在 GUI 中看到哪里出了问题。 However, when I want to install it, I get an error:但是,当我要安装它时,出现错误: 在此处输入图像描述 Official documentation of Microsoft does not mention this as they do only cover the "happy" path.微软的官方文档没有提到这一点,因为它们只涵盖了“快乐”的道路。 Does anyone know how to get this tool working.有谁知道如何让这个工具工作。 I am searching now for hours without even a hint where to start.我现在正在寻找几个小时,甚至没有提示从哪里开始。 Also the file is nowhere to be downloaded, otherwise I would have done so as suggested by the error message:此外,该文件无处可下载,否则我会按照错误消息的建议这样做:

Unhandled Exception: System.InvalidOperationException: Unable to locate the "PluginProfiler.Solution.zip" file.未处理的异常:System.InvalidOperationException:无法找到“PluginProfiler.Solution.zip”文件。 Make sure that it is in the same directory as the PluginProfiler.Library.dll assembly.确保它与 PluginProfiler.Library.dll 程序集位于同一目录中。 bei PluginProfiler.Library.ProfilerManagementUtility.LoadSolutionFile(String prtPath) bei PluginProfiler.Library.ProfilerManagementUtility.ImportSolutionAsyncAndWait(CrmServiceClient service, String prtpath, Boolean publishWorkflows, Boolean overwriteUnmanagedCustomizations, Int32 sleepInterval, Int32 asyncWaitTimeout) bei PluginProfiler.Library.ProfilerManagementUtility.RetrieveOrCreateProfilerPluginType(CrmServiceClient service, String prtpath) bei Microsoft.Crm.Tools.Libraries.OrganizationHelper.InstallProfiler(CrmOrganization org, String prtPath) bei Microsoft.Crm.Tools.PluginRegistration.OrganizationControlViewModel.<>c__DisplayClass302_0.<InstallProfiler_Clicked>b__2(Object o, DoWorkEventArgs e) bei PluginProfiler.Library.ProfilerManagementUtility.LoadSolutionFile(String prtPath) bei PluginProfiler.Library.ProfilerManagementUtility.ImportSolutionAsyncAndWait(CrmServiceClient service, String prtpath, Boolean publishWorkflows, Boolean overwriteUnmanagedCustomizations, Int32 sleepInterval, Int32 asyncWaitTimeout) bei PluginProfiler.Library.ProfilerManagementUtility.RetrieveOrCreateProfilerPluginType(CrmServiceClient service , String prtpath) bei Microsoft.Crm.Tools.Libraries.OrganizationHelper.InstallProfiler(CrmOrganization org, String prtPath) bei Microsoft.Crm.Tools.PluginRegistration.OrganizationControlViewModel.<>c__DisplayClass302_0.<InstallProfiler_Clicked>b__2(Object o, DoWorkEventArgs e)

Any help is highly appreciated!非常感谢任何帮助!

I had the same error.我有同样的错误。 I restarted Plugin Registration Tool as administrator.我以管理员身份重新启动了插件注册工具。 After it, Profiler was installed successfully.之后,Profiler 安装成功。

In starting shortcut, "Start in" section just copy paste path to exe file, for example: C:\Users<UserName>\AppData\Local\Microsoft\PowerPlatform\PRT\9.1.0.155\tools在启动快捷方式中,“开始于”部分只需将粘贴路径复制到 exe 文件,例如:C:\Users<UserName>\AppData\Local\Microsoft\PowerPlatform\PRT\9.1.0.155\tools

And run as Administrator.并以管理员身份运行。

This must fix the problem.这必须解决问题。

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

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