获取“应用程序清单在语义上不是有效的”。由于相对路径问题 - 什么错了? [英] Getting "Application manifest is not semantically valid." due to relative path issue - Whats wrong?
问题描述
我正在使用供应商第三方工具创建ClickOnce软件包,当我添加"自定义"文件(供应商术语)并指定类似这样的路径时,".. \ Endpoint\customfile.dll""当我尝试从软件包中安装应用程序
时出现以下错误:
     +申请清单在语义上无效。
    +文件元素.. \ Endpoint \customfile.dll必须具有相对路径。
但是......路径是相对的......对吗? 我做错了吗? ClickOnce不允许基本文件夹之外的路径吗?
编辑:它工作正常如果自定义文件在基本文件夹中并且没有这样的路径列出(来自清单)
< file name =" CefSharp.xml"大小= QUOT; 70868" group =" Contacts">
你应该放DLL清单文件所在的基本文件夹内。
最好的问候,
鲍勃
I am creating the ClickOnce package using a vendors thirdparty tool and when I add 'custom' files (the vendors terminology) and specify a path like this "..\Endpoint\customfile.dll" I am getting the following error when I try to install the application from the package:
+ Application manifest is not semantically valid.
+ File element ..\Endpoint\customfile.dll must have a relative path.
But.. the path is relative... right? Am I doing something wrong? Does ClickOnce not allow for paths outside of the base folder?
Edit: It works fine If custom files are inside the base folder and listed with no path like this (from the manifest)
<file name="CefSharp.xml" size="70868" group="Contacts">
Hi,
You should put the DLL inside the base folder where the manifest file is.
Best Regard,
Bob
这篇关于获取“应用程序清单在语义上不是有效的”。由于相对路径问题 - 什么错了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!