![]() If you compile directly against the implementation assembly, you might inadvertently use API members that aren't available in the earlier version. Suppose, you have only the latest version of some library on your machine, but you want to build a program that targets an earlier version of that library. ![]() Using a reference assembly enables developers to build programs that target a specific library version without having the full implementation assembly for that version. Reference assemblies are usually distributed with the Software Development Kit (SDK) of a particular platform or library. Reference assemblies can't be loaded for execution, but they can be passed as compiler input in the same way as implementation assemblies. In contrast, regular assemblies are called implementation assemblies. They include declarations for all members that are significant when referencing an assembly in build tools, but exclude all member implementations and declarations of private members that have no observable impact on their API contract. ![]() Reference assemblies are a special type of assembly that contain only the minimum amount of metadata required to represent the library's public API surface.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |