Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my website project I have sliders. I have slider.asmx and slider.cs in solution explorer.
If I publish the site, slider.cs files that is within App_Code folder is not getting published.
How to make these .cs files to get published to make my project run with full effect in remote.
Thanks
Posted
Comments
Prasad Avunoori 7-May-14 0:40am    
Did you run the app after publishing?
S.Rajendran from Coimbatore 7-May-14 0:43am    
Before publishing I tested in local host and it worked well.
Prasad Avunoori 7-May-14 0:46am    
Test it after publishing and come back.

1 solution

when you purplish your web site .cs will be compiled in to dll like App_Code.dll
If you host your web site correctly then your site will work without any issue.
 
Share this answer
 
v2
Comments
S.Rajendran from Coimbatore 7-May-14 0:55am    
Ofcourse, xxx.aspx.cs files are getting compiled as dll but xxx.cs files are not even getting published and could be seen in the published folder. These xxx.cs files are inside a folder named as App_Code in solution explorer and this folder also cant be seen in that publised file.
DamithSL 7-May-14 0:58am    
do you have App_Code.dll in your publish folder?
S.Rajendran from Coimbatore 7-May-14 1:01am    
Yes fine I could see it as App_code.dll
DamithSL 7-May-14 1:04am    
if your not sure that App_code.dll will not having your class and it's method. try to use .NET decompiler and check the code. www.jetbrains.com/decompiler/‎
S.Rajendran from Coimbatore 7-May-14 1:04am    
Another file named as App_code.compiled is also available

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