Christopher Pragash <(E-Mail Removed)> wrote:
> I have an issue with the Assembly Version. I am getting 0.0.0.0 as the
> version number!!! I tried recompilng ...but no luck....
>
> Any ideas why this is happening and how I could overcome this one!!
Could you give a short but complete example? For instance:
using System;
using System.Reflection;
[assembly: AssemblyVersion("1.2.3.4")]
class Test
{
static void Main()
{
Assembly assembly = Assembly.GetExecutingAssembly();
Console.WriteLine (assembly.GetName().Version);
}
}
works fine.
--
Jon Skeet - <(E-Mail Removed)>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too