This commit is contained in:
Matthew Leibowitz 2021-09-28 02:08:21 +02:00 коммит произвёл GitHub
Родитель 37a8113cbc
Коммит 7533b54bb1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
14 изменённых файлов: 24 добавлений и 23 удалений

Просмотреть файл

@ -1,4 +1,5 @@
using Microsoft.Maui;
using Microsoft.Maui.Hosting;
using Microsoft.Maui.Controls.Hosting;
using SkiaSharp.Views.Maui.Controls.Hosting;

Просмотреть файл

@ -2,6 +2,7 @@
using Android.App;
using Android.Runtime;
using Microsoft.Maui;
using Microsoft.Maui.Hosting;
namespace SkiaSharpSample
{

Просмотреть файл

@ -1,5 +1,6 @@
using Foundation;
using Microsoft.Maui;
using Microsoft.Maui.Hosting;
namespace SkiaSharpSample
{

Просмотреть файл

@ -1,4 +1,5 @@
using Microsoft.Maui;
using Microsoft.Maui.Hosting;
using Microsoft.UI.Xaml;
namespace SkiaSharpSample.WinUI

Просмотреть файл

@ -1,5 +1,6 @@
using Foundation;
using Microsoft.Maui;
using Microsoft.Maui.Hosting;
namespace SkiaSharpSample
{

Просмотреть файл

@ -10,8 +10,8 @@
<RootNamespace>SkiaSharpSample</RootNamespace>
<ApplicationTitle>SkiaSharpSample</ApplicationTitle>
<ApplicationId>com.companyname.SkiaSharpSample</ApplicationId>
<ApplicationVersion>1.0</ApplicationVersion>
<AndroidVersionCode>1</AndroidVersionCode>
<ApplicationVersion>1</ApplicationVersion>
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<LangVersion>9.0</LangVersion>
<UseInterpreter Condition="'$(Configuration)' == 'Debug'">True</UseInterpreter>
</PropertyGroup>

Просмотреть файл

@ -16,8 +16,7 @@
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>..\..\..\AppStoreCertificates\SkiaSharpSample_TemporaryKey.pfx</PackageCertificateKeyFile>
<PackageCertificateThumbprint>5FC604ABEDFB78C8B4E57214FEB937949F44ABE4</PackageCertificateThumbprint>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<LangVersion>8.0</LangVersion>
</PropertyGroup>

Просмотреть файл

@ -16,8 +16,7 @@
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>..\..\..\AppStoreCertificates\SkiaSharpSample_TemporaryKey.pfx</PackageCertificateKeyFile>
<PackageCertificateThumbprint>5FC604ABEDFB78C8B4E57214FEB937949F44ABE4</PackageCertificateThumbprint>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<LangVersion>8.0</LangVersion>
</PropertyGroup>

Просмотреть файл

@ -16,8 +16,7 @@
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>..\..\..\AppStoreCertificates\SkiaSharpSample_TemporaryKey.pfx</PackageCertificateKeyFile>
<PackageCertificateThumbprint>5FC604ABEDFB78C8B4E57214FEB937949F44ABE4</PackageCertificateThumbprint>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<LangVersion>8.0</LangVersion>
</PropertyGroup>

Просмотреть файл

@ -16,8 +16,7 @@
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>..\..\..\AppStoreCertificates\SkiaSharpSample_TemporaryKey.pfx</PackageCertificateKeyFile>
<PackageCertificateThumbprint>5FC604ABEDFB78C8B4E57214FEB937949F44ABE4</PackageCertificateThumbprint>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<LangVersion>8.0</LangVersion>
</PropertyGroup>

Просмотреть файл

@ -16,8 +16,7 @@
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>..\..\..\AppStoreCertificates\SkiaSharpSample_TemporaryKey.pfx</PackageCertificateKeyFile>
<PackageCertificateThumbprint>5FC604ABEDFB78C8B4E57214FEB937949F44ABE4</PackageCertificateThumbprint>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<LangVersion>8.0</LangVersion>
</PropertyGroup>

Просмотреть файл

@ -16,8 +16,7 @@
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>..\..\..\AppStoreCertificates\SkiaSharpSample_TemporaryKey.pfx</PackageCertificateKeyFile>
<PackageCertificateThumbprint>5FC604ABEDFB78C8B4E57214FEB937949F44ABE4</PackageCertificateThumbprint>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<LangVersion>8.0</LangVersion>
</PropertyGroup>

Просмотреть файл

@ -26,8 +26,8 @@ variables:
XCODE_VERSION: 12.4
DOTNET_VERSION_PREVIOUS: 3.1.412
DOTNET_VERSION: 5.0.400
DOTNET_VERSION_PREVIEW: 6.0.100-rc.1.21426.23
DOTNET_WORKLOAD_SOURCE: 'https://aka.ms/dotnet/maui/rc1/index.json'
DOTNET_VERSION_PREVIEW: 6.0.100-rc.2.21465.13
DOTNET_WORKLOAD_SOURCE: 'https://aka.ms/dotnet/maui/6.0.101/preview.9.json'
VS_VERSION_PREVIEW: 16/pre
CONFIGURATION: 'Release'
VM_IMAGE_WINDOWS: windows-2019

Просмотреть файл

@ -12,12 +12,14 @@ Write-Host "Checking current workloads..."
& dotnet workload search
Write-Host "Installing workloads..."
& dotnet workload install android-aot --source "$SourceUrl"
& dotnet workload install ios --source "$SourceUrl"
& dotnet workload install tvos --source "$SourceUrl"
& dotnet workload install macos --source "$SourceUrl"
& dotnet workload install maccatalyst --source "$SourceUrl"
& dotnet workload install wasm-tools --source "$SourceUrl"
& dotnet workload install maui --source "$SourceUrl"
Invoke-WebRequest -Uri $SourceUrl -OutFile rollback.json
& dotnet workload update --from-rollback-file rollback.json --source https://aka.ms/dotnet6/nuget/index.json
& dotnet workload install android-aot --skip-manifest-update --source https://aka.ms/dotnet6/nuget/index.json
& dotnet workload install ios --skip-manifest-update --source https://aka.ms/dotnet6/nuget/index.json
& dotnet workload install tvos --skip-manifest-update --source https://aka.ms/dotnet6/nuget/index.json
& dotnet workload install macos --skip-manifest-update --source https://aka.ms/dotnet6/nuget/index.json
& dotnet workload install maccatalyst --skip-manifest-update --source https://aka.ms/dotnet6/nuget/index.json
& dotnet workload install wasm-tools --skip-manifest-update --source https://aka.ms/dotnet6/nuget/index.json
& dotnet workload install maui --skip-manifest-update --source https://aka.ms/dotnet6/nuget/index.json
exit $LASTEXITCODE