build.py...
/home/kostr/tiano/edk2/UefiLessonsPkg/UefiLessonsPkg.dsc(...): error 1001: Module type [UEFI_APPLICATION] is not supported by library instance [/home/kostr/tiano/edk2/UefiLessonsPkg/Library/SimpleLibrary/SimpleLibrary.inf]
consumed by [/home/kostr/tiano/edk2/UefiLessonsPkg/<path to your app inf file>]
[Defines]
INF_VERSION = 1.25
BASE_NAME = SimpleLibraryUser
FILE_GUID = 22a1f57c-21ca-4011-9133-e3df0d01dace
MODULE_TYPE = UEFI_APPLICATION
VERSION_STRING = 1.0
ENTRY_POINT = UefiMain
[Sources]
SimpleLibraryUser.c
[Packages]
MdePkg/MdePkg.dec
UefiLessonsPkg/UefiLessonsPkg.dec <--- we need to include this for the same reason as in library INF file (for the header search)
[LibraryClasses]
UefiApplicationEntryPoint
UefiLib
SimpleLibrary <--- library is included as usual