WPF Build Action
None: The file is not included in the project output group and is not compiled in the build process. An example is a text file that contains documentation, such as a Readme file.
Compile: The file is compiled into the build output. This setting is used for code files.
Content: Allows you to retrieve a file (in same directory as the assembly) as a stream via Application.GetContentStream(URI). For this method to work, it needs a AssemblyAssociatedContentFile custom attribute which Visual Studio graciously adds when you mark a file as "Content"
Embedded resource: embeds the file in an exclusive assembly manifest resource.
Resource (WPF only): embeds the file in a shared (by all files in the assembly with similar setting) assembly manifest resource named AppName.g.resources.
Page (WPF only): Used to compile a
xaml
file intobaml
. Thebaml
is then embedded with the same technique asResource
(i.e. available as `AppName.g.resources)ApplicationDefinition (WPF only): Mark the XAML/class file that defines your application. You specify the code-behind with the x:Class="Namespace.ClassName" and set the startup form/page with StartupUri="Window1.xaml"
SplashScreen (WPF only): An image that is marked as
SplashScreen
is shown automatically when an WPF application loads, and then fadesDesignData: Compiles XAML viewmodels so that usercontrols can be previewed with sample data in Visual Studio (uses mock types)
DesignDataWithDesignTimeCreatableTypes: Compiles XAML viewmodels so that usercontrols can be previewed with sample data in Visual Studio (uses actual types)
EntityDeploy: (Entity Framework): used to deploy the Entity Framework artifacts
CodeAnalysisDictionary: A XML file containing custom word dictionary for spelling rules
最新文章
- 去掉tableview cell的左边间隙问题
- 黄聪: Bootstrap之Form表单验证神器: BootstrapValidator(转)
- 实验12:Problem F: 求平均年龄
- display模版详细介绍
- linux之磁盘配额(quota)
- Java中的类加载器以及Tomcat的类加载机制
- CF339
- 第六周 G题
- log4net自定义扩展及配置说明
- STL的一些泛型算法
- 基于Spring-WS的Restful API的集成测试
- [国嵌笔记][024][ARM汇编编程概述]
- Web原理
- Git使用注意事项
- 灰度图Matlab
- python---集合及深浅copy
- [LeetCode&;Python] Problem 100. Same Tree
- maven搭建ssm初级框架
- ZOJ 3981 &;&; 2017CCPC秦皇岛 A:Balloon Robot(思维题)
- Android 自定义View-字母索引表(一)