1.1 --- a/LibMiniDisplay.targets Fri Sep 25 19:22:44 2015 +0200
1.2 +++ b/LibMiniDisplay.targets Sat Sep 26 11:45:26 2015 +0200
1.3 @@ -20,10 +20,19 @@
1.4 -->
1.5
1.6 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1.7 - <ItemGroup>
1.8 +
1.9 + <!-- That works sometimes -->
1.10 + <ItemGroup>
1.11 <None Include="$(MSBuildThisFileDirectory)\..\native\x86\MiniDisplay.dll">
1.12 <Link>MiniDisplay.dll</Link>
1.13 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
1.14 </None>
1.15 </ItemGroup>
1.16 +
1.17 + <!-- That works the rest of the time. Just don't ask! -->
1.18 + <Target Name="BeforeBuild">
1.19 + <Copy SourceFiles="$(MSBuildThisFileDirectory)\..\native\x86\MiniDisplay.dll"
1.20 + DestinationFiles="$(OutputPath)\MiniDisplay.dll" />
1.21 + </Target>
1.22 +
1.23 </Project>
1.24 \ No newline at end of file