mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Added automated assembly versioning and now the server prints out its version. So cool.
This commit is contained in:
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion( "1.0.0.0" )]
|
||||
[assembly: AssemblyFileVersion( "1.0.0.0" )]
|
||||
[assembly: AssemblyVersion( "0.1.*" )]
|
||||
[assembly: AssemblyFileVersion( "0.1.*" )]
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
[assembly: AssemblyVersion("0.1.*")]
|
||||
[assembly: AssemblyFileVersion("0.1.*")]
|
||||
|
||||
@@ -22,7 +22,9 @@ namespace SS3d_server
|
||||
Console.WriteLine("Server -> Can not start server"); //Not like you'd see this, haha. Perhaps later for logging.
|
||||
Environment.Exit(0);
|
||||
}
|
||||
Console.WriteLine("Server -> Ready");
|
||||
|
||||
string strVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
||||
Console.WriteLine("Server Version " + strVersion + " -> Ready");
|
||||
|
||||
while(main.server.Active)
|
||||
{
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
[assembly: AssemblyVersion("0.1.*")]
|
||||
[assembly: AssemblyFileVersion("0.1.*")]
|
||||
|
||||
Reference in New Issue
Block a user