无法为商店提交构建app pkg - “无法删除目录” [英] Can't build app pkg for store submission - "unable to remove directory"

查看:86
本文介绍了无法为商店提交构建app pkg - “无法删除目录”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在尝试使用相同代码库的2台不同的计算机。当我去Project |商店|创建应用程序包...并逐步完成它开始构建应用程序的位置(与现有应用程序相关联)我最终遇到了:

I've tried on 2 different computers now with the same codebase. When I go to Project | Store | Create App Package... and walk through it to where it starts building the app (associated w/ existing Store app) I'm eventually met with:

Severity Code Description Project File Line

错误无法删除目录"obj\x86 \Release \PackageUploadLayout \"。对"Microsoft.Win32.Primitives.dll"路径的访问被拒绝。

Error Unable to remove directory "obj\x86\Release\PackageUploadLayout\". Access to the path 'Microsoft.Win32.Primitives.dll' is denied.


其中文件名/目录每次都可以变化。如果我取消选中为x86构建的选项(仅限x64和ARM(Windows Mobile?)),一切都很顺利。



我应该如何构建应用程序包所以这不会发生?



http://bc3te.ch/brandonh

where the filename/dir can vary each time. If I uncheck the option to build for x86 (x64 and ARM (Windows Mobile?) only) everything goes just fine.

How should I go about building an app package so this doesn't happen?


http://bc3te.ch/brandonh

推荐答案

你好Brandon H _,

Hi Brandon H_,

欢迎来到开发通用Windows应用程序
论坛!

请阅读粘贴帖子,尤其是
指南发布:主题行标记

Windows 10 SDK和工具的已知问题

Please read the sticky posts, especially the Guide to posting: subject line tags and Known Issues for Windows 10 SDK and Tools

您使用的是哪种应用程序类型?
Universal  8.1应用程序或UWP应用程序?请尝试创建一个新的简单应用程序并查看以下文章以创建应用程序包以查看它是否有效。

#Universal 8.1 app:创建应用程序包:

https://msdn.microsoft.com/en-us/library/hh975357.aspx

What application type are you using? Universal 8.1 apps or UWP app? Please try to create a new simple application and check the following article to create the app package to see if it works.
#Universal 8.1 app: Create a app package:
https://msdn.microsoft.com/en-us/library/hh975357.aspx .

#UWP:打包适用于Windows 10的通用Windows应用程序:

https://msdn.microsoft.com/en-us/library/hh454036.aspx#Configure

#UWP:Packaging Universal Windows apps for Windows 10:
https://msdn.microsoft.com/en-us/library/hh454036.aspx#Configure .

此外,请尝试检查此类似线程:
无法构建商店套餐 - 错误

Besides, please also try to check this similar thread: Cannot build Store Package - error .

最诚挚的问候,

Amy Peng

Best Regards,
Amy Peng


这篇关于无法为商店提交构建app pkg - “无法删除目录”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆