问题
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