SimplCommerce icon indicating copy to clipboard operation
SimplCommerce copied to clipboard

Cant find index

Open revotek opened this issue 4 years ago • 4 comments

Just went to try this project out, opened in VS 2019. I have the latest .Net SDKs installed and I get this:

InvalidOperationException: The view 'Index' was not found. The following locations were searched: /Areas/Core/Views/Home/Index.en-US.cshtml /Areas/Core/Views/Home/Index.en.cshtml /Areas/Core/Views/Home/Index.cshtml /Areas/Core/Views/Shared/Index.en-US.cshtml /Areas/Core/Views/Shared/Index.en.cshtml /Areas/Core/Views/Shared/Index.cshtml /Views/Shared/Index.en-US.cshtml /Views/Shared/Index.en.cshtml /Views/Shared/Index.cshtml /Pages/Shared/Index.en-US.cshtml /Pages/Shared/Index.en.cshtml /Pages/Shared/Index.cshtml

I noticed that you are using net6.0. My hosting provider only supports net5.0. Is there another branch which supports net5.0?

revotek avatar Dec 05 '21 21:12 revotek

Did you find any solution to this? @revotek I am also facing same issue

fulminous avatar Apr 14 '22 06:04 fulminous

Update visual studio updates.. in my case it's worked

nevinfrancisnepolien avatar Jun 09 '22 04:06 nevinfrancisnepolien

@nevinfrancisnepolien Did you update .NET 5 to .Net 6? I got same problem as @revotek

kiennc avatar Jun 12 '22 09:06 kiennc

@nevinfrancisnepolien thank you. I Updated VS 2022 in visual Installer and It's worked. Do you know reason?

kiennc avatar Jun 12 '22 09:06 kiennc