mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-31 07:26:09 +00:00 
			
		
		
		
	Rollback reste EF Core + prépar publi UWP
This commit is contained in:
		
							parent
							
								
									b0e17f3cce
								
							
						
					
					
						commit
						28049fdd3e
					
				
					 8 changed files with 35 additions and 14 deletions
				
			
		|  | @ -26,6 +26,8 @@ | ||||||
|     <AppInstallerUpdateFrequency>1</AppInstallerUpdateFrequency> |     <AppInstallerUpdateFrequency>1</AppInstallerUpdateFrequency> | ||||||
|     <AppInstallerCheckForUpdateFrequency>OnApplicationRun</AppInstallerCheckForUpdateFrequency> |     <AppInstallerCheckForUpdateFrequency>OnApplicationRun</AppInstallerCheckForUpdateFrequency> | ||||||
|     <ReleaseVersion>1.32</ReleaseVersion> |     <ReleaseVersion>1.32</ReleaseVersion> | ||||||
|  |     <GenerateTestArtifacts>True</GenerateTestArtifacts> | ||||||
|  |     <HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks> | ||||||
|   </PropertyGroup> |   </PropertyGroup> | ||||||
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'"> |   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'"> | ||||||
|     <DebugSymbols>true</DebugSymbols> |     <DebugSymbols>true</DebugSymbols> | ||||||
|  | @ -83,6 +85,8 @@ | ||||||
|     <UseVSHostingProcess>false</UseVSHostingProcess> |     <UseVSHostingProcess>false</UseVSHostingProcess> | ||||||
|     <ErrorReport>prompt</ErrorReport> |     <ErrorReport>prompt</ErrorReport> | ||||||
|     <Prefer32Bit>true</Prefer32Bit> |     <Prefer32Bit>true</Prefer32Bit> | ||||||
|  |     <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain> | ||||||
|  |     <Optimize>true</Optimize> | ||||||
|   </PropertyGroup> |   </PropertyGroup> | ||||||
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> |   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> | ||||||
|     <OutputPath>bin\x86\Release\</OutputPath> |     <OutputPath>bin\x86\Release\</OutputPath> | ||||||
|  | @ -618,7 +622,7 @@ | ||||||
|   </ItemGroup> |   </ItemGroup> | ||||||
|   <ItemGroup> |   <ItemGroup> | ||||||
|     <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core"> |     <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core"> | ||||||
|       <Version>2.2.6</Version> |       <Version>2.0.3</Version> | ||||||
|     </PackageReference> |     </PackageReference> | ||||||
|     <PackageReference Include="Rg.Plugins.Popup"> |     <PackageReference Include="Rg.Plugins.Popup"> | ||||||
|       <Version>1.1.5.188</Version> |       <Version>1.1.5.188</Version> | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| <?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||||
| <Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp"> | <Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp"> | ||||||
|   <Identity Name="7385YanManiez.AidedeJeu" Publisher="CN=2C78A91E-528B-4FF0-A4BE-FD7F7EBABB44" Version="1.32.1.0" /> |   <Identity Name="7385YanManiez.AidedeJeu" Publisher="CN=2C78A91E-528B-4FF0-A4BE-FD7F7EBABB44" Version="1.37.0.0" /> | ||||||
|   <mp:PhoneIdentity PhoneProductId="7b75e00f-ae8d-472e-9d0f-cbfe5e44017c" PhonePublisherId="00000000-0000-0000-0000-000000000000" /> |   <mp:PhoneIdentity PhoneProductId="7b75e00f-ae8d-472e-9d0f-cbfe5e44017c" PhonePublisherId="00000000-0000-0000-0000-000000000000" /> | ||||||
|   <Properties> |   <Properties> | ||||||
|     <DisplayName>Haches & Dés</DisplayName> |     <DisplayName>Haches & Dés</DisplayName> | ||||||
|  |  | ||||||
|  | @ -423,10 +423,10 @@ | ||||||
|   </ItemGroup> |   </ItemGroup> | ||||||
|   <ItemGroup> |   <ItemGroup> | ||||||
|     <PackageReference Include="Microsoft.EntityFrameworkCore"> |     <PackageReference Include="Microsoft.EntityFrameworkCore"> | ||||||
|       <Version>2.2.6</Version> |       <Version>2.0.3</Version> | ||||||
|     </PackageReference> |     </PackageReference> | ||||||
|     <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core"> |     <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core"> | ||||||
|       <Version>2.2.6</Version> |       <Version>2.0.3</Version> | ||||||
|     </PackageReference> |     </PackageReference> | ||||||
|     <PackageReference Include="Rg.Plugins.Popup"> |     <PackageReference Include="Rg.Plugins.Popup"> | ||||||
|       <Version>1.1.5.188</Version> |       <Version>1.1.5.188</Version> | ||||||
|  |  | ||||||
|  | @ -89,7 +89,15 @@ namespace AideDeJeu.Views | ||||||
|         Charts charts = null; |         Charts charts = null; | ||||||
|         private async void ContentPage_Appearing(object sender, EventArgs e) |         private async void ContentPage_Appearing(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             charts = await HelloWorldUrhoSurface.Show<Charts>(new Urho.ApplicationOptions(assetsFolder: null)); |             try | ||||||
|  |             { | ||||||
|  |                 var ao = new Urho.ApplicationOptions(assetsFolder: null); | ||||||
|  |                 charts = await HelloWorldUrhoSurface.Show<Charts>(ao); | ||||||
|  |             } | ||||||
|  |             catch(Exception ex) | ||||||
|  |             { | ||||||
|  |                 Debug.WriteLine(ex); | ||||||
|  |             } | ||||||
|             try |             try | ||||||
|             { |             { | ||||||
|                 if (!Accelerometer.IsMonitoring) |                 if (!Accelerometer.IsMonitoring) | ||||||
|  | @ -105,12 +113,12 @@ namespace AideDeJeu.Views | ||||||
| 
 | 
 | ||||||
|         private void Accelerometer_ShakeDetected(object sender, EventArgs e) |         private void Accelerometer_ShakeDetected(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             charts.Bars.ForEach(b => b.SetValueWithAnimation((new Dice()).Roll("3d6", new RandomDieRoller()).Value)); |             charts?.Bars.ForEach(b => b.SetValueWithAnimation((new Dice()).Roll("3d6", new RandomDieRoller()).Value)); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         private void Button_Clicked(object sender, EventArgs e) |         private void Button_Clicked(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             charts.Bars.ForEach(b => b.SetValueWithAnimation((new Dice()).Roll("3d6", new RandomDieRoller()).Value)); |             charts?.Bars.ForEach(b => b.SetValueWithAnimation((new Dice()).Roll("3d6", new RandomDieRoller()).Value)); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         private void ContentPage_Disappearing(object sender, EventArgs e) |         private void ContentPage_Disappearing(object sender, EventArgs e) | ||||||
|  |  | ||||||
|  | @ -14,6 +14,7 @@ using Urho.Shapes; | ||||||
| 
 | 
 | ||||||
| namespace AideDeJeu.Views | namespace AideDeJeu.Views | ||||||
| { | { | ||||||
|  |     [Preserve(AllMembers = true)] | ||||||
|     public class Charts : Application |     public class Charts : Application | ||||||
|     { |     { | ||||||
|         bool movementsEnabled; |         bool movementsEnabled; | ||||||
|  | @ -30,7 +31,15 @@ namespace AideDeJeu.Views | ||||||
|         public IEnumerable<Bar> Bars => bars; |         public IEnumerable<Bar> Bars => bars; | ||||||
| 
 | 
 | ||||||
|         [Preserve] |         [Preserve] | ||||||
|         public Charts(ApplicationOptions options = null) : base(options) { } |         public Charts(ApplicationOptions options = null) : base(options) | ||||||
|  |         { | ||||||
|  |             var i = 0; | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         public Charts() : base(null) | ||||||
|  |         { | ||||||
|  | 
 | ||||||
|  |         } | ||||||
| 
 | 
 | ||||||
|         static Charts() |         static Charts() | ||||||
|         { |         { | ||||||
|  |  | ||||||
|  | @ -13,8 +13,8 @@ | ||||||
| 
 | 
 | ||||||
|   <ItemGroup> |   <ItemGroup> | ||||||
|     <PackageReference Include="HtmlAgilityPack" Version="1.11.12" /> |     <PackageReference Include="HtmlAgilityPack" Version="1.11.12" /> | ||||||
|     <PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.6" /> |     <PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.0.3" /> | ||||||
|     <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core" Version="2.2.6" /> |     <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core" Version="2.0.3" /> | ||||||
|     <PackageReference Include="sqlite-net-pcl" Version="1.6.258-beta" /> |     <PackageReference Include="sqlite-net-pcl" Version="1.6.258-beta" /> | ||||||
|     <PackageReference Include="System.Text.Encoding.CodePages" Version="4.5.1" /> |     <PackageReference Include="System.Text.Encoding.CodePages" Version="4.5.1" /> | ||||||
|     <PackageReference Include="UrhoSharp.Forms" Version="1.9.67" /> |     <PackageReference Include="UrhoSharp.Forms" Version="1.9.67" /> | ||||||
|  |  | ||||||
|  | @ -8,8 +8,8 @@ | ||||||
|   </PropertyGroup> |   </PropertyGroup> | ||||||
| 
 | 
 | ||||||
|   <ItemGroup> |   <ItemGroup> | ||||||
|     <PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.6" /> |     <PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.0.3" /> | ||||||
|     <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core" Version="2.2.6" /> |     <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core" Version="2.0.3" /> | ||||||
|     <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" /> |     <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" /> | ||||||
|     <PackageReference Include="sqlite-net-pcl" Version="1.6.258-beta" /> |     <PackageReference Include="sqlite-net-pcl" Version="1.6.258-beta" /> | ||||||
|     <PackageReference Include="UrhoSharp.Forms" Version="1.9.67" /> |     <PackageReference Include="UrhoSharp.Forms" Version="1.9.67" /> | ||||||
|  |  | ||||||
|  | @ -10,8 +10,8 @@ | ||||||
|   </ItemGroup> |   </ItemGroup> | ||||||
| 
 | 
 | ||||||
|   <ItemGroup> |   <ItemGroup> | ||||||
|     <PackageReference Include="Microsoft.AspNetCore.All" Version="2.2.6" /> |     <PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.3" /> | ||||||
|     <PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.6" /> |     <PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.0.3" /> | ||||||
|     <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core" Version="2.2.6" /> |     <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core" Version="2.2.6" /> | ||||||
|     <PackageReference Include="sqlite-net-pcl" Version="1.6.258-beta" /> |     <PackageReference Include="sqlite-net-pcl" Version="1.6.258-beta" /> | ||||||
|     <PackageReference Include="System.Text.Encoding.CodePages" Version="4.5.1" /> |     <PackageReference Include="System.Text.Encoding.CodePages" Version="4.5.1" /> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez