I followed the instructions and enabled HelloWorld. But everytime I ran the project using Ctrl + F5, I get this error:
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /OrchardLocal/helloworld
I do notice a difference in your instructions online and the codes in the project file:
- HelloWorld.csproj in the Source Codes has:
<None Include="Views\HelloWorld.cshtml" />
- Online Instructions said to add:
<Content Include="Views\Home\HelloWorld.cshtml" />
I modified my HelloWorld.csproj to say:
<Content Include="Views\HelloWorld.cshtml" />
since the .cshtml is in the Views folder and not under Views\Home
Did I do something incorrectly?