You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

LLamaSharpBackend.props 1.0 kB

2 years ago
123456789101112131415161718192021222324
  1. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  2. <!--
  3. NuGet packages.config doesn't support native assemblies automatically,
  4. so copy the native assemblies to the output directory.
  5. -->
  6. <ItemGroup Condition="Exists('packages.config') OR
  7. Exists('$(MSBuildProjectName).packages.config') OR
  8. Exists('packages.$(MSBuildProjectName).config')">
  9. <Content Include="$(MSBuildThisFileDirectory)\..\..\runtimes\win-x64\native\*.dll"
  10. Condition="'$(PlatformTarget)' == 'x64'">
  11. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  12. <Visible>false</Visible>
  13. <Link>%(Filename)%(Extension)</Link>
  14. </Content>
  15. <Content Include="$(MSBuildThisFileDirectory)\..\..\runtimes\win-x86\native\*.dll"
  16. Condition="'$(PlatformTarget)' == 'x86'">
  17. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  18. <Visible>false</Visible>
  19. <Link>%(Filename)%(Extension)</Link>
  20. </Content>
  21. </ItemGroup>
  22. </Project>