-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #579 from thirstyape/Fix-Exception-when-using-SetL…
…ocaleAsync-in-MAUI Create project to use locales in MAUI
- Loading branch information
Showing
10 changed files
with
451 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: .NET Core | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-2022 | ||
strategy: | ||
matrix: | ||
dotnet-version: [8] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup dotnet ${{ matrix.dotnet-version }}.0.x | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: ${{ matrix.dotnet-version }}.0.x | ||
- name: Install dependencies | ||
run: | | ||
dotnet workload install maui | ||
dotnet restore | ||
working-directory: ./src/Blazor-ApexCharts-MAUI | ||
- name: Build MAUI | ||
run: dotnet build --configuration Release --no-restore | ||
working-directory: ./src/Blazor-ApexCharts-MAUI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,56 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.31717.71 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Blazor-ApexCharts", "src\Blazor-ApexCharts\Blazor-ApexCharts.csproj", "{4AE79EC9-B419-430D-A70F-FE9AF8A1A4B3}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorApexCharts.Docs", "docs\BlazorApexCharts.Docs\BlazorApexCharts.Docs.csproj", "{49430D54-CF3A-4BC5-8DD0-537794757E9B}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{7975A7BE-CE73-49D9-8ED3-FF3585EA21EE}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorApexCharts.Docs.Server", "docs\BlazorApexCharts.Docs.Server\BlazorApexCharts.Docs.Server.csproj", "{BF31D068-076F-48BC-9E68-8C12826114CA}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorApexCharts.Docs.Wasm", "docs\BlazorApexCharts.Docs.Wasm\BlazorApexCharts.Docs.Wasm.csproj", "{0D192E1C-8DBE-42C0-B025-22249168C66D}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{4AE79EC9-B419-430D-A70F-FE9AF8A1A4B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{4AE79EC9-B419-430D-A70F-FE9AF8A1A4B3}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{4AE79EC9-B419-430D-A70F-FE9AF8A1A4B3}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{4AE79EC9-B419-430D-A70F-FE9AF8A1A4B3}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{49430D54-CF3A-4BC5-8DD0-537794757E9B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{49430D54-CF3A-4BC5-8DD0-537794757E9B}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{49430D54-CF3A-4BC5-8DD0-537794757E9B}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{49430D54-CF3A-4BC5-8DD0-537794757E9B}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{BF31D068-076F-48BC-9E68-8C12826114CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{BF31D068-076F-48BC-9E68-8C12826114CA}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{BF31D068-076F-48BC-9E68-8C12826114CA}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{BF31D068-076F-48BC-9E68-8C12826114CA}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{0D192E1C-8DBE-42C0-B025-22249168C66D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{0D192E1C-8DBE-42C0-B025-22249168C66D}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{0D192E1C-8DBE-42C0-B025-22249168C66D}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{0D192E1C-8DBE-42C0-B025-22249168C66D}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(NestedProjects) = preSolution | ||
{49430D54-CF3A-4BC5-8DD0-537794757E9B} = {7975A7BE-CE73-49D9-8ED3-FF3585EA21EE} | ||
{BF31D068-076F-48BC-9E68-8C12826114CA} = {7975A7BE-CE73-49D9-8ED3-FF3585EA21EE} | ||
{0D192E1C-8DBE-42C0-B025-22249168C66D} = {7975A7BE-CE73-49D9-8ED3-FF3585EA21EE} | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {1C7AB450-7E79-495C-BEA4-60D6DC9482FC} | ||
EndGlobalSection | ||
EndGlobal | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.31717.71 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Blazor-ApexCharts", "src\Blazor-ApexCharts\Blazor-ApexCharts.csproj", "{4AE79EC9-B419-430D-A70F-FE9AF8A1A4B3}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorApexCharts.Docs", "docs\BlazorApexCharts.Docs\BlazorApexCharts.Docs.csproj", "{49430D54-CF3A-4BC5-8DD0-537794757E9B}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{7975A7BE-CE73-49D9-8ED3-FF3585EA21EE}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorApexCharts.Docs.Server", "docs\BlazorApexCharts.Docs.Server\BlazorApexCharts.Docs.Server.csproj", "{BF31D068-076F-48BC-9E68-8C12826114CA}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorApexCharts.Docs.Wasm", "docs\BlazorApexCharts.Docs.Wasm\BlazorApexCharts.Docs.Wasm.csproj", "{0D192E1C-8DBE-42C0-B025-22249168C66D}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Blazor-ApexCharts-MAUI", "src\Blazor-ApexCharts-MAUI\Blazor-ApexCharts-MAUI.csproj", "{F770B22E-9E05-41DD-9AEC-1CCE3D883E68}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{4AE79EC9-B419-430D-A70F-FE9AF8A1A4B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{4AE79EC9-B419-430D-A70F-FE9AF8A1A4B3}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{4AE79EC9-B419-430D-A70F-FE9AF8A1A4B3}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{4AE79EC9-B419-430D-A70F-FE9AF8A1A4B3}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{49430D54-CF3A-4BC5-8DD0-537794757E9B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{49430D54-CF3A-4BC5-8DD0-537794757E9B}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{49430D54-CF3A-4BC5-8DD0-537794757E9B}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{49430D54-CF3A-4BC5-8DD0-537794757E9B}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{BF31D068-076F-48BC-9E68-8C12826114CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{BF31D068-076F-48BC-9E68-8C12826114CA}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{BF31D068-076F-48BC-9E68-8C12826114CA}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{BF31D068-076F-48BC-9E68-8C12826114CA}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{0D192E1C-8DBE-42C0-B025-22249168C66D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{0D192E1C-8DBE-42C0-B025-22249168C66D}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{0D192E1C-8DBE-42C0-B025-22249168C66D}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{0D192E1C-8DBE-42C0-B025-22249168C66D}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{F770B22E-9E05-41DD-9AEC-1CCE3D883E68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{F770B22E-9E05-41DD-9AEC-1CCE3D883E68}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{F770B22E-9E05-41DD-9AEC-1CCE3D883E68}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{F770B22E-9E05-41DD-9AEC-1CCE3D883E68}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(NestedProjects) = preSolution | ||
{49430D54-CF3A-4BC5-8DD0-537794757E9B} = {7975A7BE-CE73-49D9-8ED3-FF3585EA21EE} | ||
{BF31D068-076F-48BC-9E68-8C12826114CA} = {7975A7BE-CE73-49D9-8ED3-FF3585EA21EE} | ||
{0D192E1C-8DBE-42C0-B025-22249168C66D} = {7975A7BE-CE73-49D9-8ED3-FF3585EA21EE} | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {1C7AB450-7E79-495C-BEA4-60D6DC9482FC} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<Authors>Joakim Dangården</Authors> | ||
<Company /> | ||
<Copyright>Copyright 2022 (c) Joakim Dangården. All rights reserved.</Copyright> | ||
|
||
<TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks> | ||
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks> | ||
<RootNamespace>ApexCharts</RootNamespace> | ||
<UseMaui>true</UseMaui> | ||
<SingleProject>true</SingleProject> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
|
||
<Description>A blazor wrapper for ApexCharts.js</Description> | ||
<PackageId>Blazor-ApexCharts-MAUI</PackageId> | ||
<PackageTags>Blazor Charts ApexCharts Server WebAssembly MAUI</PackageTags> | ||
<RepositoryUrl>https://github.com/apexcharts/Blazor-ApexCharts</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageProjectUrl>https://apexcharts.github.io/Blazor-ApexCharts/</PackageProjectUrl> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<PackageIcon>apexchart_logo.png</PackageIcon> | ||
|
||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> | ||
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(TargetFramework)|$(Platform)'=='net8.0-windows10.0.19041.0|AnyCPU'"> | ||
<CsWinRTAotOptimizerEnabled>false</CsWinRTAotOptimizerEnabled> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)' == 'Release'"> | ||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> | ||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<CopyDebugSymbolFilesFromPackages>true</CopyDebugSymbolFilesFromPackages> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.61" /> | ||
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.61" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Blazor-ApexCharts\Blazor-ApexCharts.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\..\LICENSE"> | ||
<Pack>True</Pack> | ||
<PackagePath></PackagePath> | ||
</None> | ||
<None Include="..\..\README.md"> | ||
<Pack>True</Pack> | ||
<PackagePath></PackagePath> | ||
</None> | ||
<None Include="..\..\apexchart_logo.png"> | ||
<Pack>True</Pack> | ||
<PackagePath></PackagePath> | ||
</None> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<DocumentationFile>$(ProjectDir)Blazor-ApexCharts-MAUI.xml</DocumentationFile> | ||
</PropertyGroup> | ||
|
||
</Project> |
Oops, something went wrong.