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