Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit 3a0c0bd

Browse files
authored
Merge pull request #971 from Ziriax/issue_968
SharpDX.targets is now project-relative
2 parents 94f2883 + 52a62cf commit 3a0c0bd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Build/SharpDX.targets

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
</PropertyGroup>
2323

2424
<Target Name="PatchAssembly" AfterTargets="AfterBuild">
25-
<Exec Command="&quot;$(SolutionDir)\Source\Bin\SharpCLI.exe&quot; &quot;$(TargetPath)&quot;" />
25+
<Exec Command="&quot;$(ProjectDir)..\..\Source\Bin\SharpCLI.exe&quot; &quot;$(TargetPath)&quot;" />
2626

2727
</Target>
28-
<Target Name="Resign" AfterTargets="PatchAssembly" Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' And Exists('$(SolutionDir)sharpdx.snk')">
28+
<Target Name="Resign" AfterTargets="PatchAssembly" Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' And Exists('$(ProjectDir)..\..\sharpdx.snk')">
2929
<GetFrameworkSdkPath>
3030
<Output TaskParameter="Path" PropertyName="FrameworkSdkPath" />
3131
</GetFrameworkSdkPath>
@@ -34,7 +34,7 @@
3434
<SNExePath>$([System.IO.Directory]::GetFiles("$(FrameworkSdkPath)", "sn.exe", SearchOption.AllDirectories)[0])</SNExePath>
3535
</PropertyGroup>
3636

37-
<Exec Command='"$(SNExePath)" -Ra $(TargetPath) $(SolutionDir)sharpdx.snk'/>
37+
<Exec Command='"$(SNExePath)" -Ra $(TargetPath) $(ProjectDir)..\..\sharpdx.snk'/>
3838

3939
</Target>
4040
<!-- Special packages and imports for UWP support -->

0 commit comments

Comments
 (0)