简体   繁体   中英

Is it necessary to deploy .cs and designer.cs files in asp.net web application

Is it Necessary to Deploy the .cs and .designer.cs files of .aspx page while transferring the files through FTP to Deployment sever? Or Does the application dll can takes care of it?

No that isn't necessary, the .cs and .designer.cs files are compiled into a .dll file for deployment.

More info can be find in this article:

Determining What Files Need to Be Deployed (C#)

The DLLs and the aspx pages should be the only thing you need to deploy. .designer and .cs files are for you to continue development.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM