You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ryan Edge (JIRA)" <ji...@apache.org> on 2015/11/19 22:37:11 UTC

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

    [ https://issues.apache.org/jira/browse/CB-9717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15014429#comment-15014429 ] 

Ryan Edge commented on CB-9717:
-------------------------------

Yes, I have verified this is still an issue, even with the latest RC from Visual Studio 2015 and version of Cordova installed.



> UnauthorizedAccessException when cordova run windows
> ----------------------------------------------------
>
>                 Key: CB-9717
>                 URL: https://issues.apache.org/jira/browse/CB-9717
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 5.3.2
>         Environment: Windows 10
>            Reporter: Ryan Edge
>
> 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