Display informations gathered from the assembly info.
$ dotnet add package AssemblyInfoHelperThe AssemblyInfoHelper gets and displays the assembly info of the assembly that calls this functions. This contains the following informations:
The description is get from the README.md file in the path given when creating the WindowAssemblyInfo.
The changelog is get from the CHANGELOG.md file in the path given when creating the WindowAssemblyInfo.
GitHub releases are taken from repository at the url given by the GitHubRepo attribute (see usage below).
The AssemblyInfoProject is used to test the AssemblyInfoHelper.
Include the in your project.
You can also use the Package Manager console with: PM> Install-Package AssemblyInfoHelper
To show all releases from GitHub add the GitHubRepo attribute to the AssemblyInfo.cs file:
[assembly: AssemblyInfoHelper.GitHub.GitHubRepo("https://github.com/M1S2/AssemblyInfoHelper")]
The simplest way to show the WindowAssemblyInfo is to add a AppInfoButton control to the application. Everything is done inside this control.
xmlns:assemblyInfoHelper="clr-namespace:AssemblyInfoHelper;assembly=AssemblyInfoHelper"
...
<assemblyInfoHelper:AppInfoButton EnableNewVersionNotification="True"/>
Or you can open the info window with:
AssemblyInfoHelper.WindowAssemblyInfo window = new AssemblyInfoHelper.WindowAssemblyInfo();
window.ShowDialog();
You can see and download all releases available on GitHub on the GitHub releases tab. To 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.