From a7ca5d65b0ee19dc8b01cffb74c65628472a5aee Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 27 Feb 2020 18:32:04 -0800 Subject: [PATCH] Initial commit --- AssemblyInfo/AssemblyInfo.sln | 25 +++ AssemblyInfo/AssemblyInfo/App.config | 6 + AssemblyInfo/AssemblyInfo/AssemblyInfo.csproj | 90 ++++++++++ .../AssemlyInfoWindow.Designer.cs | 78 +++++++++ .../AssemblyInfo/AssemlyInfoWindow.cs | 154 ++++++++++++++++++ .../AssemblyInfo/AssemlyInfoWindow.resx | 123 ++++++++++++++ .../AssemblyInfo/Extensions/ByteConverter.cs | 44 +++++ AssemblyInfo/AssemblyInfo/Extensions/Util.cs | 18 ++ AssemblyInfo/AssemblyInfo/Options.cs | 13 ++ AssemblyInfo/AssemblyInfo/Program.cs | 30 ++++ .../AssemblyInfo/Properties/AssemblyInfo.cs | 36 ++++ .../Properties/Resources.Designer.cs | 71 ++++++++ .../AssemblyInfo/Properties/Resources.resx | 117 +++++++++++++ .../Properties/Settings.Designer.cs | 30 ++++ .../AssemblyInfo/Properties/Settings.settings | 7 + AssemblyInfo/AssemblyInfo/packages.config | 4 + 16 files changed, 846 insertions(+) create mode 100644 AssemblyInfo/AssemblyInfo.sln create mode 100644 AssemblyInfo/AssemblyInfo/App.config create mode 100644 AssemblyInfo/AssemblyInfo/AssemblyInfo.csproj create mode 100644 AssemblyInfo/AssemblyInfo/AssemlyInfoWindow.Designer.cs create mode 100644 AssemblyInfo/AssemblyInfo/AssemlyInfoWindow.cs create mode 100644 AssemblyInfo/AssemblyInfo/AssemlyInfoWindow.resx create mode 100644 AssemblyInfo/AssemblyInfo/Extensions/ByteConverter.cs create mode 100644 AssemblyInfo/AssemblyInfo/Extensions/Util.cs create mode 100644 AssemblyInfo/AssemblyInfo/Options.cs create mode 100644 AssemblyInfo/AssemblyInfo/Program.cs create mode 100644 AssemblyInfo/AssemblyInfo/Properties/AssemblyInfo.cs create mode 100644 AssemblyInfo/AssemblyInfo/Properties/Resources.Designer.cs create mode 100644 AssemblyInfo/AssemblyInfo/Properties/Resources.resx create mode 100644 AssemblyInfo/AssemblyInfo/Properties/Settings.Designer.cs create mode 100644 AssemblyInfo/AssemblyInfo/Properties/Settings.settings create mode 100644 AssemblyInfo/AssemblyInfo/packages.config diff --git a/AssemblyInfo/AssemblyInfo.sln b/AssemblyInfo/AssemblyInfo.sln new file mode 100644 index 0000000..fc6e1a7 --- /dev/null +++ b/AssemblyInfo/AssemblyInfo.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29806.167 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyInfo", "AssemblyInfo\AssemblyInfo.csproj", "{9AAB585F-C18C-4DC5-85FD-20902AC6732C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9AAB585F-C18C-4DC5-85FD-20902AC6732C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9AAB585F-C18C-4DC5-85FD-20902AC6732C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9AAB585F-C18C-4DC5-85FD-20902AC6732C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9AAB585F-C18C-4DC5-85FD-20902AC6732C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {77D143E2-703B-4951-BE9E-543B5B69FF41} + EndGlobalSection +EndGlobal diff --git a/AssemblyInfo/AssemblyInfo/App.config b/AssemblyInfo/AssemblyInfo/App.config new file mode 100644 index 0000000..193aecc --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/AssemblyInfo/AssemblyInfo/AssemblyInfo.csproj b/AssemblyInfo/AssemblyInfo/AssemblyInfo.csproj new file mode 100644 index 0000000..47ac92e --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/AssemblyInfo.csproj @@ -0,0 +1,90 @@ + + + + + Debug + AnyCPU + {9AAB585F-C18C-4DC5-85FD-20902AC6732C} + WinExe + AssemblyInfo + AssemblyInfo + v4.8 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\CommandLineParser.2.7.82\lib\net461\CommandLine.dll + + + + + + + + + + + + + + + + Form + + + AssemlyInfoWindow.cs + + + + + + + + AssemlyInfoWindow.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file diff --git a/AssemblyInfo/AssemblyInfo/AssemlyInfoWindow.Designer.cs b/AssemblyInfo/AssemblyInfo/AssemlyInfoWindow.Designer.cs new file mode 100644 index 0000000..2558da1 --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/AssemlyInfoWindow.Designer.cs @@ -0,0 +1,78 @@ +namespace AssemblyInfo +{ + partial class AssemlyInfoWindow + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.listInfo = new System.Windows.Forms.ListView(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.SuspendLayout(); + // + // listInfo + // + this.listInfo.FullRowSelect = true; + this.listInfo.HideSelection = false; + this.listInfo.Location = new System.Drawing.Point(12, 12); + this.listInfo.Name = "listInfo"; + this.listInfo.Size = new System.Drawing.Size(406, 380); + this.listInfo.TabIndex = 0; + this.listInfo.UseCompatibleStateImageBehavior = false; + this.listInfo.View = System.Windows.Forms.View.Details; + // + // toolTip1 + // + this.toolTip1.AutomaticDelay = 250; + this.toolTip1.AutoPopDelay = 2500; + this.toolTip1.InitialDelay = 250; + this.toolTip1.ReshowDelay = 0; + this.toolTip1.ShowAlways = true; + // + // AssemlyInfoWindow + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(430, 404); + this.Controls.Add(this.listInfo); + this.DoubleBuffered = true; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "AssemlyInfoWindow"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Assembly Info"; + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.ListView listInfo; + private System.Windows.Forms.ToolTip toolTip1; + } +} + diff --git a/AssemblyInfo/AssemblyInfo/AssemlyInfoWindow.cs b/AssemblyInfo/AssemblyInfo/AssemlyInfoWindow.cs new file mode 100644 index 0000000..5973b98 --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/AssemlyInfoWindow.cs @@ -0,0 +1,154 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Diagnostics; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Reflection; +using System.Runtime.Versioning; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using System.Linq; +using System.Security.Cryptography; +using AssemblyInfo.Extensions; + +namespace AssemblyInfo +{ + public partial class AssemlyInfoWindow : Form + { + private ContextMenu _contextMenu; + private bool _toolTipVisible = false; + public Options Options { get; } + + + public AssemlyInfoWindow(Options options) + { + Options = options; + InitializeComponent(); + BuildDetailsList(); + InspectAssembly(options.Filename); + } + + private void BuildDetailsList() + { + _contextMenu = new ContextMenu(); + _contextMenu.MenuItems.Add(new MenuItem("Copy", MenuItemCopy_Click, Shortcut.CtrlC)); + listInfo.ContextMenu = _contextMenu; + listInfo.ItemMouseHover += ListInfo_ItemMouseHover; + //listInfo.MouseMove += ListInfo_MouseMove; + toolTip1.Popup += ToolTip1_Popup; + toolTip1.SetToolTip(listInfo, "Test"); + var columnHeaders = new ColumnHeader[] { + new ColumnHeader { Name = "Property", Text = "", Width = 100 }, + new ColumnHeader { Name = "Value", Text = "", Width = listInfo.Width - 105 }, + }; + listInfo.Columns.AddRange(columnHeaders); + + var items = new ListViewItem[] + { + new ListViewItem(new string[] { "Name", "" }), + new ListViewItem(new string[] { "ProductName", "" }), + new ListViewItem(new string[] { "FileDescription", "" }), + new ListViewItem(new string[] { "Description", "" }), + new ListViewItem(new string[] { "Company", "" }), + new ListViewItem(new string[] { "Version", "" }), + new ListViewItem(new string[] { "FileVersion", "" }), + new ListViewItem(new string[] { "ProductVersion", "" }), + new ListViewItem(new string[] { "PublicKeyToken", "" }), + new ListViewItem(new string[] { "Framework", "" }), + new ListViewItem(new string[] { "Copyright", "" }), + new ListViewItem(new string[] { "Build", "" }), + new ListViewItem(new string[] { "IsDebug", "" }), + new ListViewItem(new string[] { "IsPatched", "" }), + new ListViewItem(new string[] { "IsPreRelease", "" }), + new ListViewItem(new string[] { "Language", "" }), + new ListViewItem(new string[] { "OriginalFilename", "" }), + new ListViewItem(new string[] { "FileSize", "" }), + new ListViewItem(new string[] { "SHA", "" }), + new ListViewItem(new string[] { "MD5", "" }), + }; + listInfo.Items.AddRange(items); + } + + private void ListInfo_ItemMouseHover(object sender, ListViewItemMouseHoverEventArgs e) + { + var item = e.Item; + if (item != null && e.Item.SubItems.Count >= 2 && !string.IsNullOrEmpty(item.SubItems[1].Text)) + { + Debug.WriteLine($"{item.SubItems[1].Text}"); + toolTip1.ToolTipTitle = item.SubItems[0].Text; + toolTip1.SetToolTip(listInfo, item.SubItems[1].Text); + } + } + + private void ToolTip1_Popup(object sender, PopupEventArgs e) + { + _toolTipVisible = true; + } + + private void MenuItemCopy_Click(object sender, EventArgs e) + { + var menuItem = sender as MenuItem; + var parent = menuItem.Parent as ContextMenu; + var control = parent.SourceControl as ListView; + var itemList = new List(); + foreach (ListViewItem item in control.SelectedItems) + itemList.Add(item); + Clipboard.SetText(string.Join(Environment.NewLine, itemList.Select(x => $"{x.SubItems[0].Text}={x.SubItems[1].Text}"))); + } + + private void ListInfo_MouseMove(object sender, MouseEventArgs e) + { + } + + private void InspectAssembly(string filename) + { + var assembly = Assembly.LoadFrom(filename); + var assemblyName = assembly.GetName(); + var version = assemblyName.Version; + var fileVersion = FileVersionInfo.GetVersionInfo(assembly.Location); + var targetFramework = assembly.CustomAttributes.FirstOrDefault(x => x.AttributeType == typeof(TargetFrameworkAttribute)); + var assemblyConfiguration = assembly.CustomAttributes.FirstOrDefault(x => x.AttributeType == typeof(AssemblyConfigurationAttribute)); + var fileInfo = new FileInfo(filename); + + listInfo.Items[0].SubItems[1].Text = $"{assembly.FullName}"; + listInfo.Items[1].SubItems[1].Text = $"{fileVersion.ProductName}"; + listInfo.Items[2].SubItems[1].Text = $"{fileVersion.FileDescription}"; + listInfo.Items[3].SubItems[1].Text = $"{fileVersion.Comments}"; + listInfo.Items[4].SubItems[1].Text = $"{fileVersion.CompanyName}"; + listInfo.Items[5].SubItems[1].Text = $"{version.ToString()}"; + listInfo.Items[6].SubItems[1].Text = $"{fileVersion.FileVersion}"; + listInfo.Items[7].SubItems[1].Text = $"{fileVersion.ProductVersion}"; + listInfo.Items[8].SubItems[1].Text = $"{string.Join("", assemblyName.GetPublicKeyToken().Select(b => b.ToString("x2")))}"; + listInfo.Items[9].SubItems[1].Text = targetFramework.ConstructorArguments?.FirstOrDefault().Value.ToString(); + listInfo.Items[10].SubItems[1].Text = $"{fileVersion.LegalCopyright}"; + listInfo.Items[11].SubItems[1].Text = $"{assemblyConfiguration.ConstructorArguments?.FirstOrDefault().Value.ToString()}"; + listInfo.Items[12].SubItems[1].Text = $"{fileVersion.IsDebug}"; + listInfo.Items[13].SubItems[1].Text = $"{fileVersion.IsPatched}"; + listInfo.Items[14].SubItems[1].Text = $"{fileVersion.IsPreRelease}"; + listInfo.Items[15].SubItems[1].Text = $"{fileVersion.Language}"; + listInfo.Items[16].SubItems[1].Text = $"{fileVersion.OriginalFilename}"; + listInfo.Items[17].SubItems[1].Text = $"{Util.BytesToString(fileInfo.Length)}"; + + ComputeHashAsync(filename).ConfigureAwait(false); + } + + private async Task ComputeHashAsync(string filename) + { + var bytes = File.ReadAllBytes(filename); + using (var sha = SHA256.Create()) + { + var shaHash = sha.ComputeHash(bytes); + listInfo.Items[18].SubItems[1].Text = AssemblyInfo.Extensions.ByteConverter.ToHex(shaHash); + } + using (var md5 = MD5.Create()) + { + var md5Hash = md5.ComputeHash(bytes); + listInfo.Items[19].SubItems[1].Text = AssemblyInfo.Extensions.ByteConverter.ToHex(md5Hash); + } + } + } +} diff --git a/AssemblyInfo/AssemblyInfo/AssemlyInfoWindow.resx b/AssemblyInfo/AssemblyInfo/AssemlyInfoWindow.resx new file mode 100644 index 0000000..df8339b --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/AssemlyInfoWindow.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/AssemblyInfo/AssemblyInfo/Extensions/ByteConverter.cs b/AssemblyInfo/AssemblyInfo/Extensions/ByteConverter.cs new file mode 100644 index 0000000..a6e1f5c --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/Extensions/ByteConverter.cs @@ -0,0 +1,44 @@ +namespace AssemblyInfo.Extensions +{ + public static class ByteConverter + { + public static string ToHex(this byte[] bytes) + { + char[] c = new char[bytes.Length * 2]; + + byte b; + + for (int bx = 0, cx = 0; bx < bytes.Length; ++bx, ++cx) + { + b = ((byte)(bytes[bx] >> 4)); + c[cx] = (char)(b > 9 ? b + 0x37 + 0x20 : b + 0x30); + + b = ((byte)(bytes[bx] & 0x0F)); + c[++cx] = (char)(b > 9 ? b + 0x37 + 0x20 : b + 0x30); + } + + return new string(c); + } + + public static byte[] HexToBytes(this string str) + { + if (str.Length == 0 || str.Length % 2 != 0) + return new byte[0]; + + byte[] buffer = new byte[str.Length / 2]; + char c; + for (int bx = 0, sx = 0; bx < buffer.Length; ++bx, ++sx) + { + // Convert first half of byte + c = str[sx]; + buffer[bx] = (byte)((c > '9' ? (c > 'Z' ? (c - 'a' + 10) : (c - 'A' + 10)) : (c - '0')) << 4); + + // Convert second half of byte + c = str[++sx]; + buffer[bx] |= (byte)(c > '9' ? (c > 'Z' ? (c - 'a' + 10) : (c - 'A' + 10)) : (c - '0')); + } + + return buffer; + } + } +} diff --git a/AssemblyInfo/AssemblyInfo/Extensions/Util.cs b/AssemblyInfo/AssemblyInfo/Extensions/Util.cs new file mode 100644 index 0000000..9b501f5 --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/Extensions/Util.cs @@ -0,0 +1,18 @@ +using System; + +namespace AssemblyInfo.Extensions +{ + public static class Util + { + public static string BytesToString(long byteCount, int decimalPlaces = 1) + { + string[] suf = { "B", "KB", "MB", "GB", "TB", "PB", "EB" }; //Longs run out around EB + if (byteCount == 0) + return "0" + suf[0]; + var bytes = Math.Abs(byteCount); + var place = Convert.ToInt32(Math.Floor(Math.Log(bytes, 1024))); + var num = Math.Round(bytes / Math.Pow(1024, place), decimalPlaces); + return (Math.Sign(byteCount) * num).ToString() + suf[place]; + } + } +} diff --git a/AssemblyInfo/AssemblyInfo/Options.cs b/AssemblyInfo/AssemblyInfo/Options.cs new file mode 100644 index 0000000..fa04d38 --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/Options.cs @@ -0,0 +1,13 @@ +using CommandLine; + +namespace AssemblyInfo +{ + public class Options + { + /// + /// Filename of assembly to inspect + /// + [Option('f', "filename", Required = true, HelpText = "Filename of assembly to inspect")] + public string Filename { get; set; } + } +} diff --git a/AssemblyInfo/AssemblyInfo/Program.cs b/AssemblyInfo/AssemblyInfo/Program.cs new file mode 100644 index 0000000..e3ea2a2 --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/Program.cs @@ -0,0 +1,30 @@ +using CommandLine; +using System; +using System.Windows.Forms; + +namespace AssemblyInfo +{ + static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main(string[] args) + { + Parser.Default.ParseArguments(args) + .WithParsed((o) => + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new AssemlyInfoWindow(o)); + }) + .WithNotParsed((errors) => + { + Console.Error.WriteLine($"Error: missing required arguments."); + foreach (var error in errors) + Console.Error.WriteLine($" - {error.ToString()}"); + }); + } + } +} diff --git a/AssemblyInfo/AssemblyInfo/Properties/AssemblyInfo.cs b/AssemblyInfo/AssemblyInfo/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..cd8feb8 --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +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("AssemblyInfo")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("AssemblyInfo")] +[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("9aab585f-c18c-4dc5-85fd-20902ac6732c")] + +// 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/AssemblyInfo/AssemblyInfo/Properties/Resources.Designer.cs b/AssemblyInfo/AssemblyInfo/Properties/Resources.Designer.cs new file mode 100644 index 0000000..1d92e29 --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace AssemblyInfo.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AssemblyInfo.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/AssemblyInfo/AssemblyInfo/Properties/Resources.resx b/AssemblyInfo/AssemblyInfo/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/AssemblyInfo/AssemblyInfo/Properties/Settings.Designer.cs b/AssemblyInfo/AssemblyInfo/Properties/Settings.Designer.cs new file mode 100644 index 0000000..d144b89 --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace AssemblyInfo.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/AssemblyInfo/AssemblyInfo/Properties/Settings.settings b/AssemblyInfo/AssemblyInfo/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/AssemblyInfo/AssemblyInfo/packages.config b/AssemblyInfo/AssemblyInfo/packages.config new file mode 100644 index 0000000..de690e6 --- /dev/null +++ b/AssemblyInfo/AssemblyInfo/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file