Fix code for building with corefx
[platform/core/csapi/tizenfx.git] / Tizen.Internals / Tizen.Internals.csproj
index 83d115e..3ea9d57 100755 (executable)
   <PropertyGroup>
     <AssemblyOriginatorKeyFile>Tizen.Internals.snk</AssemblyOriginatorKeyFile>
   </PropertyGroup>
-  <ItemGroup>
-    <Reference Include="System" />
-    <Reference Include="System.Core" />
-    <Reference Include="System.Xml.Linq" />
-    <Reference Include="System.Data.DataSetExtensions" />
-    <Reference Include="Microsoft.CSharp" />
-    <Reference Include="System.Data" />
-    <Reference Include="System.Net.Http" />
-    <Reference Include="System.Xml" />
+  <Import Project="CoreFx.References.targets" />
+  <ItemGroup Condition=" '$(CoreFxPath)' == '' ">
+    <Reference Include="System"/>
   </ItemGroup>
   <ItemGroup>
+    <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="Interop\Interop.CommonError.cs" />
     <Compile Include="Tizen.Internals.Errors\ErrorFacts.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="Tizen.Internals.Errors\ErrorCode.cs" />
   </ItemGroup>
   <ItemGroup>
@@ -61,7 +55,7 @@
     <CodeAnalysisDictionary Include="CustomDictionary.xml" />
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
        Other similar extension points exist, see Microsoft.Common.targets.
   <Target Name="BeforeBuild">
   </Target>