安装安装项目时出现Config.csproj错误。 [英] Config.csproj error while installing setup project.

查看:118
本文介绍了安装安装项目时出现Config.csproj错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




i为visual studio 2008中的解决方案创建了一个安装项目,但在安装此MSI时构建包我得到Config.Csproj错误说明

D:\Applications\Config.csproj< 103,5>:错误:源文件D:\Applications \Config。 csproj实际上是一个目录。移动任务不支持移动目录,

在我的csproj文件中写的像




i have created a setup project for my solution in visual studio 2008 but while installing this MSI build package i am getting Config.Csproj error stating
"D:\Applications\Config.csproj <103,5>: error : The source file D:\Applications\Config.csproj is actually a directory. the move task does not support moving directories",
in my csproj file its written like

<Move SourceFiles="$(app_config_path)\$(config_file)"

DestinationFiles="$(app_path)\web.config" />




目标标签之间的




请帮忙。





我的尝试:



i已尝试用其他解决方案的项目文件替换.csproj文件。

i已尝试删除设置并创建新副本。但是这一切都没有用



between target tag.

please help.


What I have tried:

i have tried replacing .csproj file with some other solution`s project file .
i have tried deleting the setup and creating fresh copy . but all this is of no use

推荐答案

(app_config_path)\
(app_config_path)\


(config_file)

DestinationFiles < span class =code-keyword> =
(config_file)" DestinationFiles="


(app_path)\web.config < span class =code-attribute> / >
(app_path)\web.config" />




目标标签之间的




请帮忙。





我的尝试:



i尝试用其他解决方案的项目文件替换.csproj文件。

i尝试删除设置并创建新副本。但这一切都没有用



between target tag.

please help.


What I have tried:

i have tried replacing .csproj file with some other solution`s project file .
i have tried deleting the setup and creating fresh copy . but all this is of no use


这篇关于安装安装项目时出现Config.csproj错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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