[
https://issues.apache.org/jira/browse/CB-8866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498919#comment-14498919
]
ASF GitHub Bot commented on CB-8866:
------------------------------------
GitHub user brodybits opened a pull request:
https://github.com/apache/cordova-windows/pull/69
Alt for discussion: CB-8866: add "Mixed Platforms" and "Win32" and CB-8869:
Windows Universal without Windows 8.0
This PR is an alternative to PR #67 and PR #68 for discussion and mutually
exclusive to both. It is intended to solve two problems in one shot:
- [CB-8866](https://issues.apache.org/jira/browse/CB-8866): missing "Mixed
Platforms" and "Win32" causes problems when installing a plugin such as
[Cordova-sqlite-storage](https://github.com/litehelpers/Cordova-sqlite-storage)
with C++ component
- [CB8869](https://issues.apache.org/jira/browse/CB-8869): remove Windows
8.0 from Windows Universal target. The Windows 8.0 target is not supported by
some newer tools (such as Visual Studio Express 2013) or Windows Universal
plugins (such as
[Cordova-sqlite-storage](https://github.com/litehelpers/Cordova-sqlite-storage)),
and can confuse newer Windows Universal app developers.
If we cannot drop Windows 8.0 right now, then please ignore this PR as well
as PR #68.
As I said in #67 and #68, my ICLA for Apache was already accepted for
apache/cordova-wp8#72.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/brodybits/cordova-windows CB8866-CB8869
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-windows/pull/69.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #69
----
commit 53f6afef36d679bc7193254e8d71b2a7e98d8b6b
Author: Chris Brody <[email protected]>
Date: 2015-04-16T22:18:49Z
CB-8866: add "Mixed Platforms" and "Win32"; CB-8869: Remove Windows 8.0
from Windows Universal
----
> Missing support for targets (Mixed Platforms & Win32) causes problem with C++
> component
> ---------------------------------------------------------------------------------------
>
> Key: CB-8866
> URL: https://issues.apache.org/jira/browse/CB-8866
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, Windows
> Affects Versions: 3.5.0
> Environment: Windows (Universal) project created with Cordova CLI and
> plugin with C++ component added, using Visual Studio Express 2013
> Reporter: Chris Brody
> Labels: c++, cli, native, universal, windows
> Fix For: Master
>
> Original Estimate: 8h
> Remaining Estimate: 8h
>
> If I create a project using the Cordova CLI, add a plugin such as
> https://github.com/litehelpers/Cordova-sqlite-storage (which installs a C++
> component for the Windows (Universal) target), add the windows version, and
> try to run the project with the default selection of All CPUs (or Mixed
> Platforms on Windows Phone), VS complains that SQLite3.winmd is not found.
> But if I select a particular CPU such as x86 or x64 and try to run, then it
> will build the SQLite C++ library, build my project, and run.
> The workaround is to omit SQLite3.Windows.vcxproj &
> SQLite3.WindowsPhone.vcxproj from plugin.xml, and install them manually. I
> tried to describe this workaround in the readme.
> The recommended solution is to add support for "Mixed Platforms" and "Win32"
> to template/CordovaApp.sln in the cordova-windows project.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]