Skip to content

Commit

Permalink
Merge pull request #263 from IOTA-NET/261-bug-net-framework-needs-dll…
Browse files Browse the repository at this point in the history
…-in-output-dir

added build targets to support 4.8.1
  • Loading branch information
wireless90 authored Jan 9, 2024
2 parents e7b8274 + 8f06127 commit 5d8a3b1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions IotaSDK.NET/IotaSDK.NET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,14 @@
</Content>
</ItemGroup>

<ItemGroup>
<None Include="build\net48\IotaSDK.targets">
<Pack>true</Pack>
<PackagePath>build\net48\</PackagePath>
</None>
</ItemGroup>




</Project>
8 changes: 8 additions & 0 deletions IotaSDK.NET/build/net48/IotaSDK.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project>
<Target Name="CopyNativeLibraries" AfterTargets="Build">
<Copy SourceFiles="$(MSBuildThisFileDirectory)..\..\contentFiles\any\net48\iota_sdk.dll"
DestinationFolder="$(OutputPath)" />
<Copy SourceFiles="$(MSBuildThisFileDirectory)..\..\contentFiles\any\net48\libiota_sdk.so"
DestinationFolder="$(OutputPath)" />
</Target>
</Project>

0 comments on commit 5d8a3b1

Please sign in to comment.