我需要为 Windows Phone 8.1 签署 LOB/企业应用程序(构建为 APPX)以进行内部分发。我尝试使用 MSBuild SignFile 任务:
<Target Name="SignAppxPhone" AfterTargets="_CreateAppxPackage">
<SignFile
CertificateThumbprint="$(CertificateThumbprint)"
SigningTarget="$(AppxPackageOutput)"
TargetFrameworkVersion="v4.5" />
</Target>
我收到以下错误:
error MSB3482: An error occurred while signing: Data at the root level is invalid. Line 1, position 1.
怎么了?