Skip to content

Commit

Permalink
Updated nuget targets to support different target configurations.
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rs-mt committed Nov 1, 2017
1 parent 2c05029 commit 754aa4b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .nuget/ILGPU.targets
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Reference Include="ILGPU">
<HintPath>$(MSBuildThisFileDirectory)../lib/$(TargetFramework)/$(Configuration)/ILGPU.dll</HintPath>
<Reference Include="ILGPU" Condition="'$(TargetFramework)' != 'netcoreapp.2.0'">
<HintPath>$(MSBuildThisFileDirectory)../lib/net46/$(Configuration)/ILGPU.dll</HintPath>
</Reference>
<Reference Include="ILGPU" Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
<HintPath>$(MSBuildThisFileDirectory)../lib/netcoreapp2.0/$(Configuration)/ILGPU.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit 754aa4b

Please sign in to comment.