LibMiniDisplay.targets
author StephaneLenclud
Sat, 26 Sep 2015 11:45:26 +0200
changeset 39 c32f4955c166
parent 38 10d8128ccc60
permissions -rw-r--r--
More fixes to our NuGet package targets file.
StephaneLenclud@38
     1
<?xml version="1.0" encoding="utf-8"?>
StephaneLenclud@38
     2
StephaneLenclud@36
     3
<!--
StephaneLenclud@38
     4
 Copyright (C) 2015 Stephane Lenclud.
StephaneLenclud@36
     5
StephaneLenclud@38
     6
 This file is part of MiniDisplay.
StephaneLenclud@36
     7
StephaneLenclud@38
     8
 MiniDisplay is free software: you can redistribute it and/or modify
StephaneLenclud@38
     9
 it under the terms of the GNU General Public License as published by
StephaneLenclud@38
    10
 the Free Software Foundation, either version 3 of the License, or
StephaneLenclud@38
    11
 (at your option) any later version.
StephaneLenclud@38
    12
StephaneLenclud@38
    13
 MiniDisplay is distributed in the hope that it will be useful,
StephaneLenclud@38
    14
 but WITHOUT ANY WARRANTY; without even the implied warranty of
StephaneLenclud@38
    15
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
StephaneLenclud@38
    16
 GNU General Public License for more details.
StephaneLenclud@38
    17
StephaneLenclud@38
    18
 You should have received a copy of the GNU General Public License
StephaneLenclud@38
    19
 along with MiniDisplay.  If not, see <http://www.gnu.org/licenses/>.
StephaneLenclud@36
    20
-->
StephaneLenclud@36
    21
StephaneLenclud@38
    22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
StephaneLenclud@39
    23
    
StephaneLenclud@39
    24
	<!-- That works sometimes -->
StephaneLenclud@39
    25
	<ItemGroup>
StephaneLenclud@38
    26
        <None Include="$(MSBuildThisFileDirectory)\..\native\x86\MiniDisplay.dll">
StephaneLenclud@38
    27
            <Link>MiniDisplay.dll</Link>
StephaneLenclud@38
    28
            <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
StephaneLenclud@38
    29
        </None>
StephaneLenclud@38
    30
    </ItemGroup>
StephaneLenclud@39
    31
	
StephaneLenclud@39
    32
	<!-- That works the rest of the time. Just don't ask! -->
StephaneLenclud@39
    33
	<Target Name="BeforeBuild">
StephaneLenclud@39
    34
    	<Copy SourceFiles="$(MSBuildThisFileDirectory)\..\native\x86\MiniDisplay.dll" 
StephaneLenclud@39
    35
		DestinationFiles="$(OutputPath)\MiniDisplay.dll" />
StephaneLenclud@39
    36
    </Target>
StephaneLenclud@39
    37
	
StephaneLenclud@36
    38
</Project>