locked
Error while creating new Windows Store Application RRS feed

  • Question

  • Hello,

    We have setup a new Windows 8 system with VS 2012 Professional and I created new application as Visual Studio C# => Windows Store => Blank App (XAML). Without making any changes when I try to run the project getting following errors:

    Error    1    Cannot resolve Windows Metadata    c:\users\a348675\documents\visual studio 2012\Projects\MyNewApp\MyNewApp\MyNewApp.csproj    MyNewApp

    Error    2    'MyNewApp.App' does not contain a definition for 'InitializeComponent' and no extension method 'InitializeComponent' accepting a first argument of type 'MyNewApp.App' could be found (are you missing a using directive or an assembly reference?)    c:\users\a348675\documents\visual studio 2012\Projects\MyNewApp\MyNewApp\App.xaml.cs    32    18    MyNewApp

    Wednesday, December 11, 2013 5:55 AM

All replies

  • This sounds like Visual Studio installation issue. Can you please upload a test project that gives error, on SkyDrive and share it with me?

    -Sagar

    Wednesday, December 11, 2013 12:15 PM