From 3facf6a663975938efd315d677c088eb0ec9fd27 Mon Sep 17 00:00:00 2001 From: ghorsington Date: Mon, 9 Nov 2020 19:14:43 +0200 Subject: [PATCH] Move all versioning to shared project --- BepInEx.Bootstrap/BepInEx.Bootstrap.csproj | 6 ++- BepInEx.Bootstrap/Properties/AssemblyInfo.cs | 36 ------------------ BepInEx.Core/BepInEx.Core.csproj | 8 ++-- BepInEx.Core/Properties/AssemblyInfo.cs | 37 +------------------ BepInEx.IL2CPP/BepInEx.IL2CPP.csproj | 14 +++++-- BepInEx.IL2CPP/Properties/AssemblyInfo.cs | 36 ------------------ .../BepInEx.NetLauncher.csproj | 12 +++++- .../Properties/AssemblyInfo.cs | 36 ------------------ BepInEx.Patcher/BepInEx.Patcher.csproj | 14 +++++-- BepInEx.Patcher/Properties/AssemblyInfo.cs | 36 ------------------ .../BepInEx.Preloader.Core.csproj | 5 ++- .../Properties/AssemblyInfo.cs | 37 +------------------ .../BepInEx.Preloader.Unity.csproj | 12 +++++- .../Properties/AssemblyInfo.cs | 36 ------------------ BepInEx.Unity/BepInEx.Unity.csproj | 12 +++++- BepInEx.Unity/Properties/AssemblyInfo.cs | 36 ------------------ BepInEx.sln | 2 + BepInExTests/BepInExTests.csproj | 6 +++ BepInExTests/Properties/AssemblyInfo.cs | 36 ------------------ 19 files changed, 79 insertions(+), 338 deletions(-) delete mode 100644 BepInEx.Bootstrap/Properties/AssemblyInfo.cs delete mode 100644 BepInEx.IL2CPP/Properties/AssemblyInfo.cs delete mode 100644 BepInEx.NetLauncher/Properties/AssemblyInfo.cs delete mode 100644 BepInEx.Patcher/Properties/AssemblyInfo.cs delete mode 100644 BepInEx.Preloader.Unity/Properties/AssemblyInfo.cs delete mode 100644 BepInEx.Unity/Properties/AssemblyInfo.cs delete mode 100644 BepInExTests/Properties/AssemblyInfo.cs diff --git a/BepInEx.Bootstrap/BepInEx.Bootstrap.csproj b/BepInEx.Bootstrap/BepInEx.Bootstrap.csproj index be43de4..958182a 100644 --- a/BepInEx.Bootstrap/BepInEx.Bootstrap.csproj +++ b/BepInEx.Bootstrap/BepInEx.Bootstrap.csproj @@ -3,13 +3,17 @@ net35 BepInEx.Bootstrap BepInEx.Bootstrap - Copyright © 2018 none ..\bin\patcher\ false + false + false + false + false + \ No newline at end of file diff --git a/BepInEx.Bootstrap/Properties/AssemblyInfo.cs b/BepInEx.Bootstrap/Properties/AssemblyInfo.cs deleted file mode 100644 index ba1b63c..0000000 --- a/BepInEx.Bootstrap/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -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("BepInEx.Bootstrap")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("BepInEx.Bootstrap")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[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("6e6bc1e5-5be8-4566-b3ae-52c4cb218aeb")] - -// 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.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] \ No newline at end of file diff --git a/BepInEx.Core/BepInEx.Core.csproj b/BepInEx.Core/BepInEx.Core.csproj index 4d1b56c..9a66c1c 100644 --- a/BepInEx.Core/BepInEx.Core.csproj +++ b/BepInEx.Core/BepInEx.Core.csproj @@ -5,10 +5,11 @@ BepInEx BepInEx Unity plugin injection framework - Copyright © Bepis 2018 - 6.0.0.0 - 6.0.0.0 false + false + false + false + false none @@ -39,4 +40,5 @@ + \ No newline at end of file diff --git a/BepInEx.Core/Properties/AssemblyInfo.cs b/BepInEx.Core/Properties/AssemblyInfo.cs index 5d35686..08c1b21 100644 --- a/BepInEx.Core/Properties/AssemblyInfo.cs +++ b/BepInEx.Core/Properties/AssemblyInfo.cs @@ -1,44 +1,9 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; // ReSharper disable once RedundantUsingDirective using BepInEx; -// 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("BepInEx")] -[assembly: AssemblyDescription("Unity plugin injection framework")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("BepInEx")] -[assembly: AssemblyCopyright("Copyright © Bepis 2018")] -[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("4ffba620-f5ed-47f9-b90c-dad1316fd9b9")] - [assembly: InternalsVisibleTo("BepInEx.Preloader.Core")] [assembly: InternalsVisibleTo("BepInEx.Unity")] [assembly: InternalsVisibleTo("BepInEx.NetLauncher")] [assembly: InternalsVisibleTo("BepInEx.IL2CPP")] [assembly: InternalsVisibleTo("BepInExTests")] - -// 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.0.*")] -[assembly: AssemblyVersion("6.0.0.0")] -[assembly: AssemblyFileVersion("6.0.0.0")] \ No newline at end of file diff --git a/BepInEx.IL2CPP/BepInEx.IL2CPP.csproj b/BepInEx.IL2CPP/BepInEx.IL2CPP.csproj index 981a7c1..a972200 100644 --- a/BepInEx.IL2CPP/BepInEx.IL2CPP.csproj +++ b/BepInEx.IL2CPP/BepInEx.IL2CPP.csproj @@ -3,13 +3,14 @@ net472 BepInEx.IL2CPP BepInEx.IL2CPP - Copyright © 2020 - 6.0.0.0 - 6.0.0.0 true ..\bin\IL2CPP\ 8 false + false + false + false + false portable @@ -52,4 +53,11 @@ + + + + + + + \ No newline at end of file diff --git a/BepInEx.IL2CPP/Properties/AssemblyInfo.cs b/BepInEx.IL2CPP/Properties/AssemblyInfo.cs deleted file mode 100644 index 585510c..0000000 --- a/BepInEx.IL2CPP/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -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("BepInEx.IL2CPP")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("BepInEx.IL2CPP")] -[assembly: AssemblyCopyright("Copyright © 2020")] -[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("429d5f83-7fec-4d09-ab82-e868eb61af59")] - -// 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.0.*")] -[assembly: AssemblyVersion("6.0.0.0")] -[assembly: AssemblyFileVersion("6.0.0.0")] diff --git a/BepInEx.NetLauncher/BepInEx.NetLauncher.csproj b/BepInEx.NetLauncher/BepInEx.NetLauncher.csproj index 18530a1..198c176 100644 --- a/BepInEx.NetLauncher/BepInEx.NetLauncher.csproj +++ b/BepInEx.NetLauncher/BepInEx.NetLauncher.csproj @@ -5,8 +5,11 @@ true BepInEx.NetLauncher BepInEx.NetLauncher - Copyright © 2020 false + false + false + false + false full @@ -24,4 +27,11 @@ + + + + + + + \ No newline at end of file diff --git a/BepInEx.NetLauncher/Properties/AssemblyInfo.cs b/BepInEx.NetLauncher/Properties/AssemblyInfo.cs deleted file mode 100644 index 775e854..0000000 --- a/BepInEx.NetLauncher/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -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("BepInEx.NetLauncher")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("BepInEx.NetLauncher")] -[assembly: AssemblyCopyright("Copyright © 2020")] -[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("490b052b-7f23-4052-ad04-613856618901")] - -// 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.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/BepInEx.Patcher/BepInEx.Patcher.csproj b/BepInEx.Patcher/BepInEx.Patcher.csproj index ab92780..075885f 100644 --- a/BepInEx.Patcher/BepInEx.Patcher.csproj +++ b/BepInEx.Patcher/BepInEx.Patcher.csproj @@ -5,14 +5,15 @@ true BepInEx.Patcher BepInEx.Patcher - Copyright © Bepis 2018 - 5.0.0.0 - 5.0.0.0 embedded true ..\bin\patcher\ MinimumRecommendedRules.ruleset false + false + false + false + false BepInEx.Patcher.Program @@ -37,4 +38,11 @@ + + + + + + + \ No newline at end of file diff --git a/BepInEx.Patcher/Properties/AssemblyInfo.cs b/BepInEx.Patcher/Properties/AssemblyInfo.cs deleted file mode 100644 index 1df26b3..0000000 --- a/BepInEx.Patcher/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -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("BepInEx.Patcher")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("BepInEx.Patcher")] -[assembly: AssemblyCopyright("Copyright © Bepis 2018")] -[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("dc89f18b-235b-4c01-ab31-af40dce5c4c7")] - -// 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.0.*")] -[assembly: AssemblyVersion("5.0.0.0")] -[assembly: AssemblyFileVersion("5.0.0.0")] \ No newline at end of file diff --git a/BepInEx.Preloader.Core/BepInEx.Preloader.Core.csproj b/BepInEx.Preloader.Core/BepInEx.Preloader.Core.csproj index 3890499..df4d3aa 100644 --- a/BepInEx.Preloader.Core/BepInEx.Preloader.Core.csproj +++ b/BepInEx.Preloader.Core/BepInEx.Preloader.Core.csproj @@ -3,9 +3,12 @@ net35 BepInEx.Preloader.Core BepInEx.Preloader.Core - Copyright © 2020 ..\bin\ false + false + false + false + false full diff --git a/BepInEx.Preloader.Core/Properties/AssemblyInfo.cs b/BepInEx.Preloader.Core/Properties/AssemblyInfo.cs index b74a68e..86fd66a 100644 --- a/BepInEx.Preloader.Core/Properties/AssemblyInfo.cs +++ b/BepInEx.Preloader.Core/Properties/AssemblyInfo.cs @@ -1,40 +1,5 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -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("BepInEx.Preloader.Core")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("BepInEx.Preloader.Core")] -[assembly: AssemblyCopyright("Copyright © 2020")] -[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("15f8bc38-a761-4f93-8903-1b531ac5d9f9")] +using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("BepInEx.Preloader.Unity")] [assembly: InternalsVisibleTo("BepInEx.NetLauncher")] [assembly: InternalsVisibleTo("BepInEx.IL2CPP")] - -// 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.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/BepInEx.Preloader.Unity/BepInEx.Preloader.Unity.csproj b/BepInEx.Preloader.Unity/BepInEx.Preloader.Unity.csproj index 248d9f1..af88fef 100644 --- a/BepInEx.Preloader.Unity/BepInEx.Preloader.Unity.csproj +++ b/BepInEx.Preloader.Unity/BepInEx.Preloader.Unity.csproj @@ -3,9 +3,12 @@ net35 BepInEx.Preloader.Unity BepInEx.Preloader.Unity - Copyright © 2020 ..\bin\ false + false + false + false + false full @@ -21,4 +24,11 @@ + + + + + + + \ No newline at end of file diff --git a/BepInEx.Preloader.Unity/Properties/AssemblyInfo.cs b/BepInEx.Preloader.Unity/Properties/AssemblyInfo.cs deleted file mode 100644 index 5d342d3..0000000 --- a/BepInEx.Preloader.Unity/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -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("BepInEx.Preloader.Unity")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("BepInEx.Preloader.Unity")] -[assembly: AssemblyCopyright("Copyright © 2020")] -[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("d404c973-441d-48ed-b266-c21320ba0d87")] - -// 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.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/BepInEx.Unity/BepInEx.Unity.csproj b/BepInEx.Unity/BepInEx.Unity.csproj index b99f8d4..5f4bd82 100644 --- a/BepInEx.Unity/BepInEx.Unity.csproj +++ b/BepInEx.Unity/BepInEx.Unity.csproj @@ -3,9 +3,12 @@ net35 BepInEx.Unity BepInEx.Unity - Copyright © 2020 ..\bin\Unity\ false + false + false + false + false full @@ -28,4 +31,11 @@ + + + + + + + \ No newline at end of file diff --git a/BepInEx.Unity/Properties/AssemblyInfo.cs b/BepInEx.Unity/Properties/AssemblyInfo.cs deleted file mode 100644 index 8cd8a54..0000000 --- a/BepInEx.Unity/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -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("BepInEx.Unity")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("BepInEx.Unity")] -[assembly: AssemblyCopyright("Copyright © 2020")] -[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("eae9fae6-8011-45a3-8b6e-0c7f14210533")] - -// 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.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/BepInEx.sln b/BepInEx.sln index e5002a6..44735df 100644 --- a/BepInEx.sln +++ b/BepInEx.sln @@ -41,6 +41,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Markdown", "Markdown", "{68 README.md = README.md EndProjectSection EndProject +Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "BepInEx.Shared", "BepInEx.Shared\BepInEx.Shared.shproj", "{5C7847FB-C16D-47BD-BB17-1045669F9AA7}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU diff --git a/BepInExTests/BepInExTests.csproj b/BepInExTests/BepInExTests.csproj index 68146c9..380c54b 100644 --- a/BepInExTests/BepInExTests.csproj +++ b/BepInExTests/BepInExTests.csproj @@ -39,4 +39,10 @@ + + + + + + \ No newline at end of file diff --git a/BepInExTests/Properties/AssemblyInfo.cs b/BepInExTests/Properties/AssemblyInfo.cs deleted file mode 100644 index 1487903..0000000 --- a/BepInExTests/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -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("BepInExTests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("BepInExTests")] -[assembly: AssemblyCopyright("Copyright © 2019")] -[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("e7cd429a-d057-48e3-8c51-e5c934e8e07b")] - -// 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.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")]