简体   繁体   中英

The item App_Start/Startup.Auth.cs was specified more than once in the source parameter

I'm working on an ASP.NET MVC Project. Whenever I try to Build it this error comes up :
The item App_Start/Startup.Auth.cs was specified more than once in the source parameter

I googled the error and found that a reference to App_Start/Startup.Auth.cs might be declared twice in the .csproj file, but it's only mentioned once.

Visual Studio Community 2015

I noticed I had two project files :

  • MyProject.csproj
  • MyProject.csproj.user

I deleted .user and now it's working fine.

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