Error "No physical template file was found for template X"

I run across this error mostly when adding files or projects to an Umbraco set up, but this does happen in other circumstances. This is one of those errors that make you feel ….dumb. The following is one of them …..

I found this post https://codeshare.co.uk/blog/how-to-fix-the-error-no-physical-template-file-was-found-for-template-x/ which describes exactly why this error happens and how to fix it.


Basically, you forgot to include some file sin your project that it needs to run. In my case, I installed an Umbraco site without the demo values as I wanted to build from scratch. When I rebuilt my app, I definitely forgot to view all files in my solution explorer in Visual Studio … a few files needed were not included.

TIP: Do not just add every excluded file to your project. Umbraco has many folders of files and code you don’t need weighing you down in your final product.
2 views

Tags: