Last post Apr 16, 2014 02:00 AM by Angie xu - MSFT
Apr 15, 2014 03:53 AM|Iaiswarya|LINK
If any changes are made to class files in a website on server the changes are not reflected.
For eg: Introducted a new method "PrintResult(int Id)" in a class "csResults.cs"
If i open the website, it throws an error "csResults does not contain the definition for PrintResult(int Id)"
But the class contains definition of the method and it works fine locally.
Please help me in resolving this issue.
Thanks in advance
Apr 16, 2014 02:00 AM|Angie xu - MSFT|LINK
Welcome to asp.net forum.
By default, all class files are compiled into a single assembly, which means that only that assembly has to be deployed, together with .aspx, .ascx, .cshtml, and .vbhtml files and static content files.
To run and debug pages, you must compile the complete web application project.
ASP.NET Web Application Project Precompilation Overview