locked
Error Cannot resolve Assembly MediaCapture RRS feed

  • Question

  • I've made this Microsoft example. The C++ library successfully compiled. The problems start when I compile the application Windows RunTime. I have next error:

    Error   1   Cannot resolve Assembly or Windows Metadata file 'Windows.Media.winmd'  C:\...\MediaCapture.csproj  MediaCapture

    What's the problem? This is the official example of Microsoft, which should run without problems.

    • Moved by CoolDadTx Monday, February 25, 2013 6:26 PM WinRT related
    Monday, February 25, 2013 12:29 PM

Answers

  • Hello Max,

    I was able to successfully compile the C++ library and the C# store app here. I did run into one issue. There appears to be a type in the example documentation that says to add mfplatf.lib as an Additional Dependency in the C++ project but the correct file is mfplat.lib. Once I changed this, the projects compiled and ran fine. Recheck your references on the C# store app and make sure everything looks good there.

    Best Regards,

    Jimmie 

    • Proposed as answer by Jesse Jiang Thursday, February 28, 2013 6:01 AM
    • Marked as answer by Jesse Jiang Friday, March 1, 2013 5:55 AM
    Monday, February 25, 2013 10:26 PM

All replies

  • Hello Max,

    I was able to successfully compile the C++ library and the C# store app here. I did run into one issue. There appears to be a type in the example documentation that says to add mfplatf.lib as an Additional Dependency in the C++ project but the correct file is mfplat.lib. Once I changed this, the projects compiled and ran fine. Recheck your references on the C# store app and make sure everything looks good there.

    Best Regards,

    Jimmie 

    • Proposed as answer by Jesse Jiang Thursday, February 28, 2013 6:01 AM
    • Marked as answer by Jesse Jiang Friday, March 1, 2013 5:55 AM
    Monday, February 25, 2013 10:26 PM
  •  This example have bug. Because externel web camera can't find. I try connect from this example to 4 different USB web cameras, and programm show error screen:

    And settings is not null. Look screen


    Thursday, March 7, 2013 10:13 AM