In VS2019 / .NET Core 3.0, the project metadata is saved in the project file:
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework>
<UseWPF>true</UseWPF>
<Authors>.....</Authors>
<Description>.....</Description>
<NeutralLanguage>.....</NeutralLanguage>
<Copyright>.....</Copyright>
<StartupObject>.....</StartupObject>
<ApplicationIcon>.....</ApplicationIcon>
<Company>.....</Company>
<PackageTags>.....</PackageTags>
<PackageReleaseNotes>.....</PackageReleaseNotes>
<PackageProjectUrl>.....</PackageProjectUrl>
<PackageIconUrl>.....</PackageIconUrl>
<RepositoryUrl>.....</RepositoryUrl>
<RepositoryType>.....</RepositoryType>
</PropertyGroup>
Some of these vales can be accessed via version or custom attributes. But some new values like Authors
, PackageTags
, ... are not yet part of the AssemblyInfo
handling.
My question is: how can I access these values from within my application?