Hi,
I am using Windows Consumer Preview and Visual Studio 11 Beta. When I created a metro style application in C#, I add reference PortableDeviceApi.dll in c:\windows\system32. And I encountered a error "Interop type 'PortableDeviceApiLib.PortableDeviceClass'
cannot be embedded. Use the applicable interface instead". After surfing the internet, I found that I have to change the reference embed interop types property to false. But I also found that I cannot do that in the metro project. It's unselectable(I can do
the same action in normal Windows project but not metro project). So I wonder is this the limitation or I have another way to solve this error.
Thanks!