| 12345678910111213141516171819202122232425262728293031323334353637 |
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <TargetFramework>net48</TargetFramework>
- <UseWPF>true</UseWPF>
- <Platforms>x64</Platforms>
- <PlatformTarget>x64</PlatformTarget>
- <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
- </PropertyGroup>
- <Target Name="CopyPluginDll" AfterTargets="Build" Condition="'$(Configuration)'=='Debug' Or '$(Configuration)'=='Release'">
- <PropertyGroup>
- <PluginDir>$(MSBuildThisFileDirectory)..\..\EXE\win-x64\Plugins\</PluginDir>
- </PropertyGroup>
- <MakeDir Directories="$(PluginDir)" Condition="!Exists('$(PluginDir)')" />
- <Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PluginDir)" SkipUnchangedFiles="true" />
- </Target>
- <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>
- <ItemGroup>
- <ProjectReference Include="..\..\TeamAAS.Core\TeamAAS.Core\TeamAAS.Core.csproj" />
- </ItemGroup>
- <ItemGroup>
- <!-- 图像采集视图:System.Drawing 用于 Bitmap↔GenImage,System.Windows.Forms 用于文件夹选择对话框 -->
- <Reference Include="System.Drawing" />
- <Reference Include="System.Windows.Forms" />
- </ItemGroup>
- </Project>
|