Skip to content

Commit

Permalink
NuGet fix
Browse files Browse the repository at this point in the history
  • Loading branch information
portyanikhin committed Sep 12, 2021
1 parent 1af3da9 commit bd31d71
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
13 changes: 10 additions & 3 deletions SharpProp/SharpProp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,19 @@
<PackageProjectUrl>https://github.com/portyanikhin/SharpProp</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/portyanikhin/SharpProp</RepositoryUrl>
<PackageTags>CoolProp fluids mixtures humid air thermophysical properties</PackageTags>
<PackageTags>native CoolProp fluids mixtures humid air thermophysical properties</PackageTags>
<PackageVersion>1.0.1</PackageVersion>
</PropertyGroup>

<ItemGroup>
<None Update="libCoolProp.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<None Include="libCoolProp.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<PackagePath>build\</PackagePath>
<Pack>true</Pack>
</None>
<None Include="SharpProp.targets">
<PackagePath>build\</PackagePath>
<Pack>true</Pack>
</None>
</ItemGroup>

Expand Down
9 changes: 9 additions & 0 deletions SharpProp/SharpProp.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<NativeLibs Include="$(MSBuildThisFileDirectory)\*.dll"/>
<None Include="@(NativeLibs)" Link="$(RecursiveDir)$(Filename)$(Extension)">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>

0 comments on commit bd31d71

Please sign in to comment.