You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Renaming library.dll to library_x86.dll and library_x64.dll isn't possible, since the dll filename for DLLImport must be known at compile time. To load either dll at runtime, set the dll search directory (PInvoke.SetDllDirectory(Path.Combine(Environment.CurrentDirectory, "x64"));
Is there a way to avoid duplicated component entries like above?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
a .NET project depends on a NuGet which copies native library assets with following structure into the output directory
Now HarvestProject generates a
.wxs
with dupplicated Components:Renaming library.dll to library_x86.dll and library_x64.dll isn't possible, since the dll filename for
DLLImport
must be known at compile time. To load either dll at runtime, set the dll search directory (PInvoke.SetDllDirectory(Path.Combine(Environment.CurrentDirectory, "x64"));
Is there a way to avoid duplicated component entries like above?
Beta Was this translation helpful? Give feedback.
All reactions