Could not find SDK

So my PC’s OS HDD crashed the other day and I had to re install Windows 8.1

I’ve got everything back up and installed again (Thankfully I backup all my programming stuff on a cloud) but when I go to build my Corona Cards Windows 8 project I get the errors:

Error 1 Could not find SDK “CoronaLabs.Corona.Framework, Version=14.0.2468.0”.

Warning 2 The referenced component ‘Corona Framework’ could not be found.

I’m guessing this has something to do with me needing to reinstall Corona. But i’m not sure how to fix it.

It sounds like your .vsix file didn’t get re-installed.  Please review the Windows Phone installation guide:  http://docs.coronalabs.com/coronacards/wp8/install.html

and assure you hit all the steps there.

Rob

Hi Rob,

I did do those steps. I even uninstall the extension and reinstalled just to be sure but i’m still getting the same error.

*EDIT*

So I just made a new blank “Hello World” project and that worked perfectly. What would be missing from my current project to be giving this error?

Okay I fixed it!

I when into the solution explorer/References and removed the Corona Framework Reference. Then I right Clicked References and Added a new Corona Framework reference back and that did the trick!

I think it was because I had to reinstall Corona and I might have put it in a different place that the path got broken. 

Your project for that windows snapshot/backup was most likely referencing an older version of the Corona SDK in Visual Studio.  When you add a reference to a library (such as Corona) within Visual Studio, the project links to a specific version of that library.  You can see the version it wants to link against in Visual Studio’s “Properties” panel when you have the library reference selected in the Solution panel.  You just need to point your Visual Studio project to a different version of the library (like you did) according to the instructions here…

   http://docs.coronalabs.com/coronacards/wp8/upgrade.html

Also note that this is how it works for all 3rd party libraries.  It’s a Visual Studio thing.  You’ll get used to it once you realize what it’s trying to do.  :slight_smile:

It sounds like your .vsix file didn’t get re-installed.  Please review the Windows Phone installation guide:  http://docs.coronalabs.com/coronacards/wp8/install.html

and assure you hit all the steps there.

Rob

Hi Rob,

I did do those steps. I even uninstall the extension and reinstalled just to be sure but i’m still getting the same error.

*EDIT*

So I just made a new blank “Hello World” project and that worked perfectly. What would be missing from my current project to be giving this error?

Okay I fixed it!

I when into the solution explorer/References and removed the Corona Framework Reference. Then I right Clicked References and Added a new Corona Framework reference back and that did the trick!

I think it was because I had to reinstall Corona and I might have put it in a different place that the path got broken. 

Your project for that windows snapshot/backup was most likely referencing an older version of the Corona SDK in Visual Studio.  When you add a reference to a library (such as Corona) within Visual Studio, the project links to a specific version of that library.  You can see the version it wants to link against in Visual Studio’s “Properties” panel when you have the library reference selected in the Solution panel.  You just need to point your Visual Studio project to a different version of the library (like you did) according to the instructions here…

   http://docs.coronalabs.com/coronacards/wp8/upgrade.html

Also note that this is how it works for all 3rd party libraries.  It’s a Visual Studio thing.  You’ll get used to it once you realize what it’s trying to do.  :slight_smile: