visual-studio 什么是“内容文件”(在 Visual Studio 中:安装项目:文件系统

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2036216/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 11:22:38  来源:igfitidea点击:

What are "Content Files" (in Visual Studio : Setup Project : File System

visual-studiodeploymentinstallation

提问by Adam Kane

In the context of a Visual Studio 2008 Setup Project, what are "Content Files". In other words, when creating a setup project and defining the File System settings and choosing: Add Project Output > Content Files, what files will be added?

在 Visual Studio 2008 安装项目的上下文中,什么是“内容文件”。换句话说,在创建安装项目并定义文件系统设置并选择:添加项目输出 > 内容文件时,将添加哪些文件?

For example, what has to be true about a file or its location for it to be considered a Content File for a given project's output?

例如,对于给定项目的输出,文件或其位置必须是真实的,才能将其视为内容文件?

alt text

替代文字

回答by Jason Rowe

The build action property of the file will be labeled "content". Here is a link to more information about File Properties.

该文件的构建操作属性将被标记为“内容”。这是指向有关文件属性的更多信息的链接。

alt text

替代文字