Plugins.Vm.Module.csproj 1.7 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.Vm</RootNamespace>
  10. <AssemblyName>Plugins.Vm.Module</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. VM 模块算子包:面向"方案里的单个流程/模块"的轻量节点。
  20. 属性面板开放 方案/流程/结果键 等简单配置 + 高级编辑按钮(调起 VisionMaster 客户端改方案);
  21. 运行复用主工程 VmRuntime(方案加载/流程运行/模块结果读取)。
  22. 部署目录:EXE\win-x64\Plugins\VmPlugins\。
  23. -->
  24. <ItemGroup>
  25. <ProjectReference Include="..\..\..\TeamAAS.Core\TeamAAS.Core\TeamAAS.Core.csproj" />
  26. <ProjectReference Include="..\..\Plugins.Vm\Plugins.Vm.csproj" />
  27. </ItemGroup>
  28. <Target Name="CopyPluginDll" AfterTargets="Build" Condition="'$(Configuration)'=='Debug' Or '$(Configuration)'=='Release'">
  29. <PropertyGroup>
  30. <PluginDir>$(MSBuildThisFileDirectory)..\..\..\EXE\win-x64\Plugins\VmPlugins\</PluginDir>
  31. </PropertyGroup>
  32. <MakeDir Directories="$(PluginDir)" Condition="!Exists('$(PluginDir)')" />
  33. <Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PluginDir)" SkipUnchangedFiles="true" />
  34. </Target>
  35. </Project>