12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <TargetFramework>netstandard2.0</TargetFramework>
- <PlatformTarget>x64</PlatformTarget>
- <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
- <BaseOutputPath>..\Bin\</BaseOutputPath>
- <Authors>Vinno.IDS</Authors>
- <Company>Vinno</Company>
- <Product>NerveIdentification</Product>
- <PackageOutputPath>..\Bin\</PackageOutputPath>
- <Platforms>AnyCPU;x64</Platforms>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <DefineConstants>$(DefineConstants);ENABLE_AI_LOGS;ENABLE_AI_DEBUG_IMAGES</DefineConstants>
- <PlatformTarget>x64</PlatformTarget>
- <OutputPath>..\Bin\</OutputPath>
- <WarningsAsErrors />
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <PlatformTarget>x64</PlatformTarget>
- <OutputPath>..\Bin\</OutputPath>
- <WarningsAsErrors />
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.10.0" />
- </ItemGroup>
- <ItemGroup>
- <Reference Include="AI.Common">
- <HintPath>..\Depends\AI.Common.dll</HintPath>
- </Reference>
- </ItemGroup>
- <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
- <Exec Command="xcopy "..\Depends\*.dll" "$(OutputPath)" /y
xcopy "..\ValidModels\*.emd" "$(OutputPath)Networks\" /y" />
- </Target>
- <Target Name="PostBuild" AfterTargets="PostBuildEvent">
- <Exec Command="xcopy "$(OutputPath)*.dll" "$(SolutionDir)Bin\" /y
xcopy "$(OutputPath)Networks\*.emd" "$(SolutionDir)Bin\Networks\" /y" />
- </Target>
- </Project>
|