I had this problem starting my project with IISExpress. Using the other configuration (Kestrel I think...) did not introduce this error. (launchSettings.json:commandName:Project)
No such error on my VM. Could be a security configuration on my work computer.