Good afternoon. Please advise on the issue of adding external libraries to the package using clio:
In the .csproj file of the package I added the library:
$(ConfLibPath)/EUSignCP.dll
false
I have already changed the HintPath to $(RelativePkgFolderPath)/Assemblies/EUSignCP/EUSignCP.dll,
still, when adding EUSignCP.dll, the system throws an error "File "EUSignCP.dll" is not a valid .Net assembly".
Please advise, what am I doing wrong?
Like
The code disappeared here: <ItemGroup Label="3rd Party References"> <Reference Include="EUSignCP"> <HintPath>$(ConfLibPath)/EUSignCP.dll</HintPath> <Private>false</Private> </Reference> </ItemGroup>
Eugene Demchuk, Hello!
Try the following approach:
<ItemGroup Label="3rd Party References">
<Reference Include="$(RelativePkgFolderPath)/<PackageName>/Assemblies/EUSignCP.dll">
<SpecificVersion>False</SpecificVersion>
<Private>False</Private>
</Reference>
</ItemGroup>
Or you can try to Import external libraries using the Configuration section.
Thanks Eduard Dovydovskyi, I have already used this option, I will continue with other attempts...