Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant find index #1018

Open
revotek opened this issue Dec 5, 2021 · 4 comments
Open

Cant find index #1018

revotek opened this issue Dec 5, 2021 · 4 comments

Comments

@revotek
Copy link

revotek commented Dec 5, 2021

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?

@fulminous
Copy link

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

@nevinfrancisnepolien
Copy link

nevinfrancisnepolien commented Jun 9, 2022

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

@kiennc
Copy link

kiennc commented Jun 12, 2022

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

@kiennc
Copy link

kiennc commented Jun 12, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants