Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

The Project file Cannot be opened
Started by adnan.muhib Aug 31 2016 10:18 PM

7 replies to this topic
visual studio 2015 community version enterprise version corona project cannot be open

Best Answer Joshua Quick , 02 September 2016 - 04:45 PM

The "C089C8C0-30E0-4E22-80C0-CE093F111A43" you see in your error message is a GUID (aka: Gloybally Unique Identifier) referencing Visual Studio's "Windows Phone 8 C#" SDK.  That is what's missing from your Visual Studio installation.  And this would prevent you from creating a "Windows Phone Silverlight" project via Microsoft's project templates too.

 

To confirm, try the following:

  1. Click Visual Studio's "File\New\Project" menu item.
  2. In the "New Project" dialog, select the "Installed" tab on the left.
  3. Select "Templates\Visual C#\Windows\Windows 8\Windows Phone" in the tree on the left. (Under Installed.)
  4. Click on "Blank App (Windows Phone Silverlight)" from the middle list.
  5. Click the OK button to create the project.

If the Windows Phone 8 SDK is missing from your Visual Studio installation, the above will fail to generate a project... or perhaps not be listed.  I'm pretty sure this is the issue that you're facing.  For Visual Studio 2015, the feature you want to check-on during installation is "Windows 8.1 and Windows Phone 8.0/8.1 Tools".  If it's already checked then try unchecking it, update the installation, then check it on again, and update the installation again.  My thinking is that Visual Studio might *think* it's installed, but it's not since you're seeing this error.

[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

adnan.muhib

[GLOBAL: userInfoPane.html]
adnan.muhib
  • Observer

  • 5 posts
  • Corona SDK

I installed corona cards build 2879 on visual studio 2015 community version as well as Enterprise version
But whenever I tried to create a new project from visual c# template of corona sdk I got the following error:

visual studio error.JPG

 

"The Project File (Directory) cannot be opened.
and some error of project missing subtype."
I updated the visual studio to latest version but still got the same issue.

Operating System Windows 10 pro with latest update.

.netFramework 4.6

I tried to :
1. repair the visual studio installation.
2. uninstall and reinstall the corona cards extension from Visual Studio.
3. install corona cards from daily builds latest version

but got same error again and Again.

 

Attached Files



[TOPIC: post.html]
#2

Joshua Quick

[GLOBAL: userInfoPane.html]
Joshua Quick
  • Moderator

  • 3,397 posts
  • Corona Staff

It's an installation issue.  For whatever reason, the Visual Studio extension is not fully installed.  I'm thinking when you unzipped our CoronaCards extension, it wasn't fully unzipped.  There is an "unblock" option that you have to check on the zip file's Properties window to allow the Windows OS to unzip *all* of its content.  This is typically only an issue when unzipping via the Windows' OS and from the Internet.

 

Try this:

1) Uninstall the CoronaCards extension according to our instructions here.

   https://docs.coronalabs.com/coronacards/wp8/uninstall.html

2) Download the newest CoronaCards daily build from here...

   https://developer.coronalabs.com/downloads/daily-builds/

3) Right click on the downloaded zip file.

4) Click on Properties from the popup menu.

5) Go to the "General" tab.

6) Click the Unblock button. (Or check the Unblock checkbox on Windows 10).

7) Click the OK button.

8) Unzip the CoronaCards zip file.

9) Make sure all Visual Studio windows are closed.

10) Install the CoronaCards extension.



[TOPIC: post.html]
#3

adnan.muhib

[GLOBAL: userInfoPane.html]
adnan.muhib
  • Observer

  • 5 posts
  • Corona SDK

I found no check box or unblock button in the properties window of that zip file , I tried to open with both windows explorer as well as winrar but found no option of block or unblock. And i am sure all of its contents were extracted successfully , otherwise installation of corona cards might be unsuccessful. but it went well and no error during the installation of extension.



[TOPIC: post.html]
#4

Joshua Quick

[GLOBAL: userInfoPane.html]
Joshua Quick
  • Moderator

  • 3,397 posts
  • Corona Staff

The Unblock button/checkbox only appears on files that need unblocking (freshly downloaded from the Internet).  If you don't see this option, then that's not the issue.

 

And are you sure you have Windows Phone Silverlight installed in Visual Studio?  That's a checkbox option that you usually see during the installation of Microsoft Visual Studio.  You can re-run this process by going to your "Add/Remove Programs" window, selecting Visual Studio in the installed app list, and clicking the Modify button.  Normally, you cannot install a WP8 Visual Studio extension if you don't have the WP8 framework installed (it would block you), but there is clearly something wrong with your system's Visual Studio installation.



[TOPIC: post.html]
#5

adnan.muhib

[GLOBAL: userInfoPane.html]
adnan.muhib
  • Observer

  • 5 posts
  • Corona SDK

I have installed Windows Phone Silverlight by following the above mentioned procedure but still in vain. There is no error with the installation of Visual Studio because other templates are working fine except corona sdk.
I have tried on both 2013 and 2015 version of Visual Studio but getting the same error.
If you feel it is not error in Corona Extension then Kindly refer this issue to Microsoft.
Should I submit this issue to Visual Studio Forums?.



[TOPIC: post.html]
#6

adnan.muhib

[GLOBAL: userInfoPane.html]
adnan.muhib
  • Observer

  • 5 posts
  • Corona SDK

Final Screen after repairing setup of Visual Studio
 

Capture1.JPG

 

Attached Files



[TOPIC: post.html]
#7

Joshua Quick

[GLOBAL: userInfoPane.html]
Joshua Quick
  • Moderator

  • 3,397 posts
  • Corona Staff

  Best Answer

The "C089C8C0-30E0-4E22-80C0-CE093F111A43" you see in your error message is a GUID (aka: Gloybally Unique Identifier) referencing Visual Studio's "Windows Phone 8 C#" SDK.  That is what's missing from your Visual Studio installation.  And this would prevent you from creating a "Windows Phone Silverlight" project via Microsoft's project templates too.

 

To confirm, try the following:

  1. Click Visual Studio's "File\New\Project" menu item.
  2. In the "New Project" dialog, select the "Installed" tab on the left.
  3. Select "Templates\Visual C#\Windows\Windows 8\Windows Phone" in the tree on the left. (Under Installed.)
  4. Click on "Blank App (Windows Phone Silverlight)" from the middle list.
  5. Click the OK button to create the project.

If the Windows Phone 8 SDK is missing from your Visual Studio installation, the above will fail to generate a project... or perhaps not be listed.  I'm pretty sure this is the issue that you're facing.  For Visual Studio 2015, the feature you want to check-on during installation is "Windows 8.1 and Windows Phone 8.0/8.1 Tools".  If it's already checked then try unchecking it, update the installation, then check it on again, and update the installation again.  My thinking is that Visual Studio might *think* it's installed, but it's not since you're seeing this error.



[TOPIC: post.html]
#8

adnan.muhib

[GLOBAL: userInfoPane.html]
adnan.muhib
  • Observer

  • 5 posts
  • Corona SDK

Thank you very much problem Solved
every thing was fine without "Windows 8.1 and Windows Phone 8.0/8.1 Tools"
I just updated visual studio to install these tools and finally it worked.




[topic_controls]
[/topic_controls]