cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dase...@apache.org
Subject docs commit: CB-12163 Add doc for reference attr for resource-file in Windows This closes #679
Date Fri, 10 Feb 2017 17:48:15 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/master 05328c72c -> a2d5aa62d


CB-12163 Add doc for reference attr for resource-file in Windows
This closes #679


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/a2d5aa62
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/a2d5aa62
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/a2d5aa62

Branch: refs/heads/master
Commit: a2d5aa62d7215d01e886a85a568aef4f9fea808c
Parents: 05328c7
Author: ktop <ktop500@gmail.com>
Authored: Thu Jan 26 14:05:31 2017 -0500
Committer: daserge <v-seshak@microsoft.com>
Committed: Fri Feb 10 20:47:52 2017 +0300

----------------------------------------------------------------------
 www/docs/en/dev/plugin_ref/spec.md | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a2d5aa62/www/docs/en/dev/plugin_ref/spec.md
----------------------------------------------------------------------
diff --git a/www/docs/en/dev/plugin_ref/spec.md b/www/docs/en/dev/plugin_ref/spec.md
index 4e52c61..ce83f6a 100644
--- a/www/docs/en/dev/plugin_ref/spec.md
+++ b/www/docs/en/dev/plugin_ref/spec.md
@@ -302,6 +302,7 @@ target(string) | Path to where the file will be copied in your directory.
 arch(string) <br/> ==windows== | Allowed values: `x86`, `x64` or `ARM`. <br/>
Indicates that the file should only be included when building for the specified architecture.
 device-target <br/> ==windows== | Allowed values: `win` (or `windows`), `phone` or
`all`. <br/> Indicates that the file should only be included when building for the specified
target device type.
 versions <br/> ==windows== | Indicates that the file should only be included when building
for versions that match the specified version string. Value can be any valid node semantic
version range string.
+reference <br/> ==windows== | Indicates that the file should be referenced from the
src rather than copied to the target destination. The file will appear in Visual Studio with
the file name specified by target, however will point to the respective src, depending on
the architecture.
 
 Examples:
 
@@ -313,6 +314,10 @@ For Android:
 For Windows:
 ```xml
 <resource-file src="src/windows/win81/MobServices.pri" target="win81\MobServices.pri"
device-target="windows" versions="8.1" arch="x64"/>
+
+<!-- Example of referencing  -->
+<resource-file src="x86/foo.dll" target="foo.dll" arch="x86" reference="true" />
+<resource-file src="x64/foo.dll" target="foo.dll" arch="x64" reference="true" />
 ```
 __NOTE__: `target` should use backslashes to avoid DEP2100 deploy error in Visual Studio.
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message