Daily Archives: 16 diciembre, 2014

[#VS2013] NuGet Error: Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.

Hello!

Today I’ll go with a and easy-to-fix Visual Studio error. I was fixing some old projects and I find that suddenly NuGet decided to stop working.

error01

The error message was pretty clear

‘ EntityFramework 6.1. 1′ already installed.
Adding ‘ EntityFramework 6.1. 1′ to BigAndCoolProject.
Successfully added ‘ EntityFramework 6.1. 1′ to BigAndCoolProject.
Executing script file ‘… srcpackagesEntityFramework.6.1.1toolsinstall.ps1′.
Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.

The strange thing is that suddenly the PowerShell execution permissions are “fell” to “Restricted” level. So which well, is time of

-Open a PowerShell console with administrator permissions

-Check the level of permissions with the command ‘Get-ExecutionPolicy’

-Set the level of permissions to “RemoteSigned” with the command “Set-ExecutionPolicy RemoteSigned”

-Ready!

error02

That Yes, the IDE to take changes is necessary to restart Visual Studio.

Greetings @ Home

/El Bruno


Archivado en: EnglishPost, NuGet, PowerShell, Visual Studio 2013 Tagged: English Post, NuGet, PowerShell, Visual Studio 2013

[#VS2013] NuGet Error: Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.

Hello!

Today I’ll go with a and easy-to-fix Visual Studio error. I was fixing some old projects and I find that suddenly NuGet decided to stop working.

error01

The error message was pretty clear

‘ EntityFramework 6.1. 1′ already installed.
Adding ‘ EntityFramework 6.1. 1′ to BigAndCoolProject.
Successfully added ‘ EntityFramework 6.1. 1′ to BigAndCoolProject.
Executing script file ‘… srcpackagesEntityFramework.6.1.1toolsinstall.ps1′.
Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.

The strange thing is that suddenly the PowerShell execution permissions are “fell” to “Restricted” level. So which well, is time of

-Open a PowerShell console with administrator permissions

-Check the level of permissions with the command ‘Get-ExecutionPolicy’

-Set the level of permissions to “RemoteSigned” with the command “Set-ExecutionPolicy RemoteSigned”

-Ready!

error02

That Yes, the IDE to take changes is necessary to restart Visual Studio.

Greetings @ Home

/El Bruno


Archivado en: EnglishPost, NuGet, PowerShell, Visual Studio 2013 Tagged: English Post, NuGet, PowerShell, Visual Studio 2013

[#VS2013] NuGet Error: Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.

Hello!

Today I’ll go with a and easy-to-fix Visual Studio error. I was fixing some old projects and I find that suddenly NuGet decided to stop working.

error01

The error message was pretty clear

‘ EntityFramework 6.1. 1′ already installed.
Adding ‘ EntityFramework 6.1. 1′ to BigAndCoolProject.
Successfully added ‘ EntityFramework 6.1. 1′ to BigAndCoolProject.
Executing script file ‘… srcpackagesEntityFramework.6.1.1toolsinstall.ps1′.
Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.

The strange thing is that suddenly the PowerShell execution permissions are “fell” to “Restricted” level. So which well, is time of

-Open a PowerShell console with administrator permissions

-Check the level of permissions with the command ‘Get-ExecutionPolicy’

-Set the level of permissions to “RemoteSigned” with the command “Set-ExecutionPolicy RemoteSigned”

-Ready!

error02

That Yes, the IDE to take changes is necessary to restart Visual Studio.

Greetings @ Home

/El Bruno


Archivado en: EnglishPost, NuGet, PowerShell, Visual Studio 2013 Tagged: English Post, NuGet, PowerShell, Visual Studio 2013

[#VS2013] NuGet Error: Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.

Hola!

Hoy toca revisar uno de esos errores fáciles de solucionar. Mientras estaba acomodando unos proyectos “viejunos” en una solución, me encuentro que de golpe y porrazo NuGet decidió dejar de funcionar.

error01

El mensaje del error era bastante claro

‘EntityFramework 6.1.1′ already installed.
Adding ‘EntityFramework 6.1.1′ to Projectazo.
Successfully added ‘EntityFramework 6.1.1′ to Projectazo.
Executing script file ‘…srcpackagesEntityFramework.6.1.1toolsinstall.ps1′.
Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.

Lo raro es que repente los permisos de ejecución de PowerShell se “bajaron” a nivel “Restricted”. Asi que bien, es momento de

- Abrir una consola de PowerShell con permisos de administrador

- Verificar el nivel de los permisos con el comando “Get-ExecutionPolicy”

- Definir el nivel de permisos a “RemoteSigned” con el comando “Set-ExecutionPolicy RemoteSigned”

- Listo !!!

error02

Eso sí, para que el IDE tome los cambios es necesario reiniciar Visual Studio.

Saludos @ Home

/El Bruno


Archivado en: NuGet, PowerShell, Visual Studio 2013 Tagged: NuGet, PowerShell, Visual Studio 2013

[#VS2013] NuGet Error: Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.

Hola!

Hoy toca revisar uno de esos errores fáciles de solucionar. Mientras estaba acomodando unos proyectos “viejunos” en una solución, me encuentro que de golpe y porrazo NuGet decidió dejar de funcionar.

error01

El mensaje del error era bastante claro

‘EntityFramework 6.1.1′ already installed.
Adding ‘EntityFramework 6.1.1′ to Projectazo.
Successfully added ‘EntityFramework 6.1.1′ to Projectazo.
Executing script file ‘…srcpackagesEntityFramework.6.1.1toolsinstall.ps1′.
Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.

Lo raro es que repente los permisos de ejecución de PowerShell se “bajaron” a nivel “Restricted”. Asi que bien, es momento de

- Abrir una consola de PowerShell con permisos de administrador

- Verificar el nivel de los permisos con el comando “Get-ExecutionPolicy”

- Definir el nivel de permisos a “RemoteSigned” con el comando “Set-ExecutionPolicy RemoteSigned”

- Listo !!!

error02

Eso sí, para que el IDE tome los cambios es necesario reiniciar Visual Studio.

Saludos @ Home

/El Bruno


Archivado en: NuGet, PowerShell, Visual Studio 2013 Tagged: NuGet, PowerShell, Visual Studio 2013

[#VS2013] NuGet Error: Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.

Hola!

Hoy toca revisar uno de esos errores fáciles de solucionar. Mientras estaba acomodando unos proyectos “viejunos” en una solución, me encuentro que de golpe y porrazo NuGet decidió dejar de funcionar.

error01

El mensaje del error era bastante claro

‘EntityFramework 6.1.1′ already installed.
Adding ‘EntityFramework 6.1.1′ to Projectazo.
Successfully added ‘EntityFramework 6.1.1′ to Projectazo.
Executing script file ‘…srcpackagesEntityFramework.6.1.1toolsinstall.ps1′.
Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.

Lo raro es que repente los permisos de ejecución de PowerShell se “bajaron” a nivel “Restricted”. Asi que bien, es momento de

- Abrir una consola de PowerShell con permisos de administrador

- Verificar el nivel de los permisos con el comando “Get-ExecutionPolicy”

- Definir el nivel de permisos a “RemoteSigned” con el comando “Set-ExecutionPolicy RemoteSigned”

- Listo !!!

error02

Eso sí, para que el IDE tome los cambios es necesario reiniciar Visual Studio.

Saludos @ Home

/El Bruno


Archivado en: NuGet, PowerShell, Visual Studio 2013 Tagged: NuGet, PowerShell, Visual Studio 2013