Skip to content

Commit

Permalink
Merge pull request #181 from K-Society/NewNativeDllStrategy
Browse files Browse the repository at this point in the history
Testing.
  • Loading branch information
maniglia authored Jan 2, 2025
2 parents 3d900f9 + 434414c commit 8a6cf25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,6 @@
<!-- Copyright © K-Society and contributors. All rights reserved. Licensed under the K-Society License. See LICENSE.TXT file in the project root for full license information. -->

<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Condition=" '$(OS)' == 'WINDOWS_NT' ">
<Content Include="$(MSBuildThisFileDirectory)native\x86\Programmer\*.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>dll\x86\%(FileName)%(Extension)</Link>
<Visible>false</Visible>
</Content>
<Content Include="$(MSBuildThisFileDirectory)native\Programmer\version">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>dll\x86\version</Link>
<Visible>false</Visible>
</Content>
<Content Include="$(MSBuildThisFileDirectory)native\x86\STLinkUSBDriver.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>dll\x86\STLinkUSBDriver.dll</Link>
<Visible>false</Visible>
</Content>
</ItemGroup>
<ItemGroup Condition=" '$(OS)' == 'WINDOWS_NT' ">
<Content Include="$(MSBuildThisFileDirectory)native\x64\Programmer\*.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>dll\x64\%(FileName)%(Extension)</Link>
<Visible>false</Visible>
</Content>
<Content Include="$(MSBuildThisFileDirectory)native\Programmer\version">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>dll\x64\version</Link>
<Visible>false</Visible>
</Content>
<Content Include="$(MSBuildThisFileDirectory)native\x64\STLinkUSBDriver.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>dll\x64\STLinkUSBDriver.dll</Link>
<Visible>false</Visible>
</Content>
</ItemGroup>
<ItemGroup>
<None Update="@(None)">
<Visible Condition="'%(NuGetItemType)' == 'None' and '%(NuGetPackageId)' == 'KSociety.SharpCubeProgrammer'">False</Visible>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<RootNamespace>SharpCubeProgrammer</RootNamespace>
</PropertyGroup>

<!--<ItemGroup>
<ItemGroup>
<Content Include="BuildMultiTargeting\KSociety.SharpCubeProgrammer.props">
<PackagePath>buildMultiTargeting</PackagePath>
<Pack>true</Pack>
Expand All @@ -20,7 +20,7 @@
</Content>
<Content Include="Build\KSociety.SharpCubeProgrammer.targets" Pack="true" PackagePath="build" />
<Content Include="Build\KSociety.SharpCubeProgrammer.props" Pack="true" PackagePath="build" />
</ItemGroup>-->
</ItemGroup>

<ItemGroup>
<None Include="..\..\..\build\Programmer\bin\x64\$(Configuration)\*.dll" Pack="true" PackagePath="runtimes\win-x64\native" Visible="false">
Expand Down
2 changes: 1 addition & 1 deletion src/01/Samples/QuickStart/QuickStart.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\KSociety.SharpCubeProgrammer\KSociety.SharpCubeProgrammer.csproj" />
<PackageReference Include="KSociety.SharpCubeProgrammer" Version="0.4.23" />
</ItemGroup>

</Project>

0 comments on commit 8a6cf25

Please sign in to comment.