Resources in a winrt component dll


  • Hello everybody,

    My problem is the following. I have a winrt c# application, linked to a winmd/dll. (two different solutions .sln)

    The dll is a winrt component written in c++/cx. I want to embed some png files and access it in the dll. I tried the following.

    Put the png in the solution explorer.

    And, just iterate through the resources with

    auto mainMap = ResourceManager::Current->MainResourceMap;
    for each (auto item in mainMap)
    	auto key_ = item->Key->Data();

    But my image resources are missing.

    Could you explain me what's wrong ?


    Thursday, June 20, 2013 1:51 PM