locked
Make ASP.NET web-application auto recompile RRS feed

  • Question

  • User-496243105 posted

    i have problem related to bin folder of the project
    when someone change the code_behind or change some class property value
    and forget to upload the compiled bin folder
    an error will happen .

    I need to make my iis do the compiling, so any change to any file will recompiled in iis .

    Saturday, May 16, 2020 9:34 AM

All replies

  • User1535942433 posted

    Hi programmer-muhammd,

    Accroding to your description,I‘m guessing that you forget to upload bin folder and you want to do compile in iis.As far as I know,IIS can't precompiled website.If you copy source code file to the server,  ASP.NET automatically compiles your application code and any dependent resources the first time a user requests a resource from the Web site.

    I suggest you could upload the bin folder again and restart iis again.

    More details,you could refer to below article:

    https://forums.iis.net/t/1163742.aspx

    Best regards,

    Yijing Sun

    Monday, May 18, 2020 6:35 AM