{"id":19834119,"url":"https://github.com/m1s2/assemblyinfohelper","last_synced_at":"2026-04-19T01:08:32.422Z","repository":{"id":39606969,"uuid":"201543766","full_name":"M1S2/AssemblyInfoHelper","owner":"M1S2","description":"Display informations gathered from the assembly attributes","archived":false,"fork":false,"pushed_at":"2023-06-14T17:51:35.000Z","size":28117,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-11T20:50:31.076Z","etag":null,"topics":["assembly","assembly-info"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/M1S2.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-09T21:39:20.000Z","updated_at":"2022-07-03T12:30:07.000Z","dependencies_parsed_at":"2025-01-11T10:39:58.801Z","dependency_job_id":"33a338d2-4752-409c-99a2-f22da97fffba","html_url":"https://github.com/M1S2/AssemblyInfoHelper","commit_stats":{"total_commits":86,"total_committers":2,"mean_commits":43.0,"dds":"0.023255813953488413","last_synced_commit":"4757fc3e126cb1673dcca08c4e45f44fb8b3525b"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M1S2%2FAssemblyInfoHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M1S2%2FAssemblyInfoHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M1S2%2FAssemblyInfoHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M1S2%2FAssemblyInfoHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/M1S2","download_url":"https://codeload.github.com/M1S2/AssemblyInfoHelper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241198976,"owners_count":19926554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assembly","assembly-info"],"created_at":"2024-11-12T12:03:16.202Z","updated_at":"2026-04-19T01:08:32.414Z","avatar_url":"https://github.com/M1S2.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AssemblyInfoHelper\n\n[![GitHub Release Version](https://img.shields.io/github/v/release/M1S2/AssemblyInfoHelper)](https://github.com/M1S2/AssemblyInfoHelper/releases/latest)\n[![GitHub License](https://img.shields.io/github/license/M1S2/AssemblyInfoHelper)](https://github.com/M1S2/AssemblyInfoHelper/blob/master/LICENSE.md)\n[![Nuget Version](https://img.shields.io/nuget/v/AssemblyInfoHelper.svg)](https://www.nuget.org/packages/AssemblyInfoHelper/)\n[![Nuget Downloads](https://img.shields.io/nuget/dt/AssemblyInfoHelper)](https://www.nuget.org/packages/AssemblyInfoHelper/)\n\n## Purpose\n\n### Version Info Display\n\nDisplays the assembly attributes of the assembly that calls this functions.\nThis contains the following informations:\n- AssemblyTitle\n- AssemblyDescription\n- AssemblyCompany\n- AssemblyProduct\n- AssemblyCopyright\n- AssemblyTrademark\n- AssemblyVersion\n- AssemblyFileVersion (this attribute is only show if it differs from the AssemblyVersion)\n- AssemblyInformationalVersion\n- AssemblyCreationTime\n\n![General Infos](https://github.com/M1S2/AssemblyInfoHelper/raw/master/Screenshots/AssemblyInfoWindow_GeneralInfos.PNG)\n\n### Readme Viewer\n\nThe Readme is get from the README.md file in the path given when creating the WindowAssemblyInfo or the application startup path.\n\nThis page is hidden if not file is found.\n\n![Readme](https://github.com/M1S2/AssemblyInfoHelper/raw/master/Screenshots/AssemblyInfoWindow_Readme.PNG)\n\n### Changelog Viewer\n\nThe Changelog is get from the CHANGELOG.md file in the path given when creating the WindowAssemblyInfo or the application startup path.\n\nThis page is hidden if not file is found.\n\n![Changelog](https://github.com/M1S2/AssemblyInfoHelper/raw/master/Screenshots/AssemblyInfoWindow_Changelog.PNG)\n\n### GitHub Release Viewer\n\nGitHub releases are taken from repository at the given URL (see usage below). \n\nThis page is hidden if not repository URL is assigned. This also disabled the complete update feature (see below).\n\n![GitHub Releases](https://github.com/M1S2/AssemblyInfoHelper/raw/master/Screenshots/AssemblyInfoWindow_GitHubReleases.PNG)\n\nThe **AssemblyInfoHelper.Demo** is used to test the AssemblyInfoHelper.\n\n## Installation\n\nInclude the [latest release from nuget.org](https://www.nuget.org/packages/AssemblyInfoHelper/) in your project.\n\nYou can also use the Package Manager console with: `PM\u003e Install-Package AssemblyInfoHelper`\n\n## Usage\n\n### Show WindowAssemblyInfo\n\nThe simplest way to show the WindowAssemblyInfo is to add a `AppInfoButton` control to the application. Everything is done inside this control.\n\n```csharp\nxmlns:assemblyInfoHelper=\"clr-namespace:AssemblyInfoHelper;assembly=AssemblyInfoHelper\"\n...\n\u003cassemblyInfoHelper:AppInfoButton EnableNewVersionNotification=\"True\"/\u003e\n```\n\n![AppInfoButton](https://github.com/M1S2/AssemblyInfoHelper/raw/master/Screenshots/AppInfoButton.PNG)\n\nOr you can open the info window with: \n\n```csharp\nAssemblyInfoHelper.WindowAssemblyInfo window = new AssemblyInfoHelper.WindowAssemblyInfo();\nwindow.ShowDialog();\n```\n\n### GitHub Releases and Update Feature\n\nTo show all releases from GitHub, the repository URL must be assigned.\n\nThe easiest way is to set the `RepositoryUrl` in the .csproj file (see Add assembly attributes \u003e New style Projects below).\nAn embedded Nuget build target will make this setting available to the AssemblyInfoHelper.\n\nThe older alternative is to add the `GitHubRepo` attribute to the AssemblyInfo.cs file or anywhere else in your application (see Add assembly attributes \u003e Old style Projects below).\n\n## Add assembly attributes\n\n### New style projects\nAdd the following properties to a .csproj file to include assembly attributes:\n```csharp\n\u003cPropertyGroup\u003e\n\t\u003cGenerateAssemblyInfo\u003etrue\u003c/GenerateAssemblyInfo\u003e\n\t\u003cTitle\u003eTitleText\u003c/Title\u003e\n\t\u003cDescription\u003eDescriptionText\u003c/Description\u003e\n\t\u003cCompany\u003eCompanyText\u003c/Company\u003e\n\t\u003cProduct\u003eProductText\u003c/Product\u003e\n\t\u003cCopyright\u003eCopyright © 2022\u003c/Copyright\u003e\n\t\u003cRepositoryUrl\u003ehttps://github.com/M1S2/AssemblyInfoHelper\u003c/RepositoryUrl\u003e\n\u003c/PropertyGroup\u003e\n```\n\n### Old style projects\nAdd the following lines to the AssemblyInfo.cs file to include assembly attributes:\n```csharp\n[assembly: AssemblyTitle(\"TitleText\")]\n[assembly: AssemblyDescription(\"DescriptionText\")]\n[assembly: AssemblyCompany(\"CompanyText\")]\n[assembly: AssemblyProduct(\"ProductText\")]\n[assembly: AssemblyCopyright(\"Copyright © 2022\")]\n[assembly: AssemblyTrademark(\"TrademarkText\")]\n[assembly: AssemblyInfoHelper.GitHub.GitHubRepo(\"https://github.com/M1S2/AssemblyInfoHelper\")]\n```\n\n## Update Feature\n\nYou can see and download all releases available on GitHub on the GitHub releases tab.\nTo Upgrade/Repair/Downgrade click on the button beside the corresponding release. The release is downloaded from GitHub and installed automatically depending if an installer or binaries are available.\n\nThe release binaries must be added to a GitHub release as asset. The following naming conventions are used to detect, what type of asset it is:\n\n*For binaries:*\n- %ProjectName%_Binaries.zip\n- %ProjectName%.zip\n- %ProjectName%_%Version%.zip (e.g. %ProjectName%_v1.0.0.zip)\n- bin.zip\n\n*For installer:*\n- %ProjectName%_Installer.zip\n- Installer.zip\n- Setup.zip\n- Setup.exe\n\n### Persistent files during update\n\nIf files should be preserved during the update process, the `UpdatePersistentFiles` attribute can be added to the `AssemblyInfo.cs` file:\n```csharp\n[assembly: AssemblyInfoHelper.GitHub.UpdatePersistentFiles(\"Filename.txt\")]\n```\nAdapt the \"Filename.txt\" to the file you want to keep. The filename is relative to the executing assembly. E.g. if you want to keep a database file named \"Database.db\" that is located beside the executable \"DemoApp.exe\", use \"Database.db\" with the `UpdatePersistentFiles` attribute.\n\nIf multiple files should be kept, add one `UpdatePersistentFiles` attribute for each file. Files in subfolders can also be persisted.\n```csharp\n[assembly: AssemblyInfoHelper.GitHub.UpdatePersistentFiles(\"Filename1.txt\")]\n[assembly: AssemblyInfoHelper.GitHub.UpdatePersistentFiles(\"Folder\\\\Filename2.txt\")]\n```\n\nIt is also possible to persist all files matching a specific pattern. This can be used to persist e.g. all database files with the \".db\" extension (see the following example). Use * as wildcard as placeholder.\n```csharp\n[assembly: AssemblyInfoHelper.GitHub.UpdatePersistentFiles(\"*.db\")]\n```\n\nIf the file doesn't exist, it is simply not persisted and no warning or error is shown.\n\n### Temporary folder used by the update feature\n\nThe %AppData%\\Local\\\\%ProjectName% folder is used to temporary save the downloaded release. Also the files that should be persisted are saved here.\nAfer the update was finished, the folder content is deleted. Only the Updater.exe remains because it can't delete itself.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1s2%2Fassemblyinfohelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1s2%2Fassemblyinfohelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1s2%2Fassemblyinfohelper/lists"}