惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
The GitHub Blog
The GitHub Blog
美团技术团队
Security Latest
Security Latest
The Cloudflare Blog
D
DataBreaches.Net
Microsoft Azure Blog
Microsoft Azure Blog
V
Visual Studio Blog
宝玉的分享
宝玉的分享
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
The Exploit Database - CXSecurity.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
W
WeLiveSecurity
P
Proofpoint News Feed
V
Vulnerabilities – Threatpost
Schneier on Security
Schneier on Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Security Affairs
腾讯CDC
H
Hacker News: Front Page
Microsoft Security Blog
Microsoft Security Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - 三生石上(FineUI控件)
C
Check Point Blog
S
Security @ Cisco Blogs
Google DeepMind News
Google DeepMind News
Cisco Talos Blog
Cisco Talos Blog
云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Security Archives - TechRepublic
Security Archives - TechRepublic
I
InfoQ
量子位
Apple Machine Learning Research
Apple Machine Learning Research
AWS News Blog
AWS News Blog
TaoSecurity Blog
TaoSecurity Blog
月光博客
月光博客
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
aimingoo的专栏
aimingoo的专栏
S
SegmentFault 最新的问题
A
Arctic Wolf
Hacker News: Ask HN
Hacker News: Ask HN
D
Docker
Hugging Face - Blog
Hugging Face - Blog
I
Intezer
雷峰网
雷峰网
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
SecWiki News
SecWiki News
N
News and Events Feed by Topic

博客园 - 两耳不闻窗外事、一心只做程序员

转发 关于Windows安装解压版MySQL出现服务正在启动-服务无法启动的问题 CentOS 安装 jdk1.8 转:MyBatis 日志打印 转:APP开发浅谈-Fiddler抓包详解 C#中用DateTime的ParseExact方法解析日期时间(excel中使用系统默认的日期格式) java程序中的乱码方案 转: 解决Setting property 'source' to 'org.eclipse.jst.jee.server的问题 转:Eclipse中web项目部署至Tomcat步骤 google chrome 浏览器去掉 XHR finished loading.... [转]AJAX POST请求中参数以form data和request payload形式在servlet中的获取方式 SpringMVC Controller接收前台ajax的GET或POST请求返回各种参数 下载Tomcat时Tomcat网站上的core和deployer的区别 vmware 修改IP 提示子网掩码错误~ android ImageView 中的ScaleType 导入 RecyclerView 控件 的过程(Android 6.0) Android RelativeLayout用到的一些重要的属性 Andriod中textview垂直水平居中及LinearLayout内组件的垂直布局 requestWindowFeature(Window.FEATURE_NO_TITLE)无效解决方法 使用VS2013逆向生成UML类图
vs文件属性(生成操作)各选项功能(发布Web项目时使用)
两耳不闻窗外事、一心只做程序员 · 2016-09-13 · via 博客园 - 两耳不闻窗外事、一心只做程序员

转自:http://www.cnblogs.com/paulhe/p/4490583.html

右击项目里的文件,选择属性(F4)会有【生成操作】的选项。

它提供了14项选择,如图:

在这说一下常用的选项:

1.编译

   编译用于c#代码类的操作,编译之后输出在该程序集的bin目录下。换句话说,代码类必须选择编译;

2.内容

 内容用于html,css,js,配置文件,图片等静态文件,发布之后原样输出;

3.无

 不进行任何编译操作,发布之后不会输出在目录下;

4.嵌入的资源

   嵌入的资源用于第三方资源的引用,如MyBatis,NHibernate。把该文件作为嵌入式引用,才能找到该文件。加个例子:

<sqlMap embedded="JCBJ.Moudle.Info.Repository.InfoMap.xml,JCBJ.Moudle.Info"/>