Adding C# interop project and NuGet package.
2 ***********************************************************************************************
5 WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
6 created a backup copy. Incorrect changes to this file will make it
7 impossible to load or build your projects from the command-line or the IDE.
9 Copyright (c) Stephane Lenclud. All rights reserved.
10 ***********************************************************************************************
13 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
15 <LibMiniDisplayDllPath Condition=" '$(LibMiniDisplayPath)' == '' ">$(MSBuildThisFileDirectory)..\native\$(Platform)\MiniDisplay.dll</LibMiniDisplayDllPath>
18 <Target Name="CopyLibMiniDisplayNativeReference">
19 <!-- Make sure the platform has been set appropriately before trying to copy the native reference. -->
20 <Error Code="LH0001" Text="The project platform must be set to x86 or x64. Please change your target platform and try again." Condition=" !Exists('$(LibMiniDisplayDllPath)') "
21 File="$(MSBuildProjectFile)"/>
23 <Copy SourceFiles="$(LibMiniDisplayDllPath)" DestinationFolder="$(OutDir)" SkipUnchangedFiles="true"/>
28 CopyLibMiniDisplayNativeReference;
29 </AfterBuildDependsOn>
32 <Target Name="AfterBuild" DependsOnTargets="$(AfterBuildDependsOn)"/>