Why does My.Application.Info.Version always returns 1.0.0.0 in a web service application, when this isn’t the correct version that is set in the assembly info properties screen?
It works on an executable, but not on a web service application.
I can get the correct version if I use: System.Reflection.Assembly.GetExecutingAssembly().GetName.Version
Does any one know why My.Application.Info.Version doesn’t work correctly on a web service application, yet I am still able to access it? I had originally intended to avoid reflection due to performance constraints. (though I don’t know the internal workings of My.Application.Info.Version)
Seems to be not applicable based on project type. See the requirements section.