postsharp / PostSharp.Community.Packer

Packs all your .dlls into your main executable so it becomes standalone
MIT License
8 stars 1 forks source link

System.InvalidCastException type Sytem.Object[] to System.String[] #3

Closed chrisbbe closed 3 years ago

chrisbbe commented 3 years ago

Hi,

By initializing any of the string[] fields in PackerAttribute.cs, Packer throws InvalidCastException when casting from Sytem.Object[] to System.String[].

chrisbbe commented 3 years ago
[assembly: Packer(Unmanaged32Assemblies = new[] {"Something"})]

Will crash.

chrisbbe commented 3 years ago

Can you proceed with resolving the build failure and merging the PR for this bug? Thanks.

gfraiteur commented 3 years ago

Done.