Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

e_FAIL 0x80004005
Started by Appoet Nov 29 2014 08:19 AM

10 replies to this topic
[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

Appoet

[GLOBAL: userInfoPane.html]
Appoet
  • Observer

  • 28 posts
  • Enterprise

Whenever I try to create a new project in visual studio I get e_FAIL 0x80004005. I have no idea whats wrong.

 

Has anyone encountered this?

 

Thanks.



[TOPIC: post.html]
#2

Joshua Quick

[GLOBAL: userInfoPane.html]
Joshua Quick
  • Moderator

  • 3,397 posts
  • Corona Staff

You appear to be running into a bug in Visual Studio...

   https://connect.microsoft.com/VisualStudio/feedback/details/810573/exception-from-hresult-0x80004005-e-fail

 

I've never ran into this before.  Developers reporting the issue in the link above think this is happening because their "Documents" directory is encrypted.  Once they remove encryption from that folder, then the problem is solved.  If in fact that is what's happening to you.

 

When you click "New Project", are you able to create a normal WP8 C# project?



[TOPIC: post.html]
#3

Appoet

[GLOBAL: userInfoPane.html]
Appoet
  • Observer

  • 28 posts
  • Enterprise

I haven't gotten it working yet but it looks like I didn't have the windows phone sdk (nor the 64bit version) of windows installed. Once I correct these things I'll post if that was the fix.



[TOPIC: post.html]
#4

Joshua Quick

[GLOBAL: userInfoPane.html]
Joshua Quick
  • Moderator

  • 3,397 posts
  • Corona Staff

Just curious.  Which version of Visual Studio are you using?



[TOPIC: post.html]
#5

Appoet

[GLOBAL: userInfoPane.html]
Appoet
  • Observer

  • 28 posts
  • Enterprise

I tried all of them, none worked. I'll probably use pro once I reinstall. 



[TOPIC: post.html]
#6

Joshua Quick

[GLOBAL: userInfoPane.html]
Joshua Quick
  • Moderator

  • 3,397 posts
  • Corona Staff

I'm concerned that you're running into a different problem because our WP8 CoronaCards extension (the *.vsix file) should refuse to install if none of your Visual Studio applications include the WP8 tools.  So, if it is installing, then something else must be going wrong with Visual Studio.  Perhaps something got corrupted?  I'm not sure because I haven't heard of any other Corona developers running into this problem before.  But from the link I posted above, native Windows developers sometimes run into this.

 

If your company makes less than $1 million a year, then you qualify for Microsoft's free Visual Studio Community 2013 product.  At this point, we're recommending that version of Visual Studio over the free Express editions to indie developers.  And as far as I can tell, the Community edition provides the same feature set as the Pro edition.  Just make sure to tick the WP8 tools checkbox at the beginning of the Visual Studio installation, which applies to the Pro edition as well.



[TOPIC: post.html]
#7

Appoet

[GLOBAL: userInfoPane.html]
Appoet
  • Observer

  • 28 posts
  • Enterprise

I got it, it was the wrong version of (32bit) of windows. We would quality for the community product. Thanks.



[TOPIC: post.html]
#8

Appoet

[GLOBAL: userInfoPane.html]
Appoet
  • Observer

  • 28 posts
  • Enterprise

So I was able to get it running but whenever I pasted my app's files into the corona directory I couldn't get visual studio to recognize them. Am I missing a step?

 

Thanks.



[TOPIC: post.html]
#9

Joshua Quick

[GLOBAL: userInfoPane.html]
Joshua Quick
  • Moderator

  • 3,397 posts
  • Corona Staff

I think some of your asset files's "Build Action" are not being set to "Content".  This tells Visual Studio to include your asset files within the app bundle.  Have a look at steps 5 and 6 here...

   http://docs.coronalabs.com/daily/coronacards/wp8/portapp.html#copying-project-files

 

Note that you have to copy your files into your Visual Studio project's "Assets\Corona" folder within the "Solution Explorer" panel, as documented above.  You can't simply copy them to the folder within your project's folder in Windows Explorer.  This is because you have to configure your Visual Studio project to explicitly include each of your files.



[TOPIC: post.html]
#10

Appoet

[GLOBAL: userInfoPane.html]
Appoet
  • Observer

  • 28 posts
  • Enterprise

I missed that part. Thanks!



[TOPIC: post.html]
#11

Joshua Quick

[GLOBAL: userInfoPane.html]
Joshua Quick
  • Moderator

  • 3,397 posts
  • Corona Staff

Great!  Happy to help!




[topic_controls]
[/topic_controls]