【发布时间】:2021-08-27 07:08:50
【问题描述】:
我有一个动态解决方案,我想使用动态 SDK 中的 SolutionPackager.exe 对其进行打包。 我收到错误消息,值不能为空。 如果我不想更改任何实体,我想知道Relationship.xml 中的预期内容。对此有何想法?
在谷歌上搜索了一段时间后,我在使用动态时才发现参数空错误,例如:https://msdynamicsworld.com/story/resolving-error-value-cannot-be-null-issue-microsoft-dynamics-365-project-service-automation,但我什至无法接近那一步。
PS D:\Source\github\D365-PowerKanban\src\web\Solutions\src> D:\Dynamics\SDK\Bin\SolutionPackager.exe /a:pack /z:D:\Source\github\D365-PowerKanban\package.zip /e:verbose
SolutionPackger : CRM Solution Packaging Tool [Version 8.2.0.820]
© 2012 Microsoft Corporation. All rights reserved
Packing D:\Source\github\D365-PowerKanban\src\web\Solutions\src to D:\Source\github\D365-PowerKanban\package.zip
Processing Component: Entities
Processing Component: Roles
Processing Component: Workflows
Processing Component: FieldSecurityProfiles
Processing Component: Templates
Processing Component: EntityMaps
Processing Component: EntityRelationships
Reading: .\Other\Relationships.xml
Processing Component: optionsets
Processing Component: SolutionPluginAssemblies
Unmanaged Pack complete.
Processing Component: Entities
Processing Component: Roles
Processing Component: Workflows
Processing Component: FieldSecurityProfiles
Processing Component: Templates
Processing Component: EntityMaps
Processing Component: EntityRelationships
Reading: .\Other\Relationships.xml
Processing Component: optionsets
Processing Component: SolutionPluginAssemblies
Der Wert darf nicht NULL sein.
Parametername: path
CrmSvcUtil Runtime = 00:00:00.1430334
Relationship.xml
<?xml version="1.0" encoding="utf-8"?>
<EntityRelationships xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
【问题讨论】: