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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top