Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Commit

Permalink
Update FaceDetection to 1.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBo committed Dec 1, 2016
1 parent ed2c466 commit 51e4437
Show file tree
Hide file tree
Showing 14 changed files with 500 additions and 7,206 deletions.
4 changes: 2 additions & 2 deletions FaceDetection/Core/FaceDetection.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="Urho">
<HintPath>..\packages\UrhoSharp.1.0.500\lib\portable-net45+win8+monoandroid+monotouch+Xamarin.iOS10\Urho.dll</HintPath>
<Reference Include="Urho, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\UrhoSharp.1.2.8\lib\portable-net45+win8+monoandroid+monotouch+Xamarin.iOS10\Urho.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion FaceDetection/Core/UrhoApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Urho;
using Urho.Gui;
using Urho.Actions;
using Urho.Repl;
using Urho.Urho2D;

namespace FaceDetection
Expand All @@ -19,6 +18,7 @@ public class UrhoApp : Application

public const int VideoCapturingFPS = 0; //200, 60, 24, 0 (no limit)

[Preserve]
public UrhoApp(ApplicationOptions options) : base(options) {}

public async void CaptureVideo(Func<Task<FrameWithFaces>> frameSource)
Expand Down
2 changes: 1 addition & 1 deletion FaceDetection/Core/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="UrhoSharp" version="1.0.500" targetFramework="portable45-net45+win8" />
<package id="UrhoSharp" version="1.2.8" targetFramework="portable45-net45+win8" />
</packages>
6 changes: 3 additions & 3 deletions FaceDetection/Desktop/FaceDetection.Desktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Xml" />
<Reference Include="Urho, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\UrhoSharp.1.0.500\lib\net45\Urho.dll</HintPath>
<HintPath>..\packages\UrhoSharp.1.2.8\lib\net45\Urho.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
Expand Down Expand Up @@ -74,11 +74,11 @@
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\UrhoSharp.1.0.500\build\net45\UrhoSharp.targets" Condition="Exists('..\packages\UrhoSharp.1.0.500\build\net45\UrhoSharp.targets')" />
<Import Project="..\packages\UrhoSharp.1.2.8\build\net45\UrhoSharp.targets" Condition="Exists('..\packages\UrhoSharp.1.2.8\build\net45\UrhoSharp.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\UrhoSharp.1.0.500\build\net45\UrhoSharp.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\UrhoSharp.1.0.500\build\net45\UrhoSharp.targets'))" />
<Error Condition="!Exists('..\packages\UrhoSharp.1.2.8\build\net45\UrhoSharp.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\UrhoSharp.1.2.8\build\net45\UrhoSharp.targets'))" />
</Target>
</Project>
2 changes: 1 addition & 1 deletion FaceDetection/Desktop/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="UrhoSharp" version="1.0.500" targetFramework="net45" />
<package id="UrhoSharp" version="1.2.8" targetFramework="net45" />
</packages>
22 changes: 15 additions & 7 deletions FaceDetection/Droid/FaceDetection.Droid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v6.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v7.0</TargetFrameworkVersion>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
Expand Down Expand Up @@ -50,7 +50,15 @@
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Xml" />
<Reference Include="Urho, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\UrhoSharp.1.0.500\lib\MonoAndroid\Urho.dll</HintPath>
<HintPath>..\packages\UrhoSharp.1.2.8\lib\MonoAndroid\Urho.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Urho.Droid.GoogleVR, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\UrhoSharp.1.2.8\lib\MonoAndroid\Urho.Droid.GoogleVR.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Urho.Droid.SdlBinding, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\UrhoSharp.1.2.8\lib\MonoAndroid\Urho.Droid.SdlBinding.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
Expand All @@ -73,21 +81,21 @@
<None Include="packages.config" />
<None Include="Properties\AndroidManifest.xml" />
</ItemGroup>
<ItemGroup>
<Content Include="UrhoSharpReadme.txt" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Core\FaceDetection.csproj">
<Project>{47bbbf31-9620-4c61-81ba-eaa693f72a78}</Project>
<Name>FaceDetection</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="UrhoSharpReadme.txt" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<Import Project="..\packages\UrhoSharp.1.0.500\build\MonoAndroid\UrhoSharp.targets" Condition="Exists('..\packages\UrhoSharp.1.0.500\build\MonoAndroid\UrhoSharp.targets')" />
<Import Project="..\packages\UrhoSharp.1.2.8\build\MonoAndroid\UrhoSharp.targets" Condition="Exists('..\packages\UrhoSharp.1.2.8\build\MonoAndroid\UrhoSharp.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\UrhoSharp.1.0.500\build\MonoAndroid\UrhoSharp.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\UrhoSharp.1.0.500\build\MonoAndroid\UrhoSharp.targets'))" />
<Error Condition="!Exists('..\packages\UrhoSharp.1.2.8\build\MonoAndroid\UrhoSharp.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\UrhoSharp.1.2.8\build\MonoAndroid\UrhoSharp.targets'))" />
</Target>
</Project>
15 changes: 9 additions & 6 deletions FaceDetection/Droid/FaceDetection.Droid.csproj.bak
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Xml" />
<Reference Include="Urho, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\UrhoSharp.1.0.500\lib\MonoAndroid\Urho.dll</HintPath>
<HintPath>..\packages\UrhoSharp.1.2.8\lib\MonoAndroid\Urho.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
Expand All @@ -65,26 +65,29 @@
<AndroidAsset Include="Assets\Data\Models\Sphere.mdl" />
<AndroidAsset Include="Assets\Data\Materials\BoxMaterial.xml" />
<AndroidAsset Include="Assets\Data\Textures\xamarin.png" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\Icon.png" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="Properties\AndroidManifest.xml" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FaceDetection\FaceDetection.csproj">
<Content Include="UrhoSharpReadme.txt" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Core\FaceDetection.csproj">
<Project>{47bbbf31-9620-4c61-81ba-eaa693f72a78}</Project>
<Name>FaceDetection</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<Import Project="..\..\packages\UrhoSharp.1.0.500\build\MonoAndroid\UrhoSharp.targets" Condition="Exists('..\..\packages\UrhoSharp.1.0.500\build\MonoAndroid\UrhoSharp.targets')" />
<Import Project="..\packages\UrhoSharp.1.2.8\build\MonoAndroid\UrhoSharp.targets" Condition="Exists('..\packages\UrhoSharp.1.2.8\build\MonoAndroid\UrhoSharp.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\UrhoSharp.1.0.500\build\MonoAndroid\UrhoSharp.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\UrhoSharp.1.0.500\build\MonoAndroid\UrhoSharp.targets'))" />
<Error Condition="!Exists('..\packages\UrhoSharp.1.2.8\build\MonoAndroid\UrhoSharp.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\UrhoSharp.1.2.8\build\MonoAndroid\UrhoSharp.targets'))" />
</Target>
</Project>
2 changes: 1 addition & 1 deletion FaceDetection/Droid/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="UrhoSharp" version="1.0.500" targetFramework="monoandroid6.0.99" />
<package id="UrhoSharp" version="1.2.8" targetFramework="monoandroid60" />
</packages>
2 changes: 1 addition & 1 deletion FaceDetection/UWP/FaceDetection.UWP.nuget.targets
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<NuGetPackageRoot>$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
</PropertyGroup>
<ImportGroup>
<Import Project="$(NuGetPackageRoot)\UrhoSharp\1.0.500\build\uap10.0\UrhoSharp.targets" Condition="Exists('$(NuGetPackageRoot)\UrhoSharp\1.0.500\build\uap10.0\UrhoSharp.targets')" />
<Import Project="$(NuGetPackageRoot)\UrhoSharp\1.2.8\build\uap10.0\UrhoSharp.targets" Condition="Exists('$(NuGetPackageRoot)\UrhoSharp\1.2.8\build\uap10.0\UrhoSharp.targets')" />
</ImportGroup>
</Project>
8 changes: 2 additions & 6 deletions FaceDetection/UWP/project.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
"dependencies": {
"Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0",
"UrhoSharp": "1.0.500"
"UrhoSharp": "1.2.8"
},
"frameworks": {
"uap10.0": {}
},
"runtimes": {
"win10-arm": {},
"win10-arm-aot": {},
"win10-x86": {},
"win10-x86-aot": {},
"win10-x64": {},
"win10-x64-aot": {}
"win10-x86-aot": {}
}
}
Loading

0 comments on commit 51e4437

Please sign in to comment.