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

推荐订阅源

aimingoo的专栏
aimingoo的专栏
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Blog — PlanetScale
Blog — PlanetScale
博客园 - Franky
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Tailwind CSS Blog
博客园 - 三生石上(FineUI控件)
Apple Machine Learning Research
Apple Machine Learning Research
D
Docker
Google DeepMind News
Google DeepMind News
GbyAI
GbyAI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Proofpoint News Feed
N
Netflix TechBlog - Medium
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Engineering at Meta
Engineering at Meta
H
Help Net Security
B
Blog
宝玉的分享
宝玉的分享

博客园 - 周克

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.