1
0

NerveIdentificationLib.csproj 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>netstandard2.0</TargetFramework>
  4. <PlatformTarget>x64</PlatformTarget>
  5. <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
  6. <BaseOutputPath>..\Bin\</BaseOutputPath>
  7. <Authors>Vinno.IDS</Authors>
  8. <Company>Vinno</Company>
  9. <Product>NerveIdentification</Product>
  10. <PackageOutputPath>..\Bin\</PackageOutputPath>
  11. <Platforms>AnyCPU;x64</Platforms>
  12. </PropertyGroup>
  13. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  14. <DefineConstants>$(DefineConstants);ENABLE_AI_LOGS;ENABLE_AI_DEBUG_IMAGES</DefineConstants>
  15. <PlatformTarget>x64</PlatformTarget>
  16. <OutputPath>..\Bin\</OutputPath>
  17. <WarningsAsErrors />
  18. </PropertyGroup>
  19. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  20. <PlatformTarget>x64</PlatformTarget>
  21. <OutputPath>..\Bin\</OutputPath>
  22. <WarningsAsErrors />
  23. </PropertyGroup>
  24. <ItemGroup>
  25. <PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.10.0" />
  26. </ItemGroup>
  27. <ItemGroup>
  28. <Reference Include="AI.Common">
  29. <HintPath>..\Depends\AI.Common.dll</HintPath>
  30. </Reference>
  31. </ItemGroup>
  32. <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
  33. <Exec Command="xcopy &quot;..\Depends\*.dll&quot; &quot;$(OutputPath)&quot; /y&#xD;&#xA;xcopy &quot;..\ValidModels\*.emd&quot; &quot;$(OutputPath)Networks\&quot; /y" />
  34. </Target>
  35. <Target Name="PostBuild" AfterTargets="PostBuildEvent">
  36. <Exec Command="xcopy &quot;$(OutputPath)*.dll&quot; &quot;$(SolutionDir)Bin\&quot; /y&#xD;&#xA;xcopy &quot;$(OutputPath)Networks\*.emd&quot; &quot;$(SolutionDir)Bin\Networks\&quot; /y" />
  37. </Target>
  38. </Project>