mobile appcenter

This commit is contained in:
Aigio Liu
2021-03-25 11:29:42 +08:00
parent 41ba394f6b
commit 37500aeb8a
5 changed files with 23 additions and 1 deletions
+1
View File
@@ -127,6 +127,7 @@ Read what we [milestones](https://github.com/SteamTools-Team/SteamTools/mileston
* [Ant Design Blazor](https://github.com/ant-design-blazor/ant-design-blazor)
* [Visual Studio App Center SDK for .NET](https://github.com/microsoft/appcenter-sdk-dotnet)
* [Xamarin.Essentials](https://github.com/xamarin/essentials)
* [Xamarin.Forms](https://github.com/xamarin/Xamarin.Forms)
* [Entity Framework Core](https://github.com/dotnet/efcore)
* [ASP.NET Core](https://github.com/dotnet/aspnetcore)
* [Windows Forms](https://github.com/dotnet/winforms)
+1
View File
@@ -138,6 +138,7 @@
* [Ant Design Blazor](https://github.com/ant-design-blazor/ant-design-blazor)
* [Visual Studio App Center SDK for .NET](https://github.com/microsoft/appcenter-sdk-dotnet)
* [Xamarin.Essentials](https://github.com/xamarin/essentials)
* [Xamarin.Forms](https://github.com/xamarin/Xamarin.Forms)
* [Entity Framework Core](https://github.com/dotnet/efcore)
* [ASP.NET Core](https://github.com/dotnet/aspnetcore)
* [Windows Forms](https://github.com/dotnet/winforms)
@@ -7,7 +7,9 @@ namespace System.Application
{
public static class VisualStudioAppCenterSDK
{
#if !__MOBILE__
[SupportedOSPlatform("Windows")]
#endif
public static void Init(string appSecret)
{
AppCenter.Start(appSecret, typeof(Analytics), typeof(Crashes));
@@ -1,4 +1,4 @@
<Project Sdk="MSBuild.Sdk.Extras">
<Project Sdk="MSBuild.Sdk.Extras">
<PropertyGroup>
<TargetFramework>MonoAndroid10.0</TargetFramework>
@@ -11,6 +11,15 @@
<Compile Include="..\Common.CoreLib\Properties\AssemblyInfo.cs">
<Link>Properties\AssemblyInfo.cs</Link>
</Compile>
<Compile Include="..\ST.Client.Desktop.Windows\Application\VisualStudioAppCenterSDK.cs">
<Link>VisualStudioAppCenterSDK.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AppCenter" Version="4.2.0" />
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="4.2.0" />
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="4.2.0" />
</ItemGroup>
<ItemGroup>
@@ -10,6 +10,15 @@
<Compile Include="..\Common.CoreLib\Properties\AssemblyInfo.cs">
<Link>Properties\AssemblyInfo.cs</Link>
</Compile>
<Compile Include="..\ST.Client.Desktop.Windows\Application\VisualStudioAppCenterSDK.cs">
<Link>VisualStudioAppCenterSDK.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AppCenter" Version="4.2.0" />
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="4.2.0" />
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="4.2.0" />
</ItemGroup>
<ItemGroup>