1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="14.0" InitialTargets="CheckConfig" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
5 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7 <OutputType>library</OutputType>
8 <AssemblyName>Tizen.Runtime.Mono</AssemblyName>
9 <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
12 <PropertyGroup Condition=" '$(Configuration)' == 'Debug'">
13 <DebugSymbols>true</DebugSymbols>
14 <DebugType>full</DebugType>
15 <OutputPath>bin/</OutputPath>
16 <DefineConstants>DEBUG;TRACE</DefineConstants>
19 <PropertyGroup Condition=" '$(Configuration)' == 'Release'">
20 <DebugType>pdbonly</DebugType>
21 <Optimize>true</Optimize>
22 <OutputPath>bin/</OutputPath>
23 <DefineConstants>TRACE</DefineConstants>
26 <!-- Roslyn Not Support Assembly Signing yet.
28 <SignAssembly>true</SignAssembly>
29 <AssemblyOriginatorKeyFile>Tizen.Runtime.snk</AssemblyOriginatorKeyFile>
34 <DefineConstants Condition=" '$(CLOG)' != '' ">$(DefineConstants);CLOG</DefineConstants>
38 <Reference Include="System" />
39 <Reference Include="System.Core" />
40 <Reference Include="System.Xml.Linq" />
41 <Reference Include="System.Data.DataSetExtensions" />
42 <Reference Include="Microsoft.CSharp" />
43 <Reference Include="System.Data" />
44 <Reference Include="System.Net.Http" />
45 <Reference Include="System.Xml" />
49 <Compile Include="Tizen.Runtime.Mono/AssemblyManager.cs" />
50 <Compile Include="Tizen.Runtime/Log.cs" />
51 <Compile Include="Tizen.Runtime/DefaultConfigAttribute.cs" />
54 <Target Name="CheckConfig">
55 <Message Text="MSBuildProjectDirectory = $(MSBuildProjectDirectory)"/>
58 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
60 <Target Name="BeforeCompile">
62 <AssemblyAttributes Include="DefaultConfigAttribute" Condition=" $(PreloadPath) != '' ">
63 <_Parameter1>PreloadPath=$(PreloadPath)</_Parameter1>
67 <WriteCodeFragment AssemblyAttributes="@(AssemblyAttributes)"
69 OutputDirectory="$(IntermediateOutputPath)"
70 OutputFile="Config.cs">
71 <Output TaskParameter="OutputFile" ItemName="Compile" />