Skip to content

Commit

Permalink
Revise
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiizor committed Sep 14, 2022
1 parent ebc9b1d commit 4990814
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
12 changes: 4 additions & 8 deletions demo/BasicExample/BasicExample/BasicExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net6.0-windows10.0.22621.0</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net6.0-windows10.0.19041.0</TargetFrameworks>
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
<!-- <TargetFrameworks>$(TargetFrameworks);net6.0-tizen</TargetFrameworks> -->
<OutputType>Exe</OutputType>
Expand All @@ -29,8 +29,8 @@
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">24.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.22621.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.19041.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.19041.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
</PropertyGroup>

Expand All @@ -53,14 +53,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Taiizor.Essentials" Version="1.0.1.6" />
<PackageReference Include="Taiizor.Essentials.Maui" Version="1.0.1.6" />
<PackageReference Include="Taiizor.Essentials.Maui" Version="1.0.1.7" />
</ItemGroup>

<!--<ItemGroup>
<Reference Include="Taiizor.Essentials">
<HintPath>..\..\..\src\Taiizor.Essentials\bin\Release\$(TargetFramework)\Taiizor.Essentials.dll</HintPath>
</Reference>
<Reference Include="Taiizor.Essentials.Maui">
<HintPath>..\..\..\src\Taiizor.Essentials.Maui\bin\Release\$(TargetFramework)\Taiizor.Essentials.Maui.dll</HintPath>
</Reference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
</Properties>

<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.22621.0" />
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.22621.0" />
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.19041.0" MaxVersionTested="10.0.22621.0" />
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.19041.0" MaxVersionTested="10.0.22621.0" />
</Dependencies>

<Resources>
Expand Down
2 changes: 1 addition & 1 deletion demo/BasicExample/BasicExample/Shared/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@code{
protected override void OnInitialized()
{
_ = new Interop(JS, Javascript.File);
_ = new Interop(JS);

base.OnInitialized();
}
Expand Down
1 change: 0 additions & 1 deletion demo/BasicExample/BasicExample/_Imports.razor
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
@using Microsoft.JSInterop
@using BasicExample
@using BasicExample.Shared
@using Taiizor.Essentials.Extension
@using Taiizor.Essentials.Maui.Extension
@using Taiizor.Essentials.Maui.Interfaces

0 comments on commit 4990814

Please sign in to comment.