Plugins.Standard.csproj 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net48</TargetFramework>
  4. <UseWPF>true</UseWPF>
  5. <Platforms>x64</Platforms>
  6. <PlatformTarget>x64</PlatformTarget>
  7. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  8. <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
  9. </PropertyGroup>
  10. <Target Name="CopyPluginDll" AfterTargets="Build" Condition="'$(Configuration)'=='Debug' Or '$(Configuration)'=='Release'">
  11. <PropertyGroup>
  12. <PluginDir>$(MSBuildThisFileDirectory)..\..\EXE\win-x64\Plugins\</PluginDir>
  13. </PropertyGroup>
  14. <MakeDir Directories="$(PluginDir)" Condition="!Exists('$(PluginDir)')" />
  15. <Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PluginDir)" SkipUnchangedFiles="true" />
  16. </Target>
  17. <ItemGroup>
  18. <PackageReference Include="OpenCvSharp4" Version="4.13.0.20260627" />
  19. <PackageReference Include="OpenCvSharp4.runtime.win" Version="4.13.0.20260627" />
  20. <PackageReference Include="PropertyGridLib" Version="1.2.0" />
  21. <PackageReference Include="System.Text.Json" Version="10.0.0" />
  22. </ItemGroup>
  23. <ItemGroup>
  24. <ProjectReference Include="..\..\TeamAAS.Core\TeamAAS.Core\TeamAAS.Core.csproj" />
  25. </ItemGroup>
  26. <ItemGroup>
  27. <!-- 图像采集视图:System.Drawing 用于 Bitmap↔GenImage,System.Windows.Forms 用于文件夹选择对话框 -->
  28. <Reference Include="System.Drawing" />
  29. <Reference Include="System.Windows.Forms" />
  30. </ItemGroup>
  31. </Project>