Sharing assembly code between WPF, Silverlight and Windows Phone: quite impractical for big projects !

烈酒焚心 提交于 2019-12-23 05:29:27

问题


It is said here:

http://blogs.msdn.com/b/mikeormond/archive/2010/12/09/writing-cross-platform-xaml-applications.aspx

Within Visual Studio, if you add files to the project via “Add Existing Item”, and select the “Add As Link” option you can work on the same file from multiple projects.

Oh my I'm on a project which have multiple countries, brands, components layers and each time I will add a file you want me to "Add as Link" ? This is a nightmare maintenance !

Is there any other solutions ?


回答1:


How about making a new assembly (or a few) out of the shared things and referencing them from all your projects, instead of adding the files themselves as links?



来源:https://stackoverflow.com/questions/4848487/sharing-assembly-code-between-wpf-silverlight-and-windows-phone-quite-impracti

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!