开发者

WPF Architecture & Creating Unique Builds

I haven't figured out the correct programming architecture for: -WPF Application -Each build will be unique for each开发者_如何学Go customer -There will be unique variables for each customer in both code and the app.config file -Ideally, there will also be unique deployment URLs for each customer

What is the best way to build the project file given this scenario? Im using VS 2008 Pro. I can create all of the above and use ClickOnce for deployment, but its the unique variables for each customer that I need help with.


It's not 100% exactly what I need, but it's close. This article has an explanation of how to work with multiple config files and assign one during the pre-build process. It still doesn't allow me to set pieces of code like I would like, but it's almost close enough: http://www.hanselman.com/blog/ManagingMultipleConfigurationFileEnvironmentsWithPreBuildEvents.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜