Change the assembly name of web application

  • Thread starter Thread starter ibiza
  • Start date Start date
I

ibiza

Hi,

first, I must say that I don't know too much about an application
"assembly name". However, I am trying to set a fixed one for my web
project, as it seems to change for a random name almost every time I
recompile. For now, it is something in the form of "App_Web_XXXXXXXX",
where the XXXXXXXX part is composed of random numbers/letters that
change when I compile, for example "App_Web_yzplve8d". Is it possible
to configure the web app (maybe in the web.config, I can't think of
another place to set this) so the assembly name is fixed and never
changes, like "ProjectName" or something?

Thanks all in advance,

ibiza
 
Hello ibiza,

No, this is desing behavior. Read extensive description there: http://msdn.microsoft.com/library/d...-us/dnaspp/html/dngrfTheASPNETHTTPRuntime.asp
"Temporary Files and Page Assemblies" section

i> Hi,
i> first, I must say that I don't know too much about an application
i> "assembly name". However, I am trying to set a fixed one for my web
i> project, as it seems to change for a random name almost every time I
i> recompile. For now, it is something in the form of
i> "App_Web_XXXXXXXX", where the XXXXXXXX part is composed of random
i> numbers/letters that change when I compile, for example
i> "App_Web_yzplve8d". Is it possible to configure the web app (maybe in
i> the web.config, I can't think of another place to set this) so the
i> assembly name is fixed and never changes, like "ProjectName" or
i> something?
i>
i> Thanks all in advance,
i>
i> ibiza
i>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Hi Michael,

thank you very much for the reply and the link! Is there a way then to
programatically get the current assembly name used?

thanks again!

ibiza
 
Hello ibiza,

If u perused that article, there were mentioned about HttpRuntime.CodegenDir
that return path to the folder where XML located.
In this XML locates name for your assembly, u only need compine info there



i> Hi Michael,
i>
i> thank you very much for the reply and the link! Is there a way then
i> to programatically get the current assembly name used?
i>
i> thanks again!
i>
i> ibiza
i>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Back
Top