locked
Error: Dep1560: Failed to read manifest file. It may need to be regenerated. Could not find a part of the path

    Question

  • I am attempting to download and run an App from Skydrive shared to me by my Dev in Win8.  It builds fine in VS2012. However, I get the following error when I attempt to deploy it.


    Error 2 Error : DEP1560 : Failed to read manifest file "C:\Users\<Dev Alias>\Documents\Visual Studio 2012\Projects\App1\Debug\App1\AppxManifest.xml". It may need to be regenerated. 
    Could not find a part of the path 'C:\Users\<Dev Alias>\Documents\Visual Studio 2012\Projects\App1\Debug\App1\AppxManifest.xml'. App1


    My App is in the D drive. There is no "Users" folder in C drive. 

    I tried following the suggestions listed here - http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/26b94553-ac87-4450-84ed-34daa1e706d0

    1. I excluded the "temporaryKey.pfx" from the project

    2. Built the project

    3. Included the "temporaryKey.pfx" from the project

    However, I continue to get the same error when attempting to deploy it. 

    I would appreciate any suggestions on what's causing the error.

    Thanks!

    Wednesday, April 17, 2013 7:40 PM

Answers

  • Is there an app with the same name on the deploy target? If so, then uninstall it and try deploying again.
    • Marked as answer by Jay_Hawk Wednesday, April 17, 2013 10:46 PM
    Wednesday, April 17, 2013 9:00 PM

All replies

  • Is there an app with the same name on the deploy target? If so, then uninstall it and try deploying again.
    • Marked as answer by Jay_Hawk Wednesday, April 17, 2013 10:46 PM
    Wednesday, April 17, 2013 9:00 PM
  • That worked for me. Thank you!
    Wednesday, April 17, 2013 10:46 PM
  • Right Click the start up project. Click on Clean and then click on Rebuild. Now the deploy should work properly.
    Wednesday, October 23, 2013 9:03 AM
  • Solution for me. Delete folder bin/Debug and rebuild. 
    Tuesday, October 28, 2014 5:01 PM
  • Worked like a charm!

    Nitesh.
    .Net |SharePoint Consultant
    http://www.niteshluharuka.com

    Thursday, November 27, 2014 11:25 AM