| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <TargetFramework>net48</TargetFramework>
- <Nullable>disable</Nullable>
- <UseWPF>true</UseWPF>
- <Platforms>x64</Platforms>
- <PlatformTarget>x64</PlatformTarget>
- <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
- <RootNamespace>Plugins.Vpp</RootNamespace>
- <AssemblyName>Plugins.Vpp</AssemblyName>
- </PropertyGroup>
- <PropertyGroup>
- <VisionProRoot Condition="Exists('C:\Program Files\Cognex\VisionPro')">C:\Program Files\Cognex\VisionPro</VisionProRoot>
- <VisionProRoot Condition="'$(VisionProRoot)' == '' AND EXISTS('C:\Program Files (x86)\Cognex\VisionPro')">C:\Program Files (x86)\Cognex\VisionPro</VisionProRoot>
- </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>
- <ItemGroup>
- <ProjectReference Include="..\..\TeamAAS.Core\TeamAAS.Core\TeamAAS.Core.csproj" />
- </ItemGroup>
- <ItemGroup>
- <Reference Include="Cognex.VisionPro">
- <HintPath>$(VisionProRoot)\ReferencedAssemblies\Cognex.VisionPro.dll</HintPath>
- </Reference>
- <Reference Include="Cognex.VisionPro.Core">
- <HintPath>$(VisionProRoot)\ReferencedAssemblies\Cognex.VisionPro.Core.dll</HintPath>
- </Reference>
- <Reference Include="Cognex.VisionPro.CorePlus">
- <HintPath>$(VisionProRoot)\ReferencedAssemblies\Cognex.VisionPro.CorePlus.dll</HintPath>
- </Reference>
- <Reference Include="Cognex.VisionPro.Controls">
- <HintPath>$(VisionProRoot)\ReferencedAssemblies\Cognex.VisionPro.Controls.dll</HintPath>
- </Reference>
- <Reference Include="Cognex.VisionPro.Display.Controls">
- <HintPath>$(VisionProRoot)\ReferencedAssemblies\Cognex.VisionPro.Display.Controls.dll</HintPath>
- </Reference>
- <Reference Include="Cognex.VisionPro.ToolGroup">
- <HintPath>$(VisionProRoot)\ReferencedAssemblies\Cognex.VisionPro.ToolGroup.dll</HintPath>
- </Reference>
- <Reference Include="Cognex.VisionPro.ToolGroup.Controls">
- <HintPath>$(VisionProRoot)\ReferencedAssemblies\Cognex.VisionPro.ToolGroup.Controls.dll</HintPath>
- </Reference>
- <Reference Include="Cognex.VisionPro.ImageFile">
- <HintPath>$(VisionProRoot)\ReferencedAssemblies\Cognex.VisionPro.ImageFile.dll</HintPath>
- </Reference>
- <Reference Include="Cognex.VisionPro.Interop.Core">
- <HintPath>$(VisionProRoot)\ReferencedAssemblies\Cognex.VisionPro.Interop.Core.dll</HintPath>
- <EmbedInteropTypes>true</EmbedInteropTypes>
- </Reference>
- <Reference Include="Microsoft.DwayneNeed">
- <HintPath>..\..\lib\Microsoft.DwayneNeed.dll</HintPath>
- <Private>True</Private>
- </Reference>
- <Reference Include="Microsoft.DwayneNeed.Win32">
- <HintPath>..\..\lib\Microsoft.DwayneNeed.Win32.dll</HintPath>
- <Private>True</Private>
- </Reference>
- <Reference Include="System.Windows.Forms" />
- <Reference Include="WindowsFormsIntegration" />
- <Reference Include="System.Drawing" />
- </ItemGroup>
- <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>
- </Project>
|