From b7293a15f7ce9d0610f82da379d4f43ea1c10174 Mon Sep 17 00:00:00 2001 From: Kevin Pilch Date: Sun, 2 Dec 2018 16:22:07 -0800 Subject: [PATCH] Generate AssemblyInfos, get rid of App.config, and change NuGet package to global tool --- SampleTestAssembly/Properties/AssemblyInfo.cs | 36 ------------------ SampleTestAssembly/SampleTestAssembly.csproj | 4 +- xunit.runner.data/Properties/AssemblyInfo.cs | 35 ------------------ xunit.runner.data/xunit.runner.data.csproj | 3 +- .../Properties/AssemblyInfo.cs | 35 ------------------ .../xunit.runner.worker.csproj | 4 +- xunit.runner.wpf/App.config | 6 --- xunit.runner.wpf/Properties/AssemblyInfo.cs | 37 +------------------ xunit.runner.wpf/xunit.runner.wpf.csproj | 29 ++++++++------- xunit.runner.wpf/xunit.runner.wpf.nuspec | 20 ---------- xunit.runner.wpf/xunit.runner.wpf.targets | 9 ----- 11 files changed, 25 insertions(+), 193 deletions(-) delete mode 100644 SampleTestAssembly/Properties/AssemblyInfo.cs delete mode 100644 xunit.runner.data/Properties/AssemblyInfo.cs delete mode 100644 xunit.runner.worker/Properties/AssemblyInfo.cs delete mode 100644 xunit.runner.wpf/App.config delete mode 100644 xunit.runner.wpf/xunit.runner.wpf.nuspec delete mode 100644 xunit.runner.wpf/xunit.runner.wpf.targets diff --git a/SampleTestAssembly/Properties/AssemblyInfo.cs b/SampleTestAssembly/Properties/AssemblyInfo.cs deleted file mode 100644 index 4a5bc90..0000000 --- a/SampleTestAssembly/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("SampleTestAssembly")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("SampleTestAssembly")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[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("bdafb5dd-ffb3-4a94-a312-dfb080010846")] - -// 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/SampleTestAssembly/SampleTestAssembly.csproj b/SampleTestAssembly/SampleTestAssembly.csproj index 6854684..b8b1d3e 100644 --- a/SampleTestAssembly/SampleTestAssembly.csproj +++ b/SampleTestAssembly/SampleTestAssembly.csproj @@ -1,9 +1,11 @@  + net461 - false + + \ No newline at end of file diff --git a/xunit.runner.data/Properties/AssemblyInfo.cs b/xunit.runner.data/Properties/AssemblyInfo.cs deleted file mode 100644 index c41dd9f..0000000 --- a/xunit.runner.data/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +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("xunit.runner.data")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("xunit.runner.data")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[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("a1f579f4-443e-4f64-bc55-998ab86ff293")] - -// 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/xunit.runner.data/xunit.runner.data.csproj b/xunit.runner.data/xunit.runner.data.csproj index 0aab30d..d22e7a7 100644 --- a/xunit.runner.data/xunit.runner.data.csproj +++ b/xunit.runner.data/xunit.runner.data.csproj @@ -1,7 +1,8 @@  + Xunit.Runner.Data net452 - false + \ No newline at end of file diff --git a/xunit.runner.worker/Properties/AssemblyInfo.cs b/xunit.runner.worker/Properties/AssemblyInfo.cs deleted file mode 100644 index 5aa7b35..0000000 --- a/xunit.runner.worker/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +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("xunit.runner.worker")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("xunit.runner.worker")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[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("9df97a2b-0eb5-4b12-9f81-69dfac979814")] - -// 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/xunit.runner.worker/xunit.runner.worker.csproj b/xunit.runner.worker/xunit.runner.worker.csproj index 1be4f1a..e1d06a2 100644 --- a/xunit.runner.worker/xunit.runner.worker.csproj +++ b/xunit.runner.worker/xunit.runner.worker.csproj @@ -1,12 +1,14 @@  + Exe Xunit.Runner.Worker net452 - false + + \ No newline at end of file diff --git a/xunit.runner.wpf/App.config b/xunit.runner.wpf/App.config deleted file mode 100644 index 2d2a12d..0000000 --- a/xunit.runner.wpf/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/xunit.runner.wpf/Properties/AssemblyInfo.cs b/xunit.runner.wpf/Properties/AssemblyInfo.cs index 2252cdb..aff6210 100644 --- a/xunit.runner.wpf/Properties/AssemblyInfo.cs +++ b/xunit.runner.wpf/Properties/AssemblyInfo.cs @@ -1,25 +1,4 @@ -using System.Reflection; -using System.Resources; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Windows; - -// 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("xunit.runner.wpf")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("xunit.runner.wpf")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[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)] +using System.Windows; //In order to begin building localizable applications, set //CultureYouAreCodingWith in your .csproj file @@ -39,17 +18,3 @@ using System.Windows; //(used if a resource is not found in the page, // app, or any theme specific resource dictionaries) )] - - -// 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/xunit.runner.wpf/xunit.runner.wpf.csproj b/xunit.runner.wpf/xunit.runner.wpf.csproj index 6d4dcf8..6505610 100644 --- a/xunit.runner.wpf/xunit.runner.wpf.csproj +++ b/xunit.runner.wpf/xunit.runner.wpf.csproj @@ -1,14 +1,23 @@  WinExe - Properties - Xunit.Runner.Wpf netcoreapp3.0 - $(appveyor_build_version) - 1.0.0-local - Artwork\Application.ico true - false + Xunit.Runner.Wpf + NU1701;$(NoWarn) + Artwork\Application.ico + Pilchie + true + true + XUnit Gui written in WPF + https://github.com/Pilchie/xunit.runner.wpf + https://github.com/Pilchie/xunit.runner.wpf + XUnit Gui test runner + en-us + $(appveyor_build_version) + 1.0.0-local + $(appveyor_build_version) + $(appveyor_build_version) @@ -21,13 +30,6 @@ - - - $(NuPkgVersion) - False - - - false @@ -40,4 +42,5 @@ + \ No newline at end of file diff --git a/xunit.runner.wpf/xunit.runner.wpf.nuspec b/xunit.runner.wpf/xunit.runner.wpf.nuspec deleted file mode 100644 index e5bca01..0000000 --- a/xunit.runner.wpf/xunit.runner.wpf.nuspec +++ /dev/null @@ -1,20 +0,0 @@ - - - - xunit.runner.wpf - $version$ - xUnit.Runner.WPF - Pilchie - Pilchie - https://github.com/Pilchie/xunit.runner.wpf - false - XUnit Gui written in WPF - XUnit Gui test runner - - - - - - - - diff --git a/xunit.runner.wpf/xunit.runner.wpf.targets b/xunit.runner.wpf/xunit.runner.wpf.targets deleted file mode 100644 index 5766cc9..0000000 --- a/xunit.runner.wpf/xunit.runner.wpf.targets +++ /dev/null @@ -1,9 +0,0 @@ - - - - Program - $(MSBuildThisFileDirectory)..\tools\xunit.runner.wpf.exe - $(AssemblyName).dll - $(OutputDirectory) - -