[
https://issues.apache.org/jira/browse/CB-12808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012102#comment-16012102
]
Alexander Sorokin commented on CB-12808:
----------------------------------------
Cannot reproduce it on my Wndows 10 Enterprise (build 15063.296)
VS info:
{noformat}
Microsoft Visual Studio Community 2017
Version 15.2 (26430.6) Release
VisualStudio.15.Release/15.2.0+26430.6
Microsoft .NET Framework
Version 4.7.02046
Installed Version: Community
Visual Basic 2017 00369-60000-00001-AA576
Microsoft Visual Basic 2017
Visual C# 2017 00369-60000-00001-AA576
Microsoft Visual C# 2017
Visual C++ 2017 00369-60000-00001-AA576
Microsoft Visual C++ 2017
Visual F# 4.1 00369-60000-00001-AA576
Microsoft Visual F# 4.1
Application Insights Tools for Visual Studio Package 8.6.00404.2
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2017 15.0.30503.0
ASP.NET and Web Tools 2017
Azure App Service Tools v3.0.0 15.0.30209.0
Azure App Service Tools v3.0.0
Common Azure Tools 1.9
Provides common services for use by Azure Mobile Services and Microsoft Azure
Tools.
JavaScript Language Service 2.0
JavaScript Language Service
JavaScript Project System 2.0
JavaScript Project System
JavaScript UWP Project System 2.0
JavaScript UWP Project System
Merq 1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
Mono Debugging for Visual Studio Mono.Debugging.VisualStudio
Support for debugging Mono processes with Visual Studio.
Node.js Tools 1.3.50417.1
Adds support for developing and debugging Node.js apps in Visual Studio
NuGet Package Manager 4.2.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit
http://docs.nuget.org/.
TypeScript 2.2.2.0
TypeScript tools for Visual Studio
Visual Studio Tools for Apache Cordova 15.113.6201.1
Visual Studio Tools for Apache Cordova
Visual Studio tools for CMake 1.0
Visual Studio tools for CMake
Visual Studio Tools for Universal Windows Apps 15.0.26430.06
The Visual Studio Tools for Universal Windows apps allow you to build a single
universal app experience that can reach every device running Windows 10: phone,
tablet, PC, and more. It includes the Microsoft Windows 10 Software Development
Kit.
Xamarin 4.5.0.443 (c871575)
Visual Studio extension to enable development for Xamarin.iOS and
Xamarin.Android.
Xamarin.Android SDK 7.3.0.13 (448f54f)
Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK 10.10.0.30 (30b6e87)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
{noformat}
> 'Error: AppPackages doesn't exists` when building for [email protected]
> -------------------------------------------------------------------
>
> Key: CB-12808
> URL: https://issues.apache.org/jira/browse/CB-12808
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-windows
> Environment: See VisualStudioCommunity-Specs attachment.
> Windows 10 Home (see Windows10Home-About attachment)
> Microsoft Visual Studio Community 2017 Version 15.2 (26430.4) Release
> Windows 10 SDK 10.0.15063.137
> [email protected] and [email protected]
> Reporter: Shazron Abdullah
> Attachments: VisualStudioCommunity-Specs.txt, Windows10Home-About.PNG
>
>
> See Environment field.
> 1. Install Windows 10 Home with latest updates as of May 12 2017
> 2. Install Visual Studio Community Edition with latest updates as of May 12
> 2017
> 3. Install Windows 10 SDK 10.0.15063.137
> 4. Add to your environment variables 'VSINSTALLDIR` value: {{C:\Program Files
> (x86)\Microsoft Visual Studio\2017\Community\}}
> Repro:
> {code}
> $ cordova create foo
> $ cd foo
> # edit config.xml to add these two tags below (without the hashes):
> # <preference name="windows-target-version" value="10.0" />
> # <preference name="windows-phone-target-version" value="10.0" />
> $ cordova platform add windows
> Adding windows project...
> Creating Cordova Windows Project:
> Path: platforms\windows
> Namespace: io.cordova.hellocordova
> Name: HelloCordova
> Windows project created with [email protected]
> Installing "cordova-plugin-whitelist" for windows
> $ cordova build windows
> Building project:
> C:\Users\shazron\Desktop\foo\platforms\windows\CordovaApp.Windows10.jsproj
> Configuration : debug
> Platform : anycpu
> Patching 10 in prebuild event...
> Injected base.js reference to the /www/index.html
> Removing /(
> *)(<script\s+(?:type="text\/javascript"\s+)?src="\/\/Microsoft.WinJS.2.0\/js\/base.js">
> \s*<\/script>)(\s*)/ from /www/index.html
> Removing /(
> *)(<script\s+(?:type="text\/javascript"\s+)?src="\/\/Microsoft.Phone.WinJS.2.1\/js\/bas
> e.js">\s*<\/script>)(\s*)/ from /www/index.html
> Error: AppPackages doesn't exists
> {code}
> The error originates in the platform code, here:
> https://github.com/apache/cordova-windows/blob/7fe4c21229815d216a985b114a4db5f01b5e5169/template/cordova/lib/package.js#L32-L36
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]