AutoBlineCalculationLib.csproj 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>netstandard2.0</TargetFramework>
  4. <PlatformTarget>x64</PlatformTarget>
  5. <PackageOutputPath>..\Bin\</PackageOutputPath>
  6. <Version>1.0.0</Version>
  7. <AssemblyVersion>1.0.0.4</AssemblyVersion>
  8. <BaseOutputPath>..\Bin\</BaseOutputPath>
  9. <Authors>Vinno.IDS</Authors>
  10. <Company>Vinno</Company>
  11. <Product>AutoBlineCalculation</Product>
  12. <FileVersion>1.0.0.4</FileVersion>
  13. </PropertyGroup>
  14. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  15. <PlatformTarget>x64</PlatformTarget>
  16. <OutputPath>..\Bin\</OutputPath>
  17. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  18. <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
  19. <DefineConstants>$(DefineConstants)TRACE;ENABLE_AF_DEBUG_LOGS;ENABLE_AF_DEBUG_IMAGES</DefineConstants>
  20. <LangVersion>preview</LangVersion>
  21. </PropertyGroup>
  22. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  23. <PlatformTarget>x64</PlatformTarget>
  24. <OutputPath>..\Bin\</OutputPath>
  25. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  26. <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
  27. <DefineConstants>$(DefineConstants)</DefineConstants>
  28. <LangVersion>preview</LangVersion>
  29. </PropertyGroup>
  30. <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
  31. <Exec Command="xcopy &quot;$(OutputPath)*.dll&quot; &quot;$(SolutionDir)Bin\&quot; /y&#xD;&#xA;xcopy &quot;..\ValidModels\*.emd&quot; &quot;$(OutputPath)Networks\&quot; /y" />
  32. </Target>
  33. <ItemGroup>
  34. <PackageReference Include="Microsoft.ML.OnnxRuntime.Managed" Version="1.10.0" />
  35. </ItemGroup>
  36. <ItemGroup>
  37. <Reference Include="AI.Common">
  38. <HintPath>..\Depends\AI.Common.dll</HintPath>
  39. </Reference>
  40. </ItemGroup>
  41. <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
  42. <Exec Command="xcopy &quot;..\Depends\*.dll&quot; &quot;$(OutputPath)&quot; /y&#xD;&#xA;xcopy &quot;..\ValidModels\*.emd&quot; &quot;$(OutputPath)Networks\&quot; /y" />
  43. </Target>
  44. <Target Name="PostBuild" AfterTargets="PostBuildEvent">
  45. <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" />
  46. </Target>
  47. </Project>