aspnet_compiler -fixednames does not work?

Posted by Terrence on Stack Overflow See other posts from Stack Overflow or by Terrence
Published on 2010-04-23T21:35:34Z Indexed on 2010/04/23 21:43 UTC
Read the original article Hit count: 332

Filed under:
|

I am unable to get the -fixednames switch to create dlls for the cs code behind files. The files in the bin folder are compiled aspx pages, but the code behind files are all compiled into one large websitename.dll file.

Here is my command with switches. aspnet_compiler -v / -p E:\Source\DotNet4\mysolution\website -f -d -fixednames E:\Source\DotNet4\CompiledWebSite

This produces many files in the bin folder.

website.dll and website.pdb (contains code behind) myform1.aspx.643c7876.dll (compiled aspx layout ui)

I have tested this over and over to make sure I am not missing anything. The test is place a label on myform1.aspx, and in the codebehind populate the label with some text. Compile the website with the above switches and deploy the website.

Make a change to the myform1 codebehind and change the label text. Compile and only deploy the myform1.aspx.643c7876.dll to the website. Result: label is still the same. Now deploy the website.dll and pdb and the label changes.

Can anyone tell me how to get -fixednames to create sinle dlls for codebehind?

© Stack Overflow or respective owner

Related posts about c#

Related posts about aspnet-compiler