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