An error of building MoFx2App sample RRS feed

  • Question

  • Hi Everyone,


    When I build the MoFx2App sample, it shows the following error message,"1>midlrt : command line error MIDL1001: cannot open input file IvectorChangedEventArgs.idl".


    It seems that I miss the IVectorChangedEventArgs.idl file. But I don't find that file in the directory,"\Windows Kits\8.0\Include\winrt".

    Where can I download it or how can i resolve this issue?




    Best wishes.

    Tuesday, January 31, 2012 7:24 AM

All replies

  • Hi Carl,

    It looks like you messed up the project some how.  Try downloading it again and building it.  That file does not exist in the directory you specified and when I build the project it never tries to include or build it.

    You are using the Developer Preview with the pre-installed VS Express right?



    Jeff Sanders (MSFT)
    Tuesday, January 31, 2012 2:32 PM
  • Hi jpsanders,


    Thanks for your response.

    >Try downloading it again and building it. 

    I'm about to downloading it and rebuilding it again.


    >You are using the Developer Preview with the pre-installed VS Express right?

    Yes. Any problem with that issue?



    Best wishes.


    Wednesday, February 1, 2012 2:32 AM
  • Hi Carl,

    How did it go once you downloaded the project fresh?  No there are no problems, just wanted to make sure you were not doing something silly like trying to build it on XP or something :-)


    Jeff Sanders (MSFT)
    Wednesday, February 1, 2012 1:20 PM
  • Hi Jeff Sanders,


    Sorry for my late reply.


    I downloaded it again and builded it. But the same issue is still existence. Now I'm reinstalling my OS and VS and then I will try it again.


    Thanks a lot,


    Best wishes.

    Thursday, February 2, 2012 12:29 AM