[英]Can't build JavaScript universal Windows app
I have started a new project - javascript - windows universal app and without changing anything or adding any code I try to build it and run it but it wont with the following error: 我已经启动了一个新项目-javascript-Windows通用应用程序,并且没有进行任何更改或添加任何代码,我尝试构建并运行它,但不会出现以下错误:
Error : DEP0700 : Registration of the app failed.
错误:DEP0700:应用程序注册失败。 error 0x80080204: App manifest validation error: The document root element m:Package must be defined in the http://schemas.microsoft.com/appx/2010/manifest namespace.
错误0x80080204:应用清单验证错误:文档根元素m:Package必须在http://schemas.microsoft.com/appx/2010/manifest命名空间中定义。 (0x80080204) App7
(0x80080204)应用7
A similar issue was reported here and I tried renewing the license with project -> store -> aquire developer license to no avail. 此处报告了类似的问题,我尝试通过项目->存储->获取开发人员许可证来续订该许可证,但无济于事。 It seems to be that the actual problem has to be the document root element part which I'm not really familiar with as I haven't worked with Visual Studio before I tried to add
xmlns:m="http://schemas.microsoft.com/appx/2010/manifest"
to my package appxmanifest
but that doesn't seem to have helped. 似乎实际的问题必须是我不太熟悉的文档根元素部分,因为在尝试添加
xmlns:m="http://schemas.microsoft.com/appx/2010/manifest"
之前我还没有使用过Visual Studio xmlns:m="http://schemas.microsoft.com/appx/2010/manifest"
到我的软件包appxmanifest
但这似乎没有帮助。
Heres the whole manifest: 这是整个清单:
<?xml version="1.0" encoding="utf-8"?> <Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:m="http://schemas.microsoft.com/appx/2010/manifest" IgnorableNamespaces="uap mp m"> <Identity Name="155dc546-80c7-4275-b2a6-a2aa8ddec5f7" Version="1.0.0.0" Publisher="CN=FroboZ" /> <mp:PhoneIdentity PhoneProductId="155dc546-80c7-4275-b2a6-a2aa8ddec5f7" PhonePublisherId="00000000-0000-0000-0000-000000000000"/> <Properties> <DisplayName>App7</DisplayName> <PublisherDisplayName>FroboZ</PublisherDisplayName> <Logo>images\\storelogo.png</Logo> </Properties> <Dependencies> <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.10069.0" MaxVersionTested="10.0.10069.0" /> </Dependencies> <Resources> <Resource Language="x-generate" /> </Resources> <Applications> <Application Id="App" StartPage="default.html"> <uap:VisualElements DisplayName="App7" Description="App7" BackgroundColor="#464646" Square150x150Logo="images\\Logo.png" Square44x44Logo="images\\SmallLogo.png"> <uap:SplashScreen Image="images\\splashscreen.png" /> </uap:VisualElements> </Application> </Applications> <Capabilities> <Capability Name="internetClient" /> </Capabilities> </Package>
Thank you for taking your time to read my question and even more so if you can help me with this problem! 感谢您抽出宝贵的时间阅读我的问题,如果您能帮助我解决这个问题,甚至更多!
在Windows 10中未打开开发人员模式。我不确定这有什么区别,但是在打开此功能后,我便可以构建项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.