简体   繁体   English

在VisualStudio 2010安装项目中更改targetName

[英]Change targetName in VisualStudio 2010 setup project

I am trying to make setup project for my application. 我正在尝试为我的应用程序进行安装项目。 在此输入图像描述

I have added it to my solution with my primary application project. 我已将其添加到我的主应用程序项目的解决方案中。 Everything looks fine. 一切都很好看。 I can see detected dependency files: 我可以看到检测到的依赖文件:

在此输入图像描述

But i must change targetName of some files. 但我必须更改某些文件的targetName。 I can't do that and I don't know the reason why? 我做不到,我不知道原因是什么?

在此输入图像描述

You can see the "TargetName" is gray and unchangeable. 您可以看到“TargetName”是灰色且不可更改的。 I should be able to rename all files I want if I'm installing them on other machine. 如果我在其他机器上安装它们,我应该可以重命名我想要的所有文件。 How can I change TargetNames in my Setup Project? 如何在安装项目中更改TargetNames?

Don't think it's going to let you do that without renaming the .dll. 如果不重命名.dll,不要以为它会让你这样做。 The deployment doesn't seem to allow one to change .dll names ... which makes sense, really: you've compiled with the expectation that you're going to have Jacob.Vst.Interop.dll as a reference, so if you remove it, and you're not installing it into the GAC, you're going to have some trouble. 部署似乎不允许人们更改.dll名称...这是有道理的,真的:你编译时期望你将Jacob.Vst.Interop.dll作为参考,所以如果你删除它,而不是将它安装到GAC中,你会遇到一些麻烦。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM