Hi guys, I'm new to this, so please bear with me, I just installed Visual Studio 2015 on my Windows 10 pro computer.
I have problems with the PowerShell version. He wants me to use version 3.0 or higher, but I cannot upgrade the package manager console to the latest version.
I have PowerShell version 5 installed, but for some reason the Package Manager console refuses to use it. I did a complete uninstall and reinstall, so I did not sort the problem. You can help
I am currently working on this tutorial
when i run this code
[Scaffold-DbContext " 'Server=(localdb)\mssqllocaldb;Database=Blogging;Trusted_Connection=True; '" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models]
These are bugs saying Powershell 3.0 or higher:
[Entity Framework Core Component Manager console tools do not support PowerShell version 2.0. Upgrade PowerShell version 3.0 or higher, restart Visual Studio and try again.]
I run $PSVersionTable, it returns
Name Value
PSVersion
PSCompatibleVersions
BuildVersion
CLRVersion
WSManStackVersion
PSRemotingProtocolVersion
SerializationVersion
thank
source
share