Hey Martin:
I tried:
Assembly.GetExecutingAssembly().GetName().Version. ToString();
If I use the above in an .aspx code file, I get 0.0.0.0.
If I use the above in a class that I have in a .cs file inside
App_Code, I can get the assembly version that I placed in a .cs file
in App_Code also.
I think this makes sense, given...
>
>It seems this does no longer work, since the web app is not compiled into
>one assembly.
.... yeah, that's the tricky part. Around RTM time the ASP.NET should
be releasing a build and deployment project that will have, among
other features, the ability to package all of the assebmlies for a web
app into a single assembly. That should make this easier.
--
Scott
http://www.OdeToCode.com/blogs/scott/