简体   繁体   中英

Missing cs classes like IdentityModel.cs and StartUp.Auth.cs in Visual Studio 2017

So i've downloaded VS17 community edition and i'm missing cs classes like IdentityModel and Startup.Auth which I had by default in VS15. I've downloaded Entity framework through Nuget but still can't see them in my model and app_Start folders.

Can anyone help me please?

Had the same issue, and found the solution here

if you want add IdentityModel and Startup.Auth you just need to change the option to "Individual User Accounts" after click change the authentication button and select Individual User Accounts.

创建项目时,您必须将身份验证从无身份验证更改为个人用户帐户或其他内容,默认情况下为无身份验证,这就是您没有获得 IdentityModels.cs 类的原因

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM