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

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
P
Privacy International News Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Troy Hunt's Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
Attack and Defense Labs
Attack and Defense Labs
S
Secure Thoughts
V2EX - 技术
V2EX - 技术
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
O
OpenAI News
Cloudbric
Cloudbric
Google Online Security Blog
Google Online Security Blog
Schneier on Security
Schneier on Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Help Net Security
Help Net Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
L
Lohrmann on Cybersecurity
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Spread Privacy
Spread Privacy
NISL@THU
NISL@THU
N
News and Events Feed by Topic
T
Tenable Blog
S
Security @ Cisco Blogs
N
News and Events Feed by Topic
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
宝玉的分享
宝玉的分享
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google DeepMind News
Google DeepMind News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
V
Visual Studio Blog
P
Proofpoint News Feed
Webroot Blog
Webroot Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 三生石上(FineUI控件)
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Jina AI
Jina AI
雷峰网
雷峰网
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
L
LangChain Blog
The Register - Security
The Register - Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东

博客园 - 周克

te 关于博客园是否可以开展培训业务的几点思考 - 周克 - 博客园 【收集】Web开发工具 感情 程序 祭 Linq本质论(1) WinForm自动菜单合并 .Net开源控件 Client Settings FAQ .Net学习课件 WinFX更名为 .NET Framework 3.0. BindingSource.AddingNew事件可以给新增数据设置需要的值 可恶的AutoSizeColumnMode和DataError 介绍一个可以读取保存在程序集里面的图片资源的小工具 vs2005强类型主从表加上级联约束后无法添加从表数据 MSDN中文资料库WWF链接(updating...) 在WinForm中使用Membership WWF动态加载xoml文件 固定Asp.net2.0 Web项目的动态端口号 深圳.Net俱乐部2.26活动资源下载之——从SmartClient到ClickOnce
ClickOnce 部署多语言程序需要注意的地方
周克 · 2006-08-14 · via 博客园 - 周克

You can download your culture specific resources with ClickOnce.  There are a couple of ways to do this using Visual Studio.

1. Set 'Publish Language' property to 'English' or 'English (United States)' on the Publish Options Dialog.  The Publish Options dialog is available by clicking the button labeled 'Options...' on the Publish Property Page.  This will automatically deploy any resource files for the specified culture.  If you choose 'English' (the parent culture), then en and en-US, etc. resources will be deployed.  If you choose 'English (United States)' then only the en-Us resources will be deployed. 

When setting the Publish Language, the deployment culture is also set, which is a part of the application identity.  If you publish the same application to the same location and change the culture of the deployment manifest, some funky things will happen with the auto-update part of ClickOnce.  If you would like to deploy several resources (not all under the same parent culture), I suggest using method #2.

2.  Manually include the resource dlls to be deployed.  To do this, first open the Application Files Dialog.  The Applications Files Dialog is available by clicking the button labeled 'Application Files...' on the Publish Property Page.  Click the checkbox labeled 'Show all files'.  All the resource dlls for the project should now be seen and they will all have the Publish Status of 'Exclude (Auto)'.  Simply change the Publish Status of each resource dll you wish to deploy to 'Include'.  (You can multi-select rows and use the context menu to make this job easier.