Fixed bug in IndirectResource.ctor

pull/180/head
dahall 2020-10-22 14:39:15 -06:00
parent a1f037644b
commit e88e6d1b72
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ namespace Vanara.Windows.Shell
{
if (module is null) throw new ArgumentNullException(nameof(module));
if (resourceIdOrIndex == 0) throw new ArgumentOutOfRangeException(nameof(resourceIdOrIndex), "Value cannot be 0.");
RawValue = $"{module},{resourceIdOrIndex}" + (versionModifier is null ? "" : ';' + versionModifier);
RawValue = $"@{module},{resourceIdOrIndex}" + (versionModifier is null ? "" : ';' + versionModifier);
}
/// <summary>Initializes a new instance of the <see cref="IndirectResource"/> class.</summary>