获取“应用程序清单在语义上不是有效的”。由于相对路径问题 - 什么错了? [英] Getting "Application manifest is not semantically valid." due to relative path issue - Whats wrong?

查看:51
本文介绍了获取“应用程序清单在语义上不是有效的”。由于相对路径问题 - 什么错了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用供应商第三方工具创建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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆