Windows 8 Customer Preview Assembly Reference Errors
-
Thursday, March 08, 2012 3:27 AM
I was working on a *very* rudimentary Direct2D game that was based off of http://code.msdn.microsoft.com/windowsapps/Direct2D-Basic-Animation-d0a5a4d1. The "game" *was* compiling and running with no errors until I upgraded to Windows 8 Consumer Preview.
Now that I am on Windows 8 Consumer Preview, I am getting a bunch of errors like this again: Could not locate the assembly "Windows.Applicationmodel.Activation.winmd"
It's like I am suddenly dealing with http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/0128d9a7-39c4-410b-9471-7e7fc9574623 all over again.
Figuring I just needed the Windows 8 SDK, I first tried installing the stand alone SDK http://msdn.microsoft.com/windows/desktop/hh852363
on top of Visual Studio 11 Beta http://www.microsoft.com/visualstudio/11/en-us but after that I still got the errors. So finally, I decided to reformat and reinstall Windows 8 Consumer Preview and install Visual Studio 11 Express which is supposed to come with the Windows 8 SDK, but even after doing that I am still getting these assembly referencing errors.
Is there something I need to do to my Windows 8 Consumer Preview machine to get it to compile DirectX Metro programs or do I need to go back to Windows 8 Developer Preview?
Confused,
Shawn
- Edited by Shawn Eary Thursday, March 08, 2012 3:31 AM
All Replies
-
Thursday, March 08, 2012 5:18 AMModerator
You should be fine with the Consumer Preview and the VS11 Beta.
Did you update your project to the Consumer Preview as documented in the //build to Windows 8 Consumer Preview migration guide?
Can you build and run the new (updated) version of that sample cleanly?
--Rob
- Marked As Answer by Shawn Eary Friday, March 09, 2012 4:20 AM
-
Friday, March 09, 2012 4:20 AM
Did you update your project to the Consumer Preview as documented in the //build to Windows 8 Consumer Preview migration guide?
Oops!!! - I didn't even know that document existed. :-|Can you build and run the new (updated) version of that sample cleanly?
Yes. The updated version of http://code.msdn.microsoft.com/windowsapps/Direct2D-Basic-Animation-d0a5a4d1 compiles without issue (even with my old video card which uses old DX drivers).
Thanks for the help Mr. Caplan. It shouldn't take long for me to copy my old code into the framework provided by Microsoft's new and updated sample.
I guess I should have thought about getting the latest sample before whining here.
With Appreciation,
Shawn
I look forward to what Microsoft will bring us all in the near future.- Edited by Shawn Eary Friday, March 09, 2012 4:23 AM


