Adding dependency on LibMiniDisplay NuGet package.
authorStephaneLenclud
Wed, 06 May 2015 21:05:51 +0200
changeset 1343f6d708e6499
parent 133 004d7509f280
child 135 2edc5da1796e
Adding dependency on LibMiniDisplay NuGet package.
Server/SharpDisplayManager.csproj
Server/packages.config
     1.1 --- a/Server/SharpDisplayManager.csproj	Wed May 06 19:40:00 2015 +0200
     1.2 +++ b/Server/SharpDisplayManager.csproj	Wed May 06 21:05:51 2015 +0200
     1.3 @@ -37,6 +37,7 @@
     1.4      <CreateDesktopShortcut>true</CreateDesktopShortcut>
     1.5      <PublishWizardCompleted>true</PublishWizardCompleted>
     1.6      <BootstrapperEnabled>true</BootstrapperEnabled>
     1.7 +    <NuGetPackageImportStamp>36fd58bc</NuGetPackageImportStamp>
     1.8    </PropertyGroup>
     1.9    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    1.10      <PlatformTarget>AnyCPU</PlatformTarget>
    1.11 @@ -106,6 +107,10 @@
    1.12    <ItemGroup>
    1.13      <Reference Include="Microsoft.VisualBasic" />
    1.14      <Reference Include="Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
    1.15 +    <Reference Include="MiniDisplayInterop, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
    1.16 +      <SpecificVersion>False</SpecificVersion>
    1.17 +      <HintPath>..\packages\LibMiniDisplay.1.1.3\lib\MiniDisplayInterop.dll</HintPath>
    1.18 +    </Reference>
    1.19      <Reference Include="NAudio, Version=1.7.3.0, Culture=neutral, processorArchitecture=MSIL">
    1.20        <SpecificVersion>False</SpecificVersion>
    1.21        <HintPath>..\packages\NAudio.1.7.3\lib\net35\NAudio.dll</HintPath>
    1.22 @@ -233,6 +238,7 @@
    1.23    </ItemGroup>
    1.24    <ItemGroup>
    1.25      <Content Include="MiniDisplay.dll" />
    1.26 +    <Content Include="MiniDisplay.h" />
    1.27      <EmbeddedResource Include="Resources\vfd.ico" />
    1.28    </ItemGroup>
    1.29    <ItemGroup>
    1.30 @@ -256,6 +262,13 @@
    1.31      </COMReference>
    1.32    </ItemGroup>
    1.33    <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    1.34 +  <Import Project="..\packages\LibMiniDisplay.1.1.3\build\LibMiniDisplay.targets" Condition="Exists('..\packages\LibMiniDisplay.1.1.3\build\LibMiniDisplay.targets')" />
    1.35 +  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    1.36 +    <PropertyGroup>
    1.37 +      <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
    1.38 +    </PropertyGroup>
    1.39 +    <Error Condition="!Exists('..\packages\LibMiniDisplay.1.1.3\build\LibMiniDisplay.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LibMiniDisplay.1.1.3\build\LibMiniDisplay.targets'))" />
    1.40 +  </Target>
    1.41    <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
    1.42         Other similar extension points exist, see Microsoft.Common.targets.
    1.43    <Target Name="BeforeBuild">
     2.1 --- a/Server/packages.config	Wed May 06 19:40:00 2015 +0200
     2.2 +++ b/Server/packages.config	Wed May 06 21:05:51 2015 +0200
     2.3 @@ -1,5 +1,6 @@
     2.4  <?xml version="1.0" encoding="utf-8"?>
     2.5  <packages>
     2.6 +  <package id="LibMiniDisplay" version="1.1.3" targetFramework="net45" />
     2.7    <package id="NAudio" version="1.7.3" targetFramework="net45" />
     2.8    <package id="SharpLibHid" version="1.0.7" targetFramework="net45" />
     2.9  </packages>
    2.10 \ No newline at end of file