From fe0d1e9ad72c2b1e64704f7b240a8bab01bddb69 Mon Sep 17 00:00:00 2001 From: asos-gurpreetsingh Date: Tue, 13 Aug 2024 11:51:18 +0100 Subject: [PATCH] fix build versions on assembly --- src/Common/Properties/AssemblyInfo.cs | 33 ------------------- src/Directory.Build.props | 9 +++++ .../Properties/AssemblyInfo.cs | 33 ------------------- .../Properties/AssemblyInfo.cs | 32 ------------------ .../ServiceBusExplorer.Tests.csproj | 3 ++ src/ServiceBusExplorer.sln | 3 +- .../Properties/AssemblyInfo.cs | 3 -- 7 files changed, 14 insertions(+), 102 deletions(-) delete mode 100644 src/Common/Properties/AssemblyInfo.cs create mode 100644 src/Directory.Build.props delete mode 100644 src/NotificationHubs/Properties/AssemblyInfo.cs delete mode 100644 src/ServiceBusExplorer.Tests/Properties/AssemblyInfo.cs diff --git a/src/Common/Properties/AssemblyInfo.cs b/src/Common/Properties/AssemblyInfo.cs deleted file mode 100644 index f2c04b65..00000000 --- a/src/Common/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +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("Common")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Common")] -[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("de07dbeb-d772-49ba-bceb-a7ce29308ae3")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("0.0.0.0")] diff --git a/src/Directory.Build.props b/src/Directory.Build.props new file mode 100644 index 00000000..e7128671 --- /dev/null +++ b/src/Directory.Build.props @@ -0,0 +1,9 @@ + + + false + false + false + false + false + + diff --git a/src/NotificationHubs/Properties/AssemblyInfo.cs b/src/NotificationHubs/Properties/AssemblyInfo.cs deleted file mode 100644 index 6f8af905..00000000 --- a/src/NotificationHubs/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +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("NotificationHubs")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("NotificationHubs")] -[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("e836c914-9bfe-4c1c-96e5-6a414cdef485")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("0.0.0.0")] diff --git a/src/ServiceBusExplorer.Tests/Properties/AssemblyInfo.cs b/src/ServiceBusExplorer.Tests/Properties/AssemblyInfo.cs deleted file mode 100644 index aecc5a8b..00000000 --- a/src/ServiceBusExplorer.Tests/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,32 +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("ServiceBusExplorer.Tests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("ServiceBusExplorer.Tests")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2016")] -[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("ab80c6e1-376c-4e98-8512-5ac9161e932b")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("0.0.0.0")] diff --git a/src/ServiceBusExplorer.Tests/ServiceBusExplorer.Tests.csproj b/src/ServiceBusExplorer.Tests/ServiceBusExplorer.Tests.csproj index cc4df90e..eb43b4da 100644 --- a/src/ServiceBusExplorer.Tests/ServiceBusExplorer.Tests.csproj +++ b/src/ServiceBusExplorer.Tests/ServiceBusExplorer.Tests.csproj @@ -35,4 +35,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive + + + diff --git a/src/ServiceBusExplorer.sln b/src/ServiceBusExplorer.sln index 245e7ea3..7d308d20 100644 --- a/src/ServiceBusExplorer.sln +++ b/src/ServiceBusExplorer.sln @@ -8,8 +8,9 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B59933A5-4AE0-4340-9102-578619A93341}" ProjectSection(SolutionItems) = preProject .editorconfig = .editorconfig - ..\LICENSE.txt = ..\LICENSE.txt + Directory.Build.props = Directory.Build.props EventGridExplorer_README.md = EventGridExplorer_README.md + ..\LICENSE.txt = ..\LICENSE.txt ..\README.md = ..\README.md EndProjectSection EndProject diff --git a/src/ServiceBusExplorer/Properties/AssemblyInfo.cs b/src/ServiceBusExplorer/Properties/AssemblyInfo.cs index 1410424b..bedf7f61 100644 --- a/src/ServiceBusExplorer/Properties/AssemblyInfo.cs +++ b/src/ServiceBusExplorer/Properties/AssemblyInfo.cs @@ -13,12 +13,9 @@ // associated with an assembly. [assembly: AssemblyTitle("Service Bus Explorer")] [assembly: AssemblyDescription("The Service Bus Explorer allows users to connect to a Service Bus namespace and easily administer and test the entities of an Azure Service Bus namespace. The tool provides advanced features like import/export functionality and the ability to test entities.")] -[assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Paolo Salvatori")] [assembly: AssemblyProduct("Service Bus Explorer")] [assembly: AssemblyCopyright("Copyright © Microsoft 2017")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] // The following GUID is for the ID of the typelib if this project is exposed to COM