Plugins.Vpp.Detection.csproj 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.Detection</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. <!--
  19. VisionPro 检测识别算子包(算子级节点:属性面板开放简单参数 + 高级编辑进原生工具界面)。
  20. 命名规范:Plugins.Vpp.<功能>.dll;部署目录:EXE\win-x64\Plugins\VppPlugins\。
  21. 工具实例挂在模型上随流程文件序列化,配置不丢;原生编辑经 VpToolSupport 反射打开。
  22. -->
  23. <ItemGroup>
  24. <ProjectReference Include="..\..\..\TeamAAS.Core\TeamAAS.Core\TeamAAS.Core.csproj" />
  25. <!-- 共享 VisionPro 基建:VpToolSupport/VpToolPluginBase/GenImageConverter -->
  26. <ProjectReference Include="..\..\Plugins.Vpp\Plugins.Vpp.csproj" />
  27. </ItemGroup>
  28. <Target Name="CopyPluginDll" AfterTargets="Build" Condition="'$(Configuration)'=='Debug' Or '$(Configuration)'=='Release'">
  29. <PropertyGroup>
  30. <PluginDir>$(MSBuildThisFileDirectory)..\..\..\EXE\win-x64\Plugins\VppPlugins\</PluginDir>
  31. </PropertyGroup>
  32. <MakeDir Directories="$(PluginDir)" Condition="!Exists('$(PluginDir)')" />
  33. <Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PluginDir)" SkipUnchangedFiles="true" />
  34. </Target>
  35. </Project>