简体   繁体   中英

precompiled asp.net website give an error

I have one ASP.Net website.As its a website there is separate dll file in bin for each aspx.cs file after publishing the website.So if we want to change anything on live environment we again need to publish whole site.If I try to replace specific page dll then it give me an error.so not able to find out way I just want it build only one dll with application name like aaaa.dll of all .cs file.Is there any way to make it possible.Its a big project so if I want to make web application from website then it make me cost to much.so if there is any other way then it will be fine for me or how I can make single dll form my website?Any suggestion is welcome. Thnaks.

If you go to File Publish Options there are many settings available under the "Precompile during publishing" option:

在此处输入图片说明

在此处输入图片说明

If you choose "Merge all outputs to a single assembly" it'll create a single assembly as you are asking.

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