From 509bd1504a928c328029c20fcb3141fa069ffa5b Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Fri, 27 Sep 2024 08:10:36 +1000 Subject: [PATCH] Set some more metadata on BizHawk assemblies The documentation for these is lacking, as I've come to expect, but I'm angry all the same. For EmuHawk and DiscoHawk, I've pushed `$(Description)` (normally only seen when publishing to NuGet) into `$(AssemblyTitle)`, which Windows labels as "File description", and then explicitly set `$(Product)`. Also `$(NeutralLanguage)` doesn't set a culture, it points any lookups for `en-US` localisations to embedded resources, which I believe is the default. This just makes it explicit. --- src/BizHawk.Client.DiscoHawk/BizHawk.Client.DiscoHawk.csproj | 1 + src/BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj | 1 + src/MainSlnCommon.props | 2 ++ src/MainSlnExecutable.props | 4 +++- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/BizHawk.Client.DiscoHawk/BizHawk.Client.DiscoHawk.csproj b/src/BizHawk.Client.DiscoHawk/BizHawk.Client.DiscoHawk.csproj index 95f68f935f..a3331e1bde 100755 --- a/src/BizHawk.Client.DiscoHawk/BizHawk.Client.DiscoHawk.csproj +++ b/src/BizHawk.Client.DiscoHawk/BizHawk.Client.DiscoHawk.csproj @@ -5,6 +5,7 @@ discohawk.ico + Disc image format converter disable true diff --git a/src/BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj b/src/BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj index 3814820edd..6aad757ca7 100755 --- a/src/BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj +++ b/src/BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj @@ -7,6 +7,7 @@ true images/logo.ico app.manifest + Multi-system emulator frontend disable None true diff --git a/src/MainSlnCommon.props b/src/MainSlnCommon.props index 3a2849331c..b9e1a7606a 100644 --- a/src/MainSlnCommon.props +++ b/src/MainSlnCommon.props @@ -8,7 +8,9 @@ false embedded $(DefineConstants);AVI_SUPPORT + en-US $(NoWarn);CS1573;NU1702 + BizHawk None diff --git a/src/MainSlnExecutable.props b/src/MainSlnExecutable.props index 0249f6573e..ace14a6197 100644 --- a/src/MainSlnExecutable.props +++ b/src/MainSlnExecutable.props @@ -1,14 +1,16 @@ + $(Description) $(MSBuildProjectDirectory)/../../output/dll/ + $(MSBuildProjectName.Substring($([MSBuild]::Add($(MSBuildProjectName.LastIndexOf('.')), 1)))) $(MSBuildProjectDirectory)/../../output/ - $(MSBuildProjectName.Substring($([MSBuild]::Add($(MSBuildProjectName.LastIndexOf('.')), 1)))).exe + $(Product).exe $(ExecFilesDest)$(TargetFileName)