简体   繁体   English

在WPF,Silverlight和Windows Phone之间共享汇编代码:对于大型项目而言,这是不切实际的!

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

It is said here: 这里说:

http://blogs.msdn.com/b/mikeormond/archive/2010/12/09/writing-cross-platform-xaml-applications.aspx 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. 在Visual Studio中,如果通过“添加现有项”将文件添加到项目中,然后选择“添加为链接”选项,则可以处理多个项目中的同一文件。

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 ? 还有其他解决方案吗?

如何从共享的东西中创建一个新的程序集(或几个)并从所有项目中引用它们,而不是将文件本身添加为链接?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM