然后,将功能区项的代码文件复制到一个类库项目中;
Then, copy the Ribbon code files to a class library project.
我解释的大部分概念也将适用于在类库dll中使用资源文件。
Most of the concepts I explain will apply to using resource files in a class library DLL as well.
理想情况下你的应用程序在生产环境中运行时可以只用那些类文件,而不是预编译每个库中的每个文件(假设运行时会用到所有文件)。
Then ideally you can ship just those classes, rather than precompiling every file in every library (assuming your run touches all files actually needed when the app runs in production.
应用推荐