0

enter image description here

when i run the ASP.NET Core MVC application from Visual studio 2022, it getting conflicts with source and module file(please refer the attached image.) We are migrating MVC5 project to ASP.NET Core MVC and i dont know these initial configuration settings

Pls assist me on this Thanks

I need to run the application in the browser.

Peter B
  • 22,460
  • 5
  • 32
  • 69
  • Delete the `Bin folder` and rebuild your project, it would resolve your issue. – Md Farid Uddin Kiron Dec 21 '22 at 06:55
  • Does this answer your question? [the source file is different from when the module was built](https://stackoverflow.com/questions/3087390/the-source-file-is-different-from-when-the-module-was-built) – Peter B Dec 21 '22 at 07:18
  • @Peter B after delete the the content inside the bin and obj folder I got diiferent error. Unable to start the program. 'D:\Krishnapandi\ADS_localbranch\PDSAPP-CORE\PDSAPP\bin\Debug\net6.0\PDSAPP.exe'. The system cannot find the file specified. Help me what to do next pls . – Krishna Pandi Dec 23 '22 at 06:31
  • please check https://stackoverflow.com/questions/44610220/asp-net-core-application-is-not-running-with-vs-2017 – Rameshkumar Jan 03 '23 at 16:40

1 Answers1

0

Please delete the bin folder and rebuild your project.

  • Thnaks for ur support. after delete the the content inside the bin and obj folder I got diiferent error. Unable to start the program. 'D:\Krishnapandi\ADS_localbranch\PDSAPP-CORE\PDSAPP\bin\Debug\net6.0\PDSAPP.exe'. The system cannot find the file specified. Help me what to do next pls . – Krishna Pandi Dec 23 '22 at 05:02
  • Did you rebuild the project?? – Md.Tahmid Farzan Dec 23 '22 at 14:34
  • Yes, I cleaned and Rebuild the project. The dll and exe files is not generating when rebuild the project – Krishna Pandi Dec 26 '22 at 09:01