title: .Net Core 2.1 project doesn't use scaffolded Identity when deploying on IIS, instead uses an old template from 2016
body: <p>My problem is the following, I have a pretty huge project where I've deployed The Identity Scaffolding, so it has scaffolded in The Areas map. When I run this project in IIS Express on Visual Studio 2016, everything works fine, but when I published it and deploy it on IIS 10 on my local pc or on an remote server with Windows 2016 and IIS 10 installed on it, he refers everytime to a default template of inlogpage.</p>
  
  <p><a href="https://i.stack.imgur.com/aeciK.png" rel="nofollow noreferrer">How it looks on IIS Express and how it should look.</a>
  <a href="https://i.stack.imgur.com/6wrds.png" rel="nofollow noreferrer">This how it looks like.</a></p>
  
  <p>I deploy it in the local IIS Express of Visual Studio but it doesn't in the normal IIS. <a href="https://i.stack.imgur.com/HqMSu.png" rel="nofollow noreferrer">IIS Express</a></p>
  
  <p><a href="https://i.stack.imgur.com/GoEiW.png" rel="nofollow noreferrer">Scaffolded Identity</a></p>
  
  <p>Update project is finally running had something to do with the roles on sql server, but still it doesn't explain why he isn't taking my changed my login page
  <a href="https://i.stack.imgur.com/L5S99.png" rel="nofollow noreferrer">Right page</a>
  <a href="https://i.stack.imgur.com/lQ11H.png" rel="nofollow noreferrer">Default page</a></p>