Skip to content

Commit 567eaab

Browse files
authored
housekeeping: update the cinephile example (#1904)
1 parent be74c1d commit 567eaab

File tree

17 files changed

+3763
-3996
lines changed

17 files changed

+3763
-3996
lines changed
Lines changed: 8 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,106 +1,12 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<Project Sdk="Microsoft.NET.Sdk">
32
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProjectGuid>{3D518760-8A47-4578-9C19-EBA09BCEC6F7}</ProjectGuid>
7-
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
8-
<OutputType>Library</OutputType>
9-
<RootNamespace>Cinephile.Core</RootNamespace>
10-
<AssemblyName>Cinephile.Core</AssemblyName>
11-
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
12-
<TargetFrameworkProfile>Profile44</TargetFrameworkProfile>
3+
<TargetFramework>netstandard2.0</TargetFramework>
134
</PropertyGroup>
14-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
15-
<DebugSymbols>true</DebugSymbols>
16-
<DebugType>full</DebugType>
17-
<Optimize>false</Optimize>
18-
<OutputPath>bin\Debug</OutputPath>
19-
<DefineConstants>DEBUG;</DefineConstants>
20-
<ErrorReport>prompt</ErrorReport>
21-
<WarningLevel>4</WarningLevel>
22-
</PropertyGroup>
23-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
24-
<Optimize>true</Optimize>
25-
<OutputPath>bin\Release</OutputPath>
26-
<ErrorReport>prompt</ErrorReport>
27-
<WarningLevel>4</WarningLevel>
28-
</PropertyGroup>
29-
<ItemGroup>
30-
<Compile Include="Properties\AssemblyInfo.cs" />
31-
<Compile Include="Models\Movie.cs" />
32-
<Compile Include="Models\IMovieService.cs" />
33-
<Compile Include="Models\MovieService.cs" />
34-
<Compile Include="Rest\Cache.cs" />
35-
<Compile Include="Rest\IRestApiClient.cs" />
36-
<Compile Include="Infrastructure\HttpTools\HttpLoggingHandler.cs" />
37-
<Compile Include="Rest\ApiService.cs" />
38-
<Compile Include="Rest\IApiService.cs" />
39-
<Compile Include="Rest\ICache.cs" />
40-
<Compile Include="Rest\Dtos\Movies\MovieDto.cs" />
41-
<Compile Include="Rest\Dtos\Movies\MovieResult.cs" />
42-
<Compile Include="Rest\Dtos\Movies\MovieDates.cs" />
43-
<Compile Include="Rest\Dtos\ImageConfigurations\ImageConfigurationDto.cs" />
44-
<Compile Include="Rest\Dtos\ImageConfigurations\ImagesDto.cs" />
45-
<Compile Include="Rest\Dtos\Movies\GenresDto.cs" />
46-
<Compile Include="Rest\Dtos\Movies\GenreDto.cs" />
47-
</ItemGroup>
48-
<ItemGroup />
49-
<ItemGroup>
50-
<Content Include="packages.config" />
51-
<Reference Include="Akavache">
52-
<HintPath>..\packages\akavache.core.5.0.0\lib\Portable-Net45+Win8+WP8+Wpa81\Akavache.dll</HintPath>
53-
</Reference>
54-
<Reference Include="Akavache.Sqlite3">
55-
<HintPath>..\packages\akavache.sqlite3.5.0.0\lib\Portable-Net45+Win8+WP8+Wpa81\Akavache.Sqlite3.dll</HintPath>
56-
</Reference>
57-
<Reference Include="Fusillade">
58-
<HintPath>..\packages\fusillade.0.7.0\lib\Portable-net45+win+wpa81+wp80\Fusillade.dll</HintPath>
59-
</Reference>
60-
<Reference Include="Newtonsoft.Json">
61-
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\portable-net45+win8+wpa81+wp8\Newtonsoft.Json.dll</HintPath>
62-
</Reference>
63-
<Reference Include="Punchclock">
64-
<HintPath>..\packages\Punchclock.1.1.1\lib\Portable-net45+win+wpa81+wp80\Punchclock.dll</HintPath>
65-
</Reference>
66-
<Reference Include="Refit">
67-
<HintPath>..\packages\refit.2.4.1\lib\Portable-Net45+NetCore45+WP8+WPA81\Refit.dll</HintPath>
68-
</Reference>
69-
<Reference Include="System.Reactive.Core">
70-
<HintPath>..\packages\Rx-Core.2.2.5\lib\portable-windows8+net45+wp8\System.Reactive.Core.dll</HintPath>
71-
</Reference>
72-
<Reference Include="System.Reactive.Interfaces">
73-
<HintPath>..\packages\Rx-Interfaces.2.2.5\lib\portable-windows8+net45+wp8\System.Reactive.Interfaces.dll</HintPath>
74-
</Reference>
75-
<Reference Include="System.Reactive.Linq">
76-
<HintPath>..\packages\Rx-Linq.2.2.5\lib\portable-windows8+net45+wp8\System.Reactive.Linq.dll</HintPath>
77-
</Reference>
78-
<Reference Include="System.Reactive.PlatformServices">
79-
<HintPath>..\packages\Rx-PlatformServices.2.2.5\lib\portable-windows8+net45+wp8\System.Reactive.PlatformServices.dll</HintPath>
80-
</Reference>
81-
<Reference Include="Splat">
82-
<HintPath>..\packages\Splat.1.6.2\lib\Portable-net45+win+wpa81+wp80\Splat.dll</HintPath>
83-
</Reference>
84-
<Reference Include="SQLitePCLRaw.batteries_e_sqlite3">
85-
<HintPath>..\packages\SQLitePCLRaw.bundle_e_sqlite3.1.1.0\lib\portable-net45+netcore45+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCLRaw.batteries_e_sqlite3.dll</HintPath>
86-
</Reference>
87-
<Reference Include="SQLitePCLRaw.batteries_v2">
88-
<HintPath>..\packages\SQLitePCLRaw.bundle_e_sqlite3.1.1.0\lib\portable-net45+netcore45+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCLRaw.batteries_v2.dll</HintPath>
89-
</Reference>
90-
<Reference Include="SQLitePCLRaw.core">
91-
<HintPath>..\packages\SQLitePCLRaw.core.1.1.0\lib\portable-net45+netcore45+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCLRaw.core.dll</HintPath>
92-
</Reference>
93-
<Reference Include="Plugin.Connectivity.Abstractions">
94-
<HintPath>..\packages\Xam.Plugin.Connectivity.2.3.0\lib\portable-net45+wp80+win8+wpa81\Plugin.Connectivity.Abstractions.dll</HintPath>
95-
</Reference>
96-
<Reference Include="Plugin.Connectivity">
97-
<HintPath>..\packages\Xam.Plugin.Connectivity.2.3.0\lib\portable-net45+wp80+win8+wpa81\Plugin.Connectivity.dll</HintPath>
98-
</Reference>
99-
</ItemGroup>
1005
<ItemGroup>
101-
<None Include="app.config" />
102-
<None Include="Cinephile.Core.licenseheader" />
6+
<PackageReference Include="akavache" Version="*" />
7+
<PackageReference Include="Refit" Version="*" />
8+
<PackageReference Include="Fusillade" Version="*" />
9+
<PackageReference Include="System.Reactive" Version="4.*" />
10+
<PackageReference Include="System.Reactive.Compatibility" Version="4.*" />
10311
</ItemGroup>
104-
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
105-
<Import Project="..\packages\refit.2.4.1\build\portable-net45+netcore45+wp8+wpa81+monoandroid+xamarin.ios10\refit.targets" Condition="Exists('..\packages\refit.2.4.1\build\portable-net45+netcore45+wp8+wpa81+monoandroid+xamarin.ios10\refit.targets')" />
106-
</Project>
12+
</Project>

samples/xamarin-forms/Cinephile/Cinephile.Core/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 30 deletions
This file was deleted.

samples/xamarin-forms/Cinephile/Cinephile.Core/packages.config

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 5 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,12 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<Project Sdk="Microsoft.NET.Sdk">
32
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProjectGuid>{65DFE289-C949-48A5-AD74-6B93E3ECCCE6}</ProjectGuid>
7-
<OutputType>Library</OutputType>
8-
<RootNamespace>Cinephile.UnitTests</RootNamespace>
9-
<AssemblyName>Cinephile.UnitTests</AssemblyName>
10-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
3+
<TargetFramework>net461</TargetFramework>
114
</PropertyGroup>
12-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
13-
<DebugSymbols>true</DebugSymbols>
14-
<DebugType>full</DebugType>
15-
<Optimize>false</Optimize>
16-
<OutputPath>bin\Debug</OutputPath>
17-
<DefineConstants>DEBUG;</DefineConstants>
18-
<ErrorReport>prompt</ErrorReport>
19-
<WarningLevel>4</WarningLevel>
20-
</PropertyGroup>
21-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
22-
<Optimize>true</Optimize>
23-
<OutputPath>bin\Release</OutputPath>
24-
<ErrorReport>prompt</ErrorReport>
25-
<WarningLevel>4</WarningLevel>
26-
</PropertyGroup>
27-
<ItemGroup>
28-
<Reference Include="System" />
29-
<Reference Include="nunit.framework">
30-
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
31-
</Reference>
32-
<Reference Include="Castle.Core">
33-
<HintPath>..\packages\Castle.Core.4.0.0\lib\net45\Castle.Core.dll</HintPath>
34-
</Reference>
35-
<Reference Include="Moq">
36-
<HintPath>..\packages\Moq.4.7.8\lib\net45\Moq.dll</HintPath>
37-
</Reference>
38-
<Reference Include="System.Reactive.Interfaces">
39-
<HintPath>..\packages\Rx-Interfaces.2.2.5\lib\net45\System.Reactive.Interfaces.dll</HintPath>
40-
</Reference>
41-
<Reference Include="System.Reactive.Core">
42-
<HintPath>..\packages\Rx-Core.2.2.5\lib\net45\System.Reactive.Core.dll</HintPath>
43-
</Reference>
44-
<Reference Include="System.Reactive.Linq">
45-
<HintPath>..\packages\Rx-Linq.2.2.5\lib\net45\System.Reactive.Linq.dll</HintPath>
46-
</Reference>
47-
<Reference Include="System.Reactive.PlatformServices">
48-
<HintPath>..\packages\Rx-PlatformServices.2.2.5\lib\net45\System.Reactive.PlatformServices.dll</HintPath>
49-
</Reference>
50-
</ItemGroup>
51-
<ItemGroup>
52-
<Compile Include="Model\MovieServiceTest.cs" />
53-
</ItemGroup>
545
<ItemGroup>
55-
<None Include="app.config" />
56-
<None Include="Cinephile.UnitTests.licenseheader" />
57-
<None Include="packages.config" />
6+
<PackageReference Include="nunit" Version="3.11.0" />
7+
<PackageReference Include="Moq" Version="4.10.1" />
588
</ItemGroup>
59-
<ItemGroup />
609
<ItemGroup>
61-
<ProjectReference Include="..\Cinephile.Core\Cinephile.Core.csproj">
62-
<Project>{3D518760-8A47-4578-9C19-EBA09BCEC6F7}</Project>
63-
<Name>Cinephile.Core</Name>
64-
</ProjectReference>
10+
<ProjectReference Include="..\Cinephile.Core\Cinephile.Core.csproj" />
6511
</ItemGroup>
66-
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
6712
</Project>

samples/xamarin-forms/Cinephile/Cinephile.UnitTests/packages.config

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)