I have a Windows Phone 8.1 solution with the following projects:
- MainApplication (for the application itself)
- Portable Class Library (PCL) (for some useful methods and whatnot)
- Windows Runtime Component (WinRT) (for Background Tasks)
I'm trying to compile the PCL and WinRT to a .nuget Package, and I know I can do that with the PCL, however, I'm missing something in the WinRT.
To test it manually, I'm removing projects from the solution and adding their build as reference, i.e., the PCL produces a .dll file that I'll add to my MainApplication as a reference. The problem here is that the WinRT does not produce a .dll, but a .winmd file instead. The thing here is that I don't know how to add that file to my PCL as a reference.
To sum it all up, how can I add, as reference, the result of a WinRT project build? Is it the .winmd file or some other?