Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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 .

What I have tried:

i have svn server so tried to chnage the build version , but its not work .
Posted
Updated 18-May-20 3:01am
Comments
F-ES Sitecore 16-May-20 5:36am    
What you need to spend time on is coming up with a better deployment strategy rather than trying to get this to work. You shouldn't be deploying your cs files so there should be nothing to compile.

1 solution

IIS does not do any compiling of source code. The problem is in your processes and as is mentioned in the comments, you need to use proper deployment processes.
 
Share this answer
 
Comments
Muhammad1994Akram 19-May-20 4:28am    
my question? can i change for example class property and upload the new class without compiling it to iis and see the new value display on the page .
ZurdoDev 19-May-20 7:10am    
You can put source code in IIS, as I recall, and then that would be an option but if you are using the standard web.config settings for session, doing so will cause the site to recompile and kick out any users currently in it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900