Version Number in .NET service

  • Thread starter Thread starter David Stevens
  • Start date Start date
D

David Stevens

Does anyone know how to set the version number in a .NET service?
There is no AssemblyInfo settings.
Thanks.
 
David Stevens said:
Does anyone know how to set the version number in a .NET service?
There is no AssemblyInfo settings.

There's an AssemblyInfo.cs in my .NET Services. Why isn't there one in
yours?
 
You don't need an AssemblyInfo.cs. You can add assembly level custom
attributes to any source file you want. Just be sure to add them before any
namespace or class declarations. The attributes you probably want are:
AssemblyVersionAttribute
AssemblyFileVersionAttribute
 
Back
Top