Is it possible to use a portable library with localized resources in a Universal app?

前端 未结 6 1167
夕颜
夕颜 2021-02-04 12:08

(There\'s a link at the bottom to a solution with repro of the problem.)

I\'ve been using a portable library with .resx resources for quite some time as it worked for bo

6条回答
  •  感动是毒
    2021-02-04 12:21

    You can have .resx files in pcls, you just have to use the workaround explained on http://blogs.msdn.com/b/philliphoff/archive/2014/11/19/missingmanifestresourceexception-when-using-portable-class-libraries-in-winrt.aspx

    Even with the latest VS 2013 (update 5) the mdil error will appear when trying to deploy Release packages.

    MdilXapCompile.exe failed with error code 1004

    To work around it you must compile your app using the store option and then use the Application Deployment tool to actually deploy it to the device.

提交回复
热议问题