diff --git a/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs b/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs index e069b96..ea9f3d1 100644 --- a/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs +++ b/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs @@ -1,34 +1,34 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("LibHISP")] -[assembly: AssemblyDescription("Server Emulator for \"Horse Isle\"")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Li")] -[assembly: AssemblyProduct("HISP")] -[assembly: AssemblyCopyright("Public Domain © 2022")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("31f0bdf5-f6d1-4aeb-8905-80dbc223c836")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -[assembly: AssemblyVersion("1.3.0.0")] -[assembly: AssemblyFileVersion("1.3.0.0")] +using System.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("LibHISP")] +[assembly: AssemblyDescription("Server Emulator for \"Horse Isle\"")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Li")] +[assembly: AssemblyProduct("HISP")] +[assembly: AssemblyCopyright("Public Domain © 2022")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("31f0bdf5-f6d1-4aeb-8905-80dbc223c836")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +[assembly: AssemblyFileVersion("1.6.2.11")] +[assembly: AssemblyFileVersion("1.3.0.0")] diff --git a/HorseIsleServer/prebuild.py b/HorseIsleServer/prebuild.py index 10c2ac8..d3a5274 100644 --- a/HorseIsleServer/prebuild.py +++ b/HorseIsleServer/prebuild.py @@ -49,7 +49,7 @@ assembly_info = os.path.join("LibHISP", "Properties", "AssemblyInfo.cs") lines = open(assembly_info, "r").readlines() for i in range(0,len(lines)): if lines[i].startswith("[assembly: AssemblyVersion(\""): - lines[i] = "[assembly: AssemblyVersion(\""+assembly_version+"\")]" + lines[i] = "[assembly: AssemblyVersion(\""+assembly_version+"\")]\r\n" if lines[i].startswith("[assembly: AssemblyVersion(\""): - lines[i] = "[assembly: AssemblyFileVersion(\""+assembly_version+"\")]" + lines[i] = "[assembly: AssemblyFileVersion(\""+assembly_version+"\")]\r\n" open(assembly_info, "w").writelines(lines) \ No newline at end of file