Plugins.Vpp.Measurement.csproj 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net48</TargetFramework>
  4. <Nullable>disable</Nullable>
  5. <UseWPF>true</UseWPF>
  6. <Platforms>x64</Platforms>
  7. <PlatformTarget>x64</PlatformTarget>
  8. <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
  9. <RootNamespace>Plugins.Vpp</RootNamespace>
  10. <AssemblyName>Plugins.Vpp.Measurement</AssemblyName>
  11. </PropertyGroup>
  12. <ItemGroup>
  13. <PackageReference Include="OpenCvSharp4" Version="4.13.0.20260627" />
  14. <PackageReference Include="OpenCvSharp4.runtime.win" Version="4.13.0.20260627" />
  15. <PackageReference Include="PropertyGridLib" Version="1.2.0" />
  16. <PackageReference Include="System.Text.Json" Version="10.0.0" />
  17. </ItemGroup>
  18. <!-- VisionPro 几何测量算子包。命名规范与基建说明见 Plugins.Vpp.Detection 工程。 -->
  19. <ItemGroup>
  20. <ProjectReference Include="..\..\..\TeamAAS.Core\TeamAAS.Core\TeamAAS.Core.csproj" />
  21. <ProjectReference Include="..\..\Plugins.Vpp\Plugins.Vpp.csproj" />
  22. </ItemGroup>
  23. <Target Name="CopyPluginDll" AfterTargets="Build" Condition="'$(Configuration)'=='Debug' Or '$(Configuration)'=='Release'">
  24. <PropertyGroup>
  25. <PluginDir>$(MSBuildThisFileDirectory)..\..\..\EXE\win-x64\Plugins\VppPlugins\</PluginDir>
  26. </PropertyGroup>
  27. <MakeDir Directories="$(PluginDir)" Condition="!Exists('$(PluginDir)')" />
  28. <Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PluginDir)" SkipUnchangedFiles="true" />
  29. </Target>
  30. </Project>