I'm using the aspnet_compiler compiler program as part of the automated build procedure for a website. We have a website project and the build step generates the assembily for the project for the release build. However it generates these dlls in such a way that the aspx pages reference tho开发者_运维技巧se at the moment randomly named assembilies. So my question is how would I modify this process to allow me to swap the dll's without updating the entire site. Also we're using nant at the moment for the build process.
Have you tried using the -u option? The reference is at http://msdn.microsoft.com/en-us/library/ms229863(VS.80).aspx.
The aspnet merge tool allows all the dlls to be merged into one explictly named assembily and updates the aspx and ascx files to reflect the appropriate assembily.
精彩评论