More fixes to our NuGet package targets file. default tip
authorStephaneLenclud
Sat, 26 Sep 2015 11:45:26 +0200
changeset 39c32f4955c166
parent 38 10d8128ccc60
More fixes to our NuGet package targets file.
LibMiniDisplay.nuspec
LibMiniDisplay.targets
     1.1 --- a/LibMiniDisplay.nuspec	Fri Sep 25 19:22:44 2015 +0200
     1.2 +++ b/LibMiniDisplay.nuspec	Sat Sep 26 11:45:26 2015 +0200
     1.3 @@ -2,7 +2,7 @@
     1.4  <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
     1.5      <metadata>
     1.6          <id>LibMiniDisplay</id>
     1.7 -        <version>1.1.7</version>
     1.8 +        <version>1.1.8</version>
     1.9          <title>Mini Display Library</title>
    1.10          <authors>Stéphane Lenclud</authors>
    1.11          <licenseUrl>https://www.gnu.org/copyleft/gpl.html</licenseUrl>
    1.12 @@ -10,14 +10,8 @@
    1.13          <requireLicenseAcceptance>false</requireLicenseAcceptance>
    1.14          <description>Provide a C interface to drive some Futaba VFD displays.</description>
    1.15          <summary>Currently only supports HID USB conections.</summary>
    1.16 -        <releaseNotes>v1.1.7
    1.17 -Target file fix.
    1.18 -
    1.19 -v1.1.6
    1.20 -Do not use.
    1.21 -
    1.22 -v1.1.5
    1.23 -Do not use.</releaseNotes>
    1.24 +        <releaseNotes>v1.1.8
    1.25 +Consolidating target file.</releaseNotes>
    1.26          <copyright>Stéphane Lenclud</copyright>
    1.27          <tags>VFD LCD display module Futaba</tags>
    1.28      </metadata>
     2.1 --- a/LibMiniDisplay.targets	Fri Sep 25 19:22:44 2015 +0200
     2.2 +++ b/LibMiniDisplay.targets	Sat Sep 26 11:45:26 2015 +0200
     2.3 @@ -20,10 +20,19 @@
     2.4  -->
     2.5  
     2.6  <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     2.7 -    <ItemGroup>
     2.8 +    
     2.9 +	<!-- That works sometimes -->
    2.10 +	<ItemGroup>
    2.11          <None Include="$(MSBuildThisFileDirectory)\..\native\x86\MiniDisplay.dll">
    2.12              <Link>MiniDisplay.dll</Link>
    2.13              <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    2.14          </None>
    2.15      </ItemGroup>
    2.16 +	
    2.17 +	<!-- That works the rest of the time. Just don't ask! -->
    2.18 +	<Target Name="BeforeBuild">
    2.19 +    	<Copy SourceFiles="$(MSBuildThisFileDirectory)\..\native\x86\MiniDisplay.dll" 
    2.20 +		DestinationFiles="$(OutputPath)\MiniDisplay.dll" />
    2.21 +    </Target>
    2.22 +	
    2.23  </Project>
    2.24 \ No newline at end of file