Skip to content

Commit

Permalink
Move the native Windows files into runtimes.
Browse files Browse the repository at this point in the history
This works much better with .NET Core but still works with .NET Framework as before.
  • Loading branch information
cgravill committed Jul 4, 2019
1 parent 23511eb commit 855b192
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/DiffSharp/DiffSharp.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<OtherFlags>/warnon:1182</OtherFlags>
<PlatformTarget>x64</PlatformTarget>
<Version>0.8.2</Version>
<PackageVersion>0.8.2-beta</PackageVersion>
<Version>0.8.3</Version>
<PackageVersion>0.8.3-beta</PackageVersion>
<Authors>Atılım Güneş Baydin,Barak A. Pearlmutter</Authors>
<PackageLicenseExpression>BSD-2-Clause</PackageLicenseExpression>
<PackageIconUrl>http://diffsharp.github.io/DiffSharp/img/diffsharp-logo.png</PackageIconUrl>
Expand Down Expand Up @@ -47,22 +47,22 @@ Copyright (c) 2014-2016 National University of Ireland Maynooth (Atilim Gunes Ba
<Compile Include="Interop.Float64.fs" />
<None Include="..\..\lib\OpenBLAS-v0.2.15-Win64-int32\libgcc_s_seh-1.dll">
<Pack>true</Pack>
<PackagePath>build\</PackagePath>
<PackagePath>runtimes\win\native\</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\lib\OpenBLAS-v0.2.15-Win64-int32\libgfortran-3.dll">
<Pack>true</Pack>
<PackagePath>build\</PackagePath>
<PackagePath>runtimes\win\native\</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\lib\OpenBLAS-v0.2.15-Win64-int32\libopenblas.dll">
<Pack>true</Pack>
<PackagePath>build\</PackagePath>
<PackagePath>runtimes\win\native\</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\lib\OpenBLAS-v0.2.15-Win64-int32\libquadmath-0.dll">
<Pack>true</Pack>
<PackagePath>build\</PackagePath>
<PackagePath>runtimes\win\native\</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\..\lib\OpenBLAS-v0.3.5-macOS-x86_64\libopenblas.dylib">
Expand Down
2 changes: 1 addition & 1 deletion src/DiffSharp/DiffSharp.targets
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Condition="'$(OS)' == 'Windows_NT' And '$(MSBuildThisFileDirectory)' != '' And HasTrailingSlash('$(MSBuildThisFileDirectory)')">
<NativeLibs Include="$(MSBuildThisFileDirectory)**\*.dll" />
<NativeLibs Include="$(MSBuildThisFileDirectory)..\runtimes\win\native\*.dll" />
<Content Include="@(NativeLibs)">
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down

0 comments on commit 855b192

Please sign in to comment.