microsoft / windows-dev-center-vsts-extension

Visual Studio Team Services (VSTS) extension for performing continuous delivery to the Windows Dev Center store from your automated CI builds
Other
42 stars 18 forks source link

Unhandled: EISDIR: illegal operation on a directory, read #33

Closed Odonno closed 6 years ago

Odonno commented 7 years ago

image

zurdev commented 7 years ago

There seems to be an issue creating the zip file for the flight submission. From the error it looks like the agent executing the task doesn't have read access to the packages you're trying to publish. Could you enable debug output, by adding variable system.debug equals to true in your release/build definition and share your log after repro? Sorry for the inconvenience.

Odonno commented 7 years ago

Of course. By the way, the current version of the package in the Store is 0.1.0.0 and the build version that I want to upload is 0.1.36.0

sans titre

zurdev commented 7 years ago

The package path should resolve to a full path to appxbundle file, the debug print indicates that your package path is d:/a/1/s, which is a folder not a file.

Odonno commented 7 years ago

@zurdev I thought there was an automatic detection of the appxbundle. I'll change the path and see if it works.

zurdev commented 7 years ago

You could use minimatch pattern in the package path, e.g. $(Agent.ReleaseDirectory)/*/.appxbundle

Odonno commented 7 years ago

Ok, I have a different error now.

Errors occurred in request
    [InvalidParameterValue]  Package acceptance validation error: You cannot submit pre-compiled .NET Native packages. Please upload the Store appxupload file and try again. http://go.microsoft.com/fwlink/?LinkId=797528
Submission status for "***********" failed with CommitFailed
Reported errors: 
InvalidParameterValue: Package acceptance validation error: You cannot submit pre-compiled .NET Native packages. Please upload the Store appxupload file and try again. http://go.microsoft.com/fwlink/?LinkId=797528
Error: Commit failed
    at d:\a\_tasks\store

Did I miss something?

zurdev commented 7 years ago

If that's your first submission to the store, it should be done from Dev Center, see extension prerequisites. The pre-compiled .NET Native packages could be the result of your build configuration in Visual Studio. Checkout this post on how to disable .NET Native complication tool chain.

Odonno commented 7 years ago

I tried the other extension (https://marketplace.visualstudio.com/items?itemName=davesmits.windows-store-automation) and it worked fine. I don't know why. The only thing that change is that they use appxupload instead of appxbundle.

zurdev commented 7 years ago

Glad you were able to find a workaround. For troubleshooting the appxbundle validation error, we will need more information:

  1. How do you package your appxupload? using Visual Studio or manually creating the zip file?
  2. Does your appxupload contain the same appxbundle you were trying to publish with this extension? if not, what's included in your appxupload? (you can view the appxupload content by appending .zip extension to file name)

If you'll send us your sellerid, bigid of your app, and the submission id of the failed submission, we might be able to provide you with insights on this error. You can email us directly at wdcrsppt@microsoft.com

elendil326 commented 6 years ago

Closing due to issue being too old. @Odonno, feel free to reopen the issue if you are still having issues.