You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nikhil Khandelwal (JIRA)" <ji...@apache.org> on 2016/02/09 02:07:18 UTC

[jira] [Updated] (CB-9717) UnauthorizedAccessException when cordova run windows

     [ https://issues.apache.org/jira/browse/CB-9717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikhil Khandelwal updated CB-9717:
----------------------------------
    Component/s: Windows

> UnauthorizedAccessException when cordova run windows
> ----------------------------------------------------
>
>                 Key: CB-9717
>                 URL: https://issues.apache.org/jira/browse/CB-9717
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>    Affects Versions: 5.3.2
>         Environment: Windows 10
>            Reporter: Ryan Edge
>            Assignee: Nikhil Khandelwal
>
> When attempting to run cordova, I get an error installing the *CordovaApp.Windows10_0.0.1.0_anycpu_debug.appx* file. This does not happen in Visual Studio 2015.
> I have verified that my permissions for that file are the same regardless of whether I'm using Visual Studio or the CLI, which leads me to believe VS2015 is doing some magic under the covers.
> The full error:
> {code}
> Get-AuthenticodeSignature : Access to the path 'C:\Work\sandbox\cordova\hello\platforms\windows\AppPackages\CordovaApp.
> Windows10_0.0.1.0_anycpu_debug_Test\CordovaApp.Windows10_0.0.1.0_anycpu_debug.appx' is denied.
> At C:\Work\sandbox\cordova\hello\platforms\windows\AppPackages\CordovaApp.Windows10_0.0.1.0_anycpu_debug_Test\Add-AppDe
> vPackage.ps1:449 char:25
> + ...   $PackageSignature = Get-AuthenticodeSignature $DeveloperPackagePath
> +                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     + CategoryInfo          : NotSpecified: (:) [Get-AuthenticodeSignature], UnauthorizedAccessException
>     + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.GetAuthenticodeSignatur
>    eCommand
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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