1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
---|
3 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
---|
4 | <PropertyGroup>
|
---|
5 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
---|
6 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
---|
7 | <ProjectGuid>{99BF44AE-436E-4B30-9435-E2BA98EE6FB3}</ProjectGuid>
|
---|
8 | <OutputType>Library</OutputType>
|
---|
9 | <AppDesignerFolder>Properties</AppDesignerFolder>
|
---|
10 | <RootNamespace>TensorFlowNetBuild</RootNamespace>
|
---|
11 | <AssemblyName>TensorFlowNetBuild</AssemblyName>
|
---|
12 | <TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
|
---|
13 | <FileAlignment>512</FileAlignment>
|
---|
14 | <Deterministic>true</Deterministic>
|
---|
15 | </PropertyGroup>
|
---|
16 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
---|
17 | <DebugSymbols>true</DebugSymbols>
|
---|
18 | <DebugType>full</DebugType>
|
---|
19 | <Optimize>false</Optimize>
|
---|
20 | <OutputPath>$(SolutionDir)\bin\</OutputPath>
|
---|
21 | <DefineConstants>DEBUG;TRACE</DefineConstants>
|
---|
22 | <ErrorReport>prompt</ErrorReport>
|
---|
23 | <WarningLevel>4</WarningLevel>
|
---|
24 | </PropertyGroup>
|
---|
25 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
---|
26 | <DebugType>pdbonly</DebugType>
|
---|
27 | <Optimize>true</Optimize>
|
---|
28 | <OutputPath>$(SolutionDir)\bin\</OutputPath>
|
---|
29 | <DefineConstants>TRACE</DefineConstants>
|
---|
30 | <ErrorReport>prompt</ErrorReport>
|
---|
31 | <WarningLevel>4</WarningLevel>
|
---|
32 | </PropertyGroup>
|
---|
33 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
---|
34 | <DebugSymbols>true</DebugSymbols>
|
---|
35 | <OutputPath>..\bin\</OutputPath>
|
---|
36 | <DefineConstants>DEBUG;TRACE</DefineConstants>
|
---|
37 | <DebugType>full</DebugType>
|
---|
38 | <PlatformTarget>x64</PlatformTarget>
|
---|
39 | <ErrorReport>prompt</ErrorReport>
|
---|
40 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
---|
41 | </PropertyGroup>
|
---|
42 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
---|
43 | <OutputPath>..\bin\</OutputPath>
|
---|
44 | <DefineConstants>TRACE</DefineConstants>
|
---|
45 | <Optimize>true</Optimize>
|
---|
46 | <DebugType>pdbonly</DebugType>
|
---|
47 | <PlatformTarget>x64</PlatformTarget>
|
---|
48 | <ErrorReport>prompt</ErrorReport>
|
---|
49 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
---|
50 | </PropertyGroup>
|
---|
51 | <ItemGroup>
|
---|
52 | <Reference Include="System" />
|
---|
53 | <Reference Include="System.Core" />
|
---|
54 | </ItemGroup>
|
---|
55 | <ItemGroup>
|
---|
56 | <Compile Include="Properties\AssemblyInfo.cs" />
|
---|
57 | </ItemGroup>
|
---|
58 | <ItemGroup>
|
---|
59 | <PackageReference Include="Google.Protobuf">
|
---|
60 | <Version>3.11.3</Version>
|
---|
61 | </PackageReference>
|
---|
62 | <PackageReference Include="ilmerge">
|
---|
63 | <Version>3.0.29</Version>
|
---|
64 | </PackageReference>
|
---|
65 | <PackageReference Include="TensorFlow.NET">
|
---|
66 | <Version>0.15.0</Version>
|
---|
67 | </PackageReference>
|
---|
68 | </ItemGroup>
|
---|
69 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
---|
70 | <PropertyGroup>
|
---|
71 | <PostBuildEvent>rm $(OutDir)\NumSharp.Lite.pdb
|
---|
72 |
|
---|
73 | "$(ILMergeConsolePath)" /out:$(Outdir)\TensorFlow.NET.Signed.dll /keyfile:$(SolutionDir)\HeuristicLab\3.3\HeuristicLab.snk $(Outdir)\TensorFlow.NET.dll $(Outdir)\NumSharp.Lite.dll
|
---|
74 |
|
---|
75 | rm $(OutDir)\NumSharp.Lite.dll
|
---|
76 | rm $(OutDir)\TensorFlow.NET.dll</PostBuildEvent>
|
---|
77 | </PropertyGroup>
|
---|
78 | <PropertyGroup>
|
---|
79 | <PreBuildEvent>
|
---|
80 | </PreBuildEvent>
|
---|
81 | </PropertyGroup>
|
---|
82 | </Project> |
---|