0

Trying to follow the QuickStart tutorials over at http://docs.identityserver.io/en/release/quickstarts and am working through http://docs.identityserver.io/en/release/quickstarts/3_interactive_login.html. I just ran iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/IdentityServer/IdentityServer4.Quickstart.UI/release/get.ps1')) and did not modify anything. When I build the solution I get the following: error screenshot

innov83r
  • 443
  • 1
  • 4
  • 12

1 Answers1

1

(HttpContext.User is WindowsPrincipal wp) is C# 7 feature.

You can read more here - Pattern matching with is

So, you will need to enable C# 7. Enabling c# 7 in a asp.net application.

Win
  • 61,100
  • 13
  • 102
  • 181