| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <TargetFramework>net48</TargetFramework>
- <Nullable>disable</Nullable>
- <UseWPF>true</UseWPF>
- <Platforms>x64</Platforms>
- <PlatformTarget>x64</PlatformTarget>
- <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
- <RootNamespace>Plugins.Vpp</RootNamespace>
- <AssemblyName>Plugins.Vpp.Detection</AssemblyName>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="OpenCvSharp4" Version="4.13.0.20260627" />
- <PackageReference Include="OpenCvSharp4.runtime.win" Version="4.13.0.20260627" />
- <PackageReference Include="PropertyGridLib" Version="1.2.0" />
- <PackageReference Include="System.Text.Json" Version="10.0.0" />
- </ItemGroup>
- <!--
- VisionPro 检测识别算子包(算子级节点:属性面板开放简单参数 + 高级编辑进原生工具界面)。
- 命名规范:Plugins.Vpp.<功能>.dll;部署目录:EXE\win-x64\Plugins\VppPlugins\。
- 工具实例挂在模型上随流程文件序列化,配置不丢;原生编辑经 VpToolSupport 反射打开。
- -->
- <ItemGroup>
- <ProjectReference Include="..\..\..\TeamAAS.Core\TeamAAS.Core\TeamAAS.Core.csproj" />
- <!-- 共享 VisionPro 基建:VpToolSupport/VpToolPluginBase/GenImageConverter -->
- <ProjectReference Include="..\..\Plugins.Vpp\Plugins.Vpp.csproj" />
- </ItemGroup>
- <Target Name="CopyPluginDll" AfterTargets="Build" Condition="'$(Configuration)'=='Debug' Or '$(Configuration)'=='Release'">
- <PropertyGroup>
- <PluginDir>$(MSBuildThisFileDirectory)..\..\..\EXE\win-x64\Plugins\VppPlugins\</PluginDir>
- </PropertyGroup>
- <MakeDir Directories="$(PluginDir)" Condition="!Exists('$(PluginDir)')" />
- <Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PluginDir)" SkipUnchangedFiles="true" />
- </Target>
- </Project>
|