Relating to Visual studio community 2015, Package Manager Console Host Version 3.4.4.1321
When i open project X in my private computer, it works just fine. But loading it into the company laptop, this gets printed out in the package manager console:
...The Term "C:\\...\init.ps1" is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included.....
At line:1 char:1
Category info: ObjectNotFound: (C:\\...\init.ps1:String) [],CommandNotFoundException.
I have tried to reinstall nuget package manager onto visual studio but to no avail. My execution policy has been set to unrestricted.
Also I tried to manually type out that same path into package manager console and the same error occurred.
BUT when i launch cmd and run powershell from it and execute the same init.ps1 there, the script runs just fine as it gave me a different error(path not found and pointed me to somewhere inside the script) which is it's expected behaviour.
Any ideas on how to solve this issue? Reinstalling Nuget extension on Visual Studio does not work.