Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ivo van der Bruggen 7 posts 129 karma points
    Dec 16, 2023 @ 00:15
    Ivo van der Bruggen
    0

    No physical template file was found for template

    Hi all,

    I have recently switched all my azure apps to a different subscription. Now that I arrived at my v12 apps I noticed all of them get the error 'No physical template file was found for template {}'.

    I came accross some forum stuff and StackOverflow but none of them solved my problem. Most came down to removing these 2 lines from my csproj.:

    <RazorCompileOnBuild>false</RazorCompileOnBuild>
    <RazorCompileOnPublish>false</RazorCompileOnPublish>
    

    But I have already removed them. I read the runtime modes docs and I pass all the requirements for 'Production'.

    Can somebody help met get this working?

  • Ivo van der Bruggen 7 posts 129 karma points
    Dec 17, 2023 @ 15:55
    Ivo van der Bruggen
    100

    Okay, I seem to have fixed it.

    Altough I used Kudu to inspect if the view files were actually present on the server. I have now run a ZIP Deploy from VS, and that seemed to have worked. Subsequent Web Deploys also work fine now. So I guess there is something the Linux web apps don't like about a web deploy and file permissions(uneducated guess).

    So for anyone running into this. Try that!

Please Sign in or register to post replies

Write your reply to:

Draft