Browse Source

Fixed uwp runtime deploy message.

pull/348/merge
Canming Huang 5 years ago
parent
commit
50deeeb34b
  1. 32
      Emgu.CV.Runtime/UWP/Emgu.CV.Runtime.UWP.projitems

32
Emgu.CV.Runtime/UWP/Emgu.CV.Runtime.UWP.projitems

@ -13,12 +13,12 @@
</PropertyGroup>
<Choose>
<!-- Windows 10 UWP (32bit) -->
<When Condition="'$(TargetPlatformIdentifier)'=='UAP' AND '$(Platform)'=='x86'">
<When Condition="'$(TargetPlatformIdentifier)'=='UAP' AND ('$(Platform)'=='AnyCPU' OR '$(Platform)'=='x86')">
<PropertyGroup>
<EmguCVLinkTarget>Windows 10 UWP (32bit)</EmguCVLinkTarget>
<EmguCVNativeFileUwpX86>$(EmguCVBinaryDir)\UWP\x86\cvextern.dll</EmguCVNativeFileUwpX86>
<EmguCVErrorMessage Condition="!Exists('$(EmguCVNativeFileUwpX86)')"> This package do not contain necessary binary for $(EmguCVLinkTarget). Missing $(EmguCVNativeFileUwpX86) </EmguCVErrorMessage>
<EmguCVDeployMessage Condition="Exists('$(EmguCVNativeFileUwpX86)')">$(EmguCVDeployMessage)UWP_x86 </EmguCVDeployMessage>
<EmguCVUwpErrorMessage Condition="!Exists('$(EmguCVNativeFileUwpX86)')"> This package do not contain necessary binary for $(EmguCVLinkTarget). Missing $(EmguCVNativeFileUwpX86) </EmguCVUwpErrorMessage>
<EmguCVUwpDeployMessage Condition="Exists('$(EmguCVNativeFileUwpX86)')">$(EmguCVUwpDeployMessage)UWP_x86 </EmguCVUwpDeployMessage>
</PropertyGroup>
<ItemGroup>
<Content Include="$(EmguCVNativeFileUwpX86)" Condition="Exists('$(EmguCVNativeFileUwpX86)')">
@ -28,12 +28,12 @@
</ItemGroup>
</When>
<!-- Windows 10 UWP (64bit) -->
<When Condition="'$(TargetPlatformIdentifier)'=='UAP' AND '$(Platform)'=='x64'">
<When Condition="'$(TargetPlatformIdentifier)'=='UAP' AND ('$(Platform)'=='AnyCPU' OR '$(Platform)'=='x64')">
<PropertyGroup>
<EmguCVLinkTarget>Windows 10 UWP (64bit)</EmguCVLinkTarget>
<EmguCVNativeFileUwpX64>$(EmguCVBinaryDir)\UWP\x64\cvextern.dll</EmguCVNativeFileUwpX64>
<EmguCVErrorMessage Condition="!Exists('$(EmguCVNativeFileUwpX64)')"> This package do not contain necessary binary for $(EmguCVLinkTarget). Missing $(EmguCVNativeFileUwpX64) </EmguCVErrorMessage>
<EmguCVDeployMessage Condition="Exists('$(EmguCVNativeFileUwpX64)')">$(EmguCVDeployMessage)UWP_x64 </EmguCVDeployMessage>
<EmguCVUwpErrorMessage Condition="!Exists('$(EmguCVNativeFileUwpX64)')"> This package do not contain necessary binary for $(EmguCVLinkTarget). Missing $(EmguCVNativeFileUwpX64) </EmguCVUwpErrorMessage>
<EmguCVUwpDeployMessage Condition="Exists('$(EmguCVNativeFileUwpX64)')">$(EmguCVUwpDeployMessage)UWP_x64 </EmguCVUwpDeployMessage>
</PropertyGroup>
<ItemGroup>
<Content Include="$(EmguCVNativeFileUwpX64)" Condition="Exists('$(EmguCVNativeFileUwpX64)')">
@ -43,12 +43,12 @@
</ItemGroup>
</When>
<!-- Windows 10 UWP (ARM) -->
<When Condition="'$(TargetPlatformIdentifier)'=='UAP' AND '$(Platform)'=='ARM'">
<When Condition="'$(TargetPlatformIdentifier)'=='UAP' AND ('$(Platform)'=='AnyCPU' OR '$(Platform)'=='ARM')">
<PropertyGroup>
<EmguCVLinkTarget>Windows 10 UWP (ARM)</EmguCVLinkTarget>
<EmguCVNativeFileUwpArm>$(EmguCVBinaryDir)\UWP\arm\cvextern.dll</EmguCVNativeFileUwpArm>
<EmguCVErrorMessage Condition="!Exists('$(EmguCVNativeFileUwpArm)')"> This package do not contain necessary binary for $(EmguCVLinkTarget). Missing $(EmguCVNativeFileUwpArm) </EmguCVErrorMessage>
<EmguCVDeployMessage Condition="Exists('$(EmguCVNativeFileUwpArm)')">$(EmguCVDeployMessage)UWP_arm </EmguCVDeployMessage>
<EmguCVUwpErrorMessage Condition="!Exists('$(EmguCVNativeFileUwpArm)')"> This package do not contain necessary binary for $(EmguCVLinkTarget). Missing $(EmguCVNativeFileUwpArm) </EmguCVUwpErrorMessage>
<EmguCVUwpDeployMessage Condition="Exists('$(EmguCVNativeFileUwpArm)')">$(EmguCVUwpDeployMessage)UWP_arm </EmguCVUwpDeployMessage>
</PropertyGroup>
<ItemGroup>
<Content Include="$(EmguCVNativeFileUwpArm)" Condition="Exists('$(EmguCVNativeFileUwpArm)')">
@ -58,12 +58,12 @@
</ItemGroup>
</When>
<!-- Windows 10 UWP (ARM64) -->
<When Condition="'$(TargetPlatformIdentifier)'=='UAP' AND '$(Platform)'=='ARM64'">
<When Condition="'$(TargetPlatformIdentifier)'=='UAP' AND ('$(Platform)'=='AnyCPU' OR '$(Platform)'=='ARM64')">
<PropertyGroup>
<EmguCVLinkTarget>Windows 10 UWP (ARM64)</EmguCVLinkTarget>
<EmguCVNativeFileUwpArm64>$(EmguCVBinaryDir)\UWP\arm64\cvextern.dll</EmguCVNativeFileUwpArm64>
<EmguCVErrorMessage Condition="!Exists('$(EmguCVNativeFileUwpArm64)')"> This package do not contain necessary binary for $(EmguCVLinkTarget). Missing $(EmguCVNativeFileUwpArm) </EmguCVErrorMessage>
<EmguCVDeployMessage Condition="Exists('$(EmguCVNativeFileUwpArm64)')">$(EmguCVDeployMessage)UWP_arm </EmguCVDeployMessage>
<EmguCVUwpErrorMessage Condition="!Exists('$(EmguCVNativeFileUwpArm64)')"> This package do not contain necessary binary for $(EmguCVLinkTarget). Missing $(EmguCVNativeFileUwpArm) </EmguCVUwpErrorMessage>
<EmguCVUwpDeployMessage Condition="Exists('$(EmguCVNativeFileUwpArm64)')">$(EmguCVUwpDeployMessage)UWP_arm </EmguCVUwpDeployMessage>
</PropertyGroup>
<ItemGroup>
<Content Include="$(EmguCVNativeFileUwpArm64)" Condition="Exists('$(EmguCVNativeFileUwpArm64)')">
@ -73,9 +73,9 @@
</ItemGroup>
</When>
</Choose>
<Target Name="EmguCVWindowsPackageBuildImports" BeforeTargets="PrepareForBuild">
<Warning Text="'$(EmguCVWindowsErrorMessage)'" Condition="'$(EmguCVWindowsErrorMessage)'!=''" />
<Message Text="Emgu CV Compiling with $(EmguCVWindowsDeployMessage)binary" Condition="'$(EmguCVWindowsDeployMessage)'!=''" Importance="High" />
<Message Text="Native binary is NOT deployed by the Emgu.CV.Runtime.UWP shared project." Condition="'$(EmguCVWindowsDeployMessage)'==''" Importance="High" />
<Target Name="EmguCVUwpPackageBuildImports" BeforeTargets="PrepareForBuild">
<Warning Text="'$(EmguCVUwpErrorMessage)'" Condition="'$(EmguCVUwpErrorMessage)'!=''" />
<Message Text="Emgu CV Compiling with $(EmguCVUwpDeployMessage)binary" Condition="'$(EmguCVUwpDeployMessage)'!=''" Importance="High" />
<Message Text="Native binary is NOT deployed by the Emgu.CV.Runtime.UWP shared project." Condition="'$(EmguCVUwpDeployMessage)'==''" Importance="High" />
</Target>
</Project>
Loading…
Cancel
Save